author | sandman <sandman> | 2002-12-17 19:16:18 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-12-17 19:16:18 (UTC) |
commit | f36c70938c8c2907a1b61637af3bd589262b4b5e (patch) (unidiff) | |
tree | 7ed7429477ad0b17ea131fddcc5cab9fff088b26 /core/launcher/transferserver.h | |
parent | b6a03145553d7f536b04fc3355718cfdd72c590d (diff) | |
download | opie-f36c70938c8c2907a1b61637af3bd589262b4b5e.zip opie-f36c70938c8c2907a1b61637af3bd589262b4b5e.tar.gz opie-f36c70938c8c2907a1b61637af3bd589262b4b5e.tar.bz2 |
replaced the private QProcess copy for the FTP server with the already
available libopie/OProcess
Diffstat (limited to 'core/launcher/transferserver.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/launcher/transferserver.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/core/launcher/transferserver.h b/core/launcher/transferserver.h index a3bb060..1c5ab4b 100644 --- a/core/launcher/transferserver.h +++ b/core/launcher/transferserver.h | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <qbuffer.h> | 24 | #include <qbuffer.h> |
25 | 25 | ||
26 | class QFileInfo; | 26 | class QFileInfo; |
27 | class QProcess; | 27 | class OProcess; |
28 | class TransferServer : public QServerSocket | 28 | class TransferServer : public QServerSocket |
29 | { | 29 | { |
30 | Q_OBJECT | 30 | Q_OBJECT |
@@ -92,11 +92,11 @@ private slots: | |||
92 | void connected(); | 92 | void connected(); |
93 | void bytesWritten( int bytes ); | 93 | void bytesWritten( int bytes ); |
94 | void readyRead(); | 94 | void readyRead(); |
95 | void writeTargzBlock(); | 95 | void writeTargzBlock(OProcess *, char *, int); |
96 | void targzDone(); | 96 | void targzDone(); |
97 | 97 | ||
98 | void gzipTarBlock(); | 98 | void gzipTarBlock(OProcess *, char *, int); |
99 | void tarExtractBlock(); | 99 | void tarExtractBlock(OProcess *, char *, int); |
100 | void gunzipDone(); | 100 | void gunzipDone(); |
101 | void extractTarDone(); | 101 | void extractTarDone(); |
102 | 102 | ||
@@ -106,9 +106,9 @@ private: | |||
106 | Mode mode; | 106 | Mode mode; |
107 | QFile file; | 107 | QFile file; |
108 | QBuffer buf; | 108 | QBuffer buf; |
109 | QProcess *createTargzProc; | 109 | OProcess *createTargzProc; |
110 | QProcess *retrieveTargzProc; | 110 | OProcess *retrieveTargzProc; |
111 | QProcess *gzipProc; | 111 | OProcess *gzipProc; |
112 | }; | 112 | }; |
113 | 113 | ||
114 | class ServerSocket : public QServerSocket | 114 | class ServerSocket : public QServerSocket |