You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kdpkg/kdpkg/kdpkg.h

61 lines
1.4 KiB

/*
* kdpg.h
*
* Copyright (c) 2007 Fabian Wuertz
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef KDPKG_H_
#define KDPKG_H_
#include <kdpkgdialog.h>
#include <kde_terminal_interface.h>
#include <kparts/part.h>
#include <process.h>
#include <qprocess.h>
class kdpkg : public KdpkgDialog
{
Q_OBJECT
public:
kdpkg(const QString &url = QString(), QWidget *parent = 0L, const char *name = 0L, const QStringList &foo = QStringList());
void checkArchitecture(QString);
QStringList getVersions(QString);
QStringList fields;
QStringList types;
QStringList dependencies;
QString path;
private:
Process* shell;
public slots:
virtual void showFields();
virtual void showDependencies(int);
virtual void about();
virtual void install();
};
#endif