Diffstat (limited to 'noncore/unsupported/oipkg/pmipkg.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/pmipkg.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/noncore/unsupported/oipkg/pmipkg.h b/noncore/unsupported/oipkg/pmipkg.h index d53a74d..2c92348 100644 --- a/noncore/unsupported/oipkg/pmipkg.h +++ b/noncore/unsupported/oipkg/pmipkg.h | |||
@@ -1,16 +1,17 @@ | |||
1 | #ifndef PMIPKG_H | 1 | #ifndef PMIPKG_H |
2 | #define PMIPKG_H | 2 | #define PMIPKG_H |
3 | 3 | ||
4 | 4 | ||
5 | #include <opie/oprocess.h> | ||
5 | #include <qobject.h> | 6 | #include <qobject.h> |
6 | #include <qlist.h> | 7 | #include <qlist.h> |
7 | #include <qstring.h> | 8 | #include <qstring.h> |
8 | #include <qwidget.h> | 9 | #include <qwidget.h> |
9 | #include "pksettings.h" | 10 | #include "pksettings.h" |
10 | #include "runwindow.h" | 11 | #include "runwindow.h" |
11 | #include "packagelist.h" | 12 | #include "packagelist.h" |
12 | #include "installdialog.h" | 13 | #include "installdialog.h" |
13 | #include "debug.h" | 14 | #include "debug.h" |
14 | 15 | ||
15 | #define createLink 0 | 16 | #define createLink 0 |
16 | #define removeLink 1 | 17 | #define removeLink 1 |
@@ -31,35 +32,34 @@ public: | |||
31 | /** No descriptions */ | 32 | /** No descriptions */ |
32 | void clearLists(); | 33 | void clearLists(); |
33 | 34 | ||
34 | public slots: | 35 | public slots: |
35 | void doIt(); | 36 | void doIt(); |
36 | void install(); | 37 | void install(); |
37 | void remove(); | 38 | void remove(); |
38 | void installFile(const QString &fileName, const QString &dest=""); | 39 | void installFile(const QString &fileName, const QString &dest=""); |
39 | void removeFile(const QString &fileName, const QString &dest=""); | 40 | void removeFile(const QString &fileName, const QString &dest=""); |
40 | void createLinks( const QString &dest ); | 41 | void createLinks( const QString &dest ); |
41 | void removeLinks( const QString &dest ); | 42 | void removeLinks( const QString &dest ); |
42 | 43 | ||
44 | //private slots: | ||
45 | void getIpkgOutput(OProcess *proc, char *buffer, int buflen); | ||
46 | |||
43 | private: | 47 | private: |
48 | OProcess *ipkgProcess; | ||
44 | PackageManagerSettings* settings; | 49 | PackageManagerSettings* settings; |
45 | RunWindow *runwindow; | 50 | RunWindow *runwindow; |
46 | InstallDialog *installDialog; | 51 | InstallDialog *installDialog; |
47 | QList<Package> to_remove; | 52 | QList<Package> to_remove; |
48 | QList<Package> to_install; | 53 | QList<Package> to_install; |
49 | QString fileNameToInstall; | ||
50 | QCheckBox *_force_reinstall; | ||
51 | QCheckBox *_force_remove; | ||
52 | QCheckBox *_force_depends; | ||
53 | // void startDialog(); | ||
54 | void makeLinks(Package*); | 54 | void makeLinks(Package*); |
55 | void linkPackage( QString, QString ); | 55 | void linkPackage( QString, QString ); |
56 | void processLinkDir( QString , QString ); | 56 | void processLinkDir( QString , QString ); |
57 | bool runIpkg(const QString& args, const QString& dest="" ); | 57 | bool runIpkg(const QString& args, const QString& dest="" ); |
58 | void out( QString ); | 58 | void out( QString ); |
59 | QStringList* getList( QString, QString ); | 59 | QStringList* getList( QString, QString ); |
60 | void processFileList( QStringList*, QString ); | 60 | void processFileList( QStringList*, QString ); |
61 | 61 | ||
62 | 62 | ||
63 | }; | 63 | }; |
64 | 64 | ||
65 | #endif | 65 | #endif |