Diffstat (limited to 'core/launcher/packageslave.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/launcher/packageslave.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/launcher/packageslave.h b/core/launcher/packageslave.h index 878b4c3..83dfe6f 100644 --- a/core/launcher/packageslave.h +++ b/core/launcher/packageslave.h | |||
@@ -17,49 +17,49 @@ | |||
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | 20 | ||
21 | #ifndef __packageslave_h__ | 21 | #ifndef __packageslave_h__ |
22 | #define __packageslave_h__ | 22 | #define __packageslave_h__ |
23 | 23 | ||
24 | #include <qtopia/global.h> | 24 | #include <qtopia/global.h> |
25 | #include <qobject.h> | 25 | #include <qobject.h> |
26 | 26 | ||
27 | class QCopChannel; | 27 | class QCopChannel; |
28 | class QProcess; | 28 | class QProcess; |
29 | 29 | ||
30 | class PackageHandler : public QObject | 30 | class PackageHandler : public QObject |
31 | { | 31 | { |
32 | Q_OBJECT | 32 | Q_OBJECT |
33 | 33 | ||
34 | public: | 34 | public: |
35 | PackageHandler( QObject *parent, char* name = 0 ); | 35 | PackageHandler( QObject *parent, char* name = 0 ); |
36 | 36 | ||
37 | public slots: | 37 | public slots: |
38 | void redoPackages(); | 38 | void redoPackages(); |
39 | 39 | ||
40 | protected: | 40 | protected: |
41 | void installPackage( const QString &package ); | 41 | void installPackage( const QString &package, const QString &dest = QString::null ); |
42 | void removePackage( const QString &package ); | 42 | void removePackage( const QString &package ); |
43 | 43 | ||
44 | void addPackageFiles( const QString &location, const QString &listfile ); | 44 | void addPackageFiles( const QString &location, const QString &listfile ); |
45 | void addPackages( const QString &location ); | 45 | void addPackages( const QString &location ); |
46 | 46 | ||
47 | void cleanupPackageFiles( const QString &listfile ); | 47 | void cleanupPackageFiles( const QString &listfile ); |
48 | void cleanupPackages( const QString &location ); | 48 | void cleanupPackages( const QString &location ); |
49 | 49 | ||
50 | void prepareInstall( const QString& size, const QString& path ); | 50 | void prepareInstall( const QString& size, const QString& path ); |
51 | 51 | ||
52 | protected slots: | 52 | protected slots: |
53 | void qcopMessage( const QCString &msg, const QByteArray &data ); | 53 | void qcopMessage( const QCString &msg, const QByteArray &data ); |
54 | void iProcessExited(); | 54 | void iProcessExited(); |
55 | void rmProcessExited(); | 55 | void rmProcessExited(); |
56 | void readyReadStdout(); | 56 | void readyReadStdout(); |
57 | void readyReadStderr(); | 57 | void readyReadStderr(); |
58 | 58 | ||
59 | private: | 59 | private: |
60 | void sendReply( const QCString& msg, const QString& arg ); | 60 | void sendReply( const QCString& msg, const QString& arg ); |
61 | 61 | ||
62 | private: | 62 | private: |
63 | QCopChannel *packageChannel; | 63 | QCopChannel *packageChannel; |
64 | QProcess *currentProcess; | 64 | QProcess *currentProcess; |
65 | QString currentPackage; | 65 | QString currentPackage; |