Diffstat (limited to 'noncore/unsupported/oipkg/pmipkg.h') (more/less context) (ignore 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 | |||
@@ -18,47 +18,46 @@ | |||
18 | class Package; | 18 | class Package; |
19 | class PmIpkg : public QObject | 19 | class PmIpkg : public QObject |
20 | { | 20 | { |
21 | Q_OBJECT | 21 | Q_OBJECT |
22 | public: | 22 | public: |
23 | PmIpkg( PackageManagerSettings* , QWidget* p=0, const char * name=0, WFlags f=0 ); | 23 | PmIpkg( PackageManagerSettings* , QWidget* p=0, const char * name=0, WFlags f=0 ); |
24 | ~PmIpkg(); | 24 | ~PmIpkg(); |
25 | 25 | ||
26 | int linkOpp; | 26 | int linkOpp; |
27 | void loadList( PackageList* ); | 27 | void loadList( PackageList* ); |
28 | void commit(); | 28 | void commit(); |
29 | void update(); | 29 | void update(); |
30 | void showButtons(bool b=true); | 30 | void show(); |
31 | void show( bool buttons=true ); | ||
32 | 31 | ||
33 | public slots: | 32 | public slots: |
34 | void doIt(); | 33 | void doIt(); |
35 | void install(); | 34 | void install(); |
36 | void remove(); | 35 | void remove(); |
37 | void installFile(const QString &fileName, const QString &dest=""); | 36 | void installFile(const QString &fileName, const QString &dest=""); |
38 | void removeFile(const QString &fileName, const QString &dest=""); | 37 | void removeFile(const QString &fileName, const QString &dest=""); |
39 | void createLinks( const QString &dest ); | 38 | void createLinks( const QString &dest ); |
40 | void removeLinks( const QString &dest ); | 39 | void removeLinks( const QString &dest ); |
41 | 40 | ||
42 | private: | 41 | private: |
43 | PackageManagerSettings* settings; | 42 | PackageManagerSettings* settings; |
44 | RunWindow *runwindow; | 43 | RunWindow *runwindow; |
45 | InstallDialog *installDialog; | 44 | InstallDialog *installDialog; |
46 | QList<Package> to_remove; | 45 | QList<Package> to_remove; |
47 | QList<Package> to_install; | 46 | QList<Package> to_install; |
48 | QString fileNameToInstall; | 47 | QString fileNameToInstall; |
49 | QCheckBox *_force_reinstall; | 48 | QCheckBox *_force_reinstall; |
50 | QCheckBox *_force_remove; | 49 | QCheckBox *_force_remove; |
51 | QCheckBox *_force_depends; | 50 | QCheckBox *_force_depends; |
52 | void startDialog(); | 51 | void startDialog(); |
53 | void makeLinks(Package*); | 52 | void makeLinks(Package*); |
54 | void linkPackage( QString, QString ); | 53 | void linkPackage( QString, QString ); |
55 | void processLinkDir( QString , QString ); | 54 | void processLinkDir( QString , QString ); |
56 | int runIpkg(const QString& args, const QString& dest="" ); | 55 | bool runIpkg(const QString& args, const QString& dest="" ); |
57 | void out( QString ); | 56 | void out( QString ); |
58 | QStringList* getList( QString, QString ); | 57 | QStringList* getList( QString, QString ); |
59 | void processFileList( QStringList*, QString ); | 58 | void processFileList( QStringList*, QString ); |
60 | 59 | ||
61 | 60 | ||
62 | }; | 61 | }; |
63 | 62 | ||
64 | #endif | 63 | #endif |