author | tille <tille> | 2002-05-04 17:12:04 (UTC) |
---|---|---|
committer | tille <tille> | 2002-05-04 17:12:04 (UTC) |
commit | d510e5a69762c8452b9d7b3d8122bc9fa85ed8b3 (patch) (side-by-side diff) | |
tree | 28b9871643caac8c975008677a2a058a62e8f201 /noncore/unsupported/oipkg/pmipkg.h | |
parent | 4fe6b62e42697c68cd54ac3954ffc536e6f2c0f7 (diff) | |
download | opie-d510e5a69762c8452b9d7b3d8122bc9fa85ed8b3.zip opie-d510e5a69762c8452b9d7b3d8122bc9fa85ed8b3.tar.gz opie-d510e5a69762c8452b9d7b3d8122bc9fa85ed8b3.tar.bz2 |
popen thanks to ljp
but still does not work from the launcher
but only from the command line
Diffstat (limited to 'noncore/unsupported/oipkg/pmipkg.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/pmipkg.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/noncore/unsupported/oipkg/pmipkg.h b/noncore/unsupported/oipkg/pmipkg.h index 7bc62f1..f8ac39a 100644 --- a/noncore/unsupported/oipkg/pmipkg.h +++ b/noncore/unsupported/oipkg/pmipkg.h @@ -6,59 +6,58 @@ #include <qlist.h> #include <qstring.h> #include <qwidget.h> #include "pksettings.h" #include "runwindow.h" #include "packagelist.h" #include "installdialog.h" #include "debug.h" #define createLink 0 #define removeLink 1 class Package; class PmIpkg : public QObject { Q_OBJECT public: PmIpkg( PackageManagerSettings* , QWidget* p=0, const char * name=0, WFlags f=0 ); ~PmIpkg(); int linkOpp; void loadList( PackageList* ); void commit(); void update(); - void showButtons(bool b=true); - void show( bool buttons=true ); + void show(); public slots: void doIt(); void install(); void remove(); void installFile(const QString &fileName, const QString &dest=""); void removeFile(const QString &fileName, const QString &dest=""); void createLinks( const QString &dest ); void removeLinks( const QString &dest ); private: PackageManagerSettings* settings; RunWindow *runwindow; InstallDialog *installDialog; QList<Package> to_remove; QList<Package> to_install; QString fileNameToInstall; QCheckBox *_force_reinstall; QCheckBox *_force_remove; QCheckBox *_force_depends; void startDialog(); void makeLinks(Package*); void linkPackage( QString, QString ); void processLinkDir( QString , QString ); - int runIpkg(const QString& args, const QString& dest="" ); + bool runIpkg(const QString& args, const QString& dest="" ); void out( QString ); QStringList* getList( QString, QString ); void processFileList( QStringList*, QString ); }; #endif |