Diffstat (limited to 'noncore/apps/opie-console/transferdialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/transferdialog.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/transferdialog.h b/noncore/apps/opie-console/transferdialog.h index d87be6a..23691e0 100644 --- a/noncore/apps/opie-console/transferdialog.h +++ b/noncore/apps/opie-console/transferdialog.h | |||
@@ -9,24 +9,25 @@ class QProgressBar; | |||
9 | class QLabel; | 9 | class QLabel; |
10 | class QPushButton; | 10 | class QPushButton; |
11 | class MainWindow; | 11 | class MainWindow; |
12 | class FileTransferLayer; | 12 | class FileTransferLayer; |
13 | class ReceiveLayer; | 13 | class ReceiveLayer; |
14 | 14 | ||
15 | class TransferDialog : public QDialog | 15 | class TransferDialog : public QDialog |
16 | { | 16 | { |
17 | Q_OBJECT | 17 | Q_OBJECT |
18 | public: | 18 | public: |
19 | TransferDialog(QWidget *parent = 0l, MainWindow *mainwindow = 0l, const char *name = 0l); | 19 | TransferDialog(QWidget *parent = 0l, MainWindow *mainwindow = 0l, const char *name = 0l); |
20 | ~TransferDialog(); | 20 | ~TransferDialog(); |
21 | bool isRunning(); | ||
21 | 22 | ||
22 | public slots: | 23 | public slots: |
23 | void slotFilename(); | 24 | void slotFilename(); |
24 | void slotTransfer(); | 25 | void slotTransfer(); |
25 | void slotCancel(); | 26 | void slotCancel(); |
26 | void slotProgress(const QString&, int, int, int, int, int); | 27 | void slotProgress(const QString&, int, int, int, int, int); |
27 | void slotError(int error, const QString& message); | 28 | void slotError(int error, const QString& message); |
28 | void slotSent(); | 29 | void slotSent(); |
29 | void slotReceived(const QString& file); | 30 | void slotReceived(const QString& file); |
30 | void slotMode(int id); | 31 | void slotMode(int id); |
31 | 32 | ||
32 | private: | 33 | private: |
@@ -39,16 +40,17 @@ class TransferDialog : public QDialog | |||
39 | void cleanup(); | 40 | void cleanup(); |
40 | 41 | ||
41 | QLineEdit *filename; | 42 | QLineEdit *filename; |
42 | QComboBox *protocol; | 43 | QComboBox *protocol; |
43 | QProgressBar *progressbar; | 44 | QProgressBar *progressbar; |
44 | QLabel *statusbar; | 45 | QLabel *statusbar; |
45 | QPushButton *ok, *cancel, *selector; | 46 | QPushButton *ok, *cancel, *selector; |
46 | MainWindow* m_win; | 47 | MainWindow* m_win; |
47 | FileTransferLayer* m_lay; | 48 | FileTransferLayer* m_lay; |
48 | ReceiveLayer *m_recvlay; | 49 | ReceiveLayer *m_recvlay; |
49 | int m_transfermode; | 50 | int m_transfermode; |
50 | int m_autocleanup; | 51 | int m_autocleanup; |
52 | bool m_running; | ||
51 | }; | 53 | }; |
52 | 54 | ||
53 | #endif | 55 | #endif |
54 | 56 | ||