Diffstat (limited to 'noncore/unsupported/oipkg/pmipkg.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/pmipkg.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/unsupported/oipkg/pmipkg.h b/noncore/unsupported/oipkg/pmipkg.h index 2f4d6ae..cb0759a 100644 --- a/noncore/unsupported/oipkg/pmipkg.h +++ b/noncore/unsupported/oipkg/pmipkg.h | |||
@@ -14,25 +14,25 @@ | |||
14 | #include <qlist.h> | 14 | #include <qlist.h> |
15 | #include <qstring.h> | 15 | #include <qstring.h> |
16 | #include <qwidget.h> | 16 | #include <qwidget.h> |
17 | #include "pksettings.h" | 17 | #include "pksettings.h" |
18 | #include "runwindow.h" | 18 | #include "runwindow.h" |
19 | #include "packagelist.h" | 19 | #include "packagelist.h" |
20 | #include "installdialog.h" | 20 | #include "installdialog.h" |
21 | #include "debug.h" | 21 | #include "debug.h" |
22 | 22 | ||
23 | #define createLink 0 | 23 | #define createLink 0 |
24 | #define removeLink 1 | 24 | #define removeLink 1 |
25 | 25 | ||
26 | class Package; | 26 | class OipkgPackage; |
27 | class PmIpkg : public QObject | 27 | class PmIpkg : public QObject |
28 | { | 28 | { |
29 | Q_OBJECT | 29 | Q_OBJECT |
30 | public: | 30 | public: |
31 | PmIpkg( PackageManagerSettings* , QWidget* p=0, const char * name=0, WFlags f=0 ); | 31 | PmIpkg( PackageManagerSettings* , QWidget* p=0, const char * name=0, WFlags f=0 ); |
32 | ~PmIpkg(); | 32 | ~PmIpkg(); |
33 | 33 | ||
34 | int linkOpp; | 34 | int linkOpp; |
35 | void loadList( PackageList* ); | 35 | void loadList( PackageList* ); |
36 | void commit(); | 36 | void commit(); |
37 | void update(); | 37 | void update(); |
38 | void show(); | 38 | void show(); |
@@ -44,26 +44,26 @@ public slots: | |||
44 | void remove(); | 44 | void remove(); |
45 | void installFile(const QString &fileName, const QString &dest=""); | 45 | void installFile(const QString &fileName, const QString &dest=""); |
46 | void removeFile(const QString &fileName, const QString &dest=""); | 46 | void removeFile(const QString &fileName, const QString &dest=""); |
47 | void createLinks( const QString &dest ); | 47 | void createLinks( const QString &dest ); |
48 | void removeLinks( const QString &dest ); | 48 | void removeLinks( const QString &dest ); |
49 | 49 | ||
50 | 50 | ||
51 | private: | 51 | private: |
52 | QString ipkg_cmd; | 52 | QString ipkg_cmd; |
53 | PackageManagerSettings* settings; | 53 | PackageManagerSettings* settings; |
54 | RunWindow *runwindow; | 54 | RunWindow *runwindow; |
55 | InstallDialog *installDialog; | 55 | InstallDialog *installDialog; |
56 | QList<Package> to_remove; | 56 | QList<OipkgPackage> to_remove; |
57 | QList<Package> to_install; | 57 | QList<OipkgPackage> to_install; |
58 | void makeLinks(Package*); | 58 | void makeLinks(OipkgPackage*); |
59 | void linkPackage( QString, QString ); | 59 | void linkPackage( QString, QString ); |
60 | void processLinkDir( QString , QString ); | 60 | void processLinkDir( QString , QString ); |
61 | bool runIpkg(const QString& args, const QString& dest="" ); | 61 | bool runIpkg(const QString& args, const QString& dest="" ); |
62 | void out( QString ); | 62 | void out( QString ); |
63 | QStringList* getList( QString, QString ); | 63 | QStringList* getList( QString, QString ); |
64 | void processFileList( QStringList*, QString ); | 64 | void processFileList( QStringList*, QString ); |
65 | 65 | ||
66 | 66 | ||
67 | }; | 67 | }; |
68 | 68 | ||
69 | #endif | 69 | #endif |