author | tille <tille> | 2002-04-26 00:50:30 (UTC) |
---|---|---|
committer | tille <tille> | 2002-04-26 00:50:30 (UTC) |
commit | a111f57eedcf27623e9bff2816c83d3287272aff (patch) (side-by-side diff) | |
tree | b43ac41ffbdc741f731cf3f91aab064ba94ab0f3 /noncore/unsupported/oipkg/pmipkg.h | |
parent | 5198d98daeaa1e8eb8568ccd3c516ab70fbed512 (diff) | |
download | opie-a111f57eedcf27623e9bff2816c83d3287272aff.zip opie-a111f57eedcf27623e9bff2816c83d3287272aff.tar.gz opie-a111f57eedcf27623e9bff2816c83d3287272aff.tar.bz2 |
added support for scipt ipkg (again;)
Diffstat (limited to 'noncore/unsupported/oipkg/pmipkg.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/pmipkg.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/noncore/unsupported/oipkg/pmipkg.h b/noncore/unsupported/oipkg/pmipkg.h index 8718f49..2692017 100644 --- a/noncore/unsupported/oipkg/pmipkg.h +++ b/noncore/unsupported/oipkg/pmipkg.h @@ -1,44 +1,51 @@ #ifndef PMIPKG_H #define PMIPKG_H #include <qobject.h> +#include <qlist.h> #include <qstring.h> #include <qwidget.h> #include "pksettings.h" #include "runwindow.h" #include "packagelist.h" #include "debug.h" - - +//#define NEWLIST +class Package; class PmIpkg : public QObject { Q_OBJECT public: PmIpkg( PackageManagerSettings* , QWidget* p=0, const char * name=0, WFlags f=0 ); ~PmIpkg(); void commit( PackageList ); void update(); PackageList* getPackageList(); void showButtons(bool b=true); void show( bool buttons=true ); private: PackageManagerSettings* settings; RunWindow *runwindow; +#ifndef NEWLIST QStringList to_remove; QStringList to_install; +#endif +#ifdef NEWLIST + QList<Package> to_remove; + QList<Package> to_install; +#endif bool runwindowopen; void makeLinks(QString); void processLinkDir( QString, QString ); int runIpkg(const QString& args); void out( QString ); public slots: void doIt(); void install(); void remove(); |