-rw-r--r-- | noncore/settings/aqpkg/ipkg.h | 16 |
1 files changed, 14 insertions, 2 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> @@ -36,2 +37,4 @@ +class OProcess; + class Ipkg : public QObject @@ -54,2 +57,8 @@ signals: +public slots: + void commandStdout(OProcess*, char *buffer, int buflen); + void commandStderr(OProcess*, char *buffer, int buflen); + void processFinished(); + + private: @@ -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 ); + }; |