From a3205d9bf5570af8441ed81cd6d9eeadf22319c9 Mon Sep 17 00:00:00 2001 From: tille Date: Tue, 23 Apr 2002 11:16:45 +0000 Subject: ... mostly rewritten. --- (limited to 'noncore/unsupported/oipkg/pmipkg.h') diff --git a/noncore/unsupported/oipkg/pmipkg.h b/noncore/unsupported/oipkg/pmipkg.h new file mode 100644 index 0000000..98efaa6 --- a/dev/null +++ b/noncore/unsupported/oipkg/pmipkg.h @@ -0,0 +1,42 @@ +#ifndef PMIPKG_H +#define PMIPKG_H + + +#include +#include +#include +#include "pksettings.h" +#include "runwindow.h" +#include "packagelist.h" +#include "debug.h" + + +#include + +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(); + + PackageList* getPackageList(); + +private: + PackageManagerSettings* settings; + QCopChannel *linkDest; + void processLinkDir( QString, QString ); + + +public: + void makeLinks(QString); + int runIpkg(const QString& args); + void commit( PackageList ); + +public slots: + void linkDestination( QString, QString ); +}; + +#endif -- cgit v0.9.0.2