author | zecke <zecke> | 2002-10-11 15:03:33 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-10-11 15:03:33 (UTC) |
commit | 4dff3be36a89c2e864278ce85c477f923c4e3407 (patch) (unidiff) | |
tree | 2dc6967668d6ee1679ff8291678f5d60d81e411d /noncore/apps/opie-console/test/senderui.h | |
parent | 1cb2d6f75e3ac959fba041e46f3894d261f13735 (diff) | |
download | opie-4dff3be36a89c2e864278ce85c477f923c4e3407.zip opie-4dff3be36a89c2e864278ce85c477f923c4e3407.tar.gz opie-4dff3be36a89c2e864278ce85c477f923c4e3407.tar.bz2 |
Make use of the new file transfer...
Diffstat (limited to 'noncore/apps/opie-console/test/senderui.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/test/senderui.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/test/senderui.h b/noncore/apps/opie-console/test/senderui.h index f6230cc..5e613cd 100644 --- a/noncore/apps/opie-console/test/senderui.h +++ b/noncore/apps/opie-console/test/senderui.h | |||
@@ -6,7 +6,9 @@ | |||
6 | #include "sender.h" | 6 | #include "sender.h" |
7 | 7 | ||
8 | class IOSerial; | 8 | class IOSerial; |
9 | class SzTransfer; | 9 | class FileTransfer; |
10 | class QSocketNotifier; | ||
11 | class OProcess; | ||
10 | class SenderUI : public Sender { | 12 | class SenderUI : public Sender { |
11 | Q_OBJECT | 13 | Q_OBJECT |
12 | public: | 14 | public: |
@@ -14,13 +16,17 @@ public: | |||
14 | ~SenderUI(); | 16 | ~SenderUI(); |
15 | 17 | ||
16 | public slots: | 18 | public slots: |
19 | void send(); | ||
17 | void slotSendFile(); | 20 | void slotSendFile(); |
18 | void slotSend(); | 21 | void slotSend(); |
19 | void got(const QByteArray& ); | 22 | void got(const QByteArray& ); |
20 | void fileTransComplete(); | 23 | void fileTransComplete(); |
21 | private: | 24 | private: |
22 | IOSerial* ser; | 25 | IOSerial* ser; |
23 | SzTransfer* sz; | 26 | FileTransfer* sz; |
27 | int m_fd; | ||
28 | QSocketNotifier* m_sock; | ||
29 | OProcess* m_proc; | ||
24 | }; | 30 | }; |
25 | 31 | ||
26 | 32 | ||