Diffstat (limited to 'noncore/unsupported/oipkg/pmipkg.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/pmipkg.h | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/noncore/unsupported/oipkg/pmipkg.h b/noncore/unsupported/oipkg/pmipkg.h index 98efaa6..e6486ff 100644 --- a/noncore/unsupported/oipkg/pmipkg.h +++ b/noncore/unsupported/oipkg/pmipkg.h @@ -7,36 +7,40 @@ #include <qwidget.h> #include "pksettings.h" #include "runwindow.h" #include "packagelist.h" #include "debug.h" +//#define DIA #include <qpe/qcopenvelope_qws.h> -class PmIpkg : public RunWindow -//class PmIpkg : public QObject + +//class PmIpkg : public RunWindow +class PmIpkg : public QObject { Q_OBJECT public: PmIpkg( PackageManagerSettings* , QWidget* p=0, const char * name=0, WFlags f=0 ); // PmIpkg( QObject*, PackageManagerSettings* ); ~PmIpkg(); + void commit( PackageList ); + void update(); PackageList* getPackageList(); private: PackageManagerSettings* settings; + RunWindow *runwindow; QCopChannel *linkDest; - void processLinkDir( QString, QString ); - -public: void makeLinks(QString); + void processLinkDir( QString, QString ); + int runIpkg(const QString& args); - void commit( PackageList ); + void out( QString ); public slots: - void linkDestination( QString, QString ); + void linkDestination( const QString, const QByteArray ); }; #endif |