summaryrefslogtreecommitdiff
path: root/noncore/settings/aqpkg/ipkg.h
Side-by-side diff
Diffstat (limited to 'noncore/settings/aqpkg/ipkg.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/aqpkg/ipkg.h18
1 files changed, 15 insertions, 3 deletions
diff --git a/noncore/settings/aqpkg/ipkg.h b/noncore/settings/aqpkg/ipkg.h
index 7099ca7..25bae59 100644
--- a/noncore/settings/aqpkg/ipkg.h
+++ b/noncore/settings/aqpkg/ipkg.h
@@ -27,2 +27,3 @@
#include <qstring.h>
+#include <qstringlist.h>
#include <qlist.h>
@@ -35,3 +36,5 @@
#define VERBOSE_WGET 0x0020
-
+
+class OProcess;
+
class Ipkg : public QObject
@@ -53,2 +56,8 @@ signals:
void outputText( const QString &text );
+
+public slots:
+ void commandStdout(OProcess*, char *buffer, int buflen);
+ void commandStderr(OProcess*, char *buffer, int buflen);
+ void processFinished();
+
@@ -60,4 +69,6 @@ private:
QString destDir;
- int flags;
QString runtimeDir;
+ OProcess *proc;
+ int flags;
+ bool finished;
@@ -65,3 +76,3 @@ private:
- int executeIpkgCommand( QString &cmd, const QString option );
+ int executeIpkgCommand( QStringList &cmd, const QString option );
void removeStatusEntry();
@@ -71,2 +82,3 @@ private:
void processLinkDir( const QString &file, const QString &baseDir, const QString &destDir );
+
};