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 | |||
@@ -21,13 +21,13 @@ | |||
21 | #include <qsocket.h> | 21 | #include <qsocket.h> |
22 | #include <qdir.h> | 22 | #include <qdir.h> |
23 | #include <qfile.h> | 23 | #include <qfile.h> |
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 |
31 | 31 | ||
32 | public: | 32 | public: |
33 | TransferServer( Q_UINT16 port, QObject *parent = 0, const char* name = 0 ); | 33 | TransferServer( Q_UINT16 port, QObject *parent = 0, const char* name = 0 ); |
@@ -89,29 +89,29 @@ signals: | |||
89 | 89 | ||
90 | private slots: | 90 | private slots: |
91 | void connectionClosed(); | 91 | void connectionClosed(); |
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 | ||
103 | private: | 103 | private: |
104 | 104 | ||
105 | unsigned long bytes_written; | 105 | unsigned long bytes_written; |
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 |
115 | { | 115 | { |
116 | Q_OBJECT | 116 | Q_OBJECT |
117 | 117 | ||