Diffstat (limited to 'noncore/apps/opie-console/transferdialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/transferdialog.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/transferdialog.h b/noncore/apps/opie-console/transferdialog.h index 4fe17dd..62ae14d 100644 --- a/noncore/apps/opie-console/transferdialog.h +++ b/noncore/apps/opie-console/transferdialog.h | |||
@@ -1,30 +1,35 @@ | |||
1 | #ifndef TRANSFER_DIALOG_H | 1 | #ifndef TRANSFER_DIALOG_H |
2 | #define TRANSFER_DIALOG_H | 2 | #define TRANSFER_DIALOG_H |
3 | 3 | ||
4 | #include "qwidget.h" | 4 | #include "qdialog.h" |
5 | 5 | ||
6 | class QLineEdit; | 6 | class QLineEdit; |
7 | class QComboBox; | 7 | class QComboBox; |
8 | class QProgressBar; | 8 | class QProgressBar; |
9 | class QLabel; | 9 | class QLabel; |
10 | class QPushButton; | ||
11 | class FileTransfer; | ||
10 | 12 | ||
11 | class TransferDialog : public QWidget | 13 | class TransferDialog : public QDialog |
12 | { | 14 | { |
13 | Q_OBJECT | 15 | Q_OBJECT |
14 | public: | 16 | public: |
15 | TransferDialog(QWidget *parent = NULL, const char *name = NULL); | 17 | TransferDialog(QWidget *parent = NULL, const char *name = NULL); |
16 | ~TransferDialog(); | 18 | ~TransferDialog(); |
17 | 19 | ||
18 | public slots: | 20 | public slots: |
19 | void slotFilename(); | 21 | void slotFilename(); |
20 | void slotTransfer(); | 22 | void slotTransfer(); |
23 | void slotCancel(); | ||
21 | 24 | ||
22 | private: | 25 | private: |
23 | QLineEdit *filename; | 26 | QLineEdit *filename; |
24 | QComboBox *protocol; | 27 | QComboBox *protocol; |
25 | QProgressBar *progressbar; | 28 | QProgressBar *progressbar; |
26 | QLabel *statusbar; | 29 | QLabel *statusbar; |
30 | QPushButton *ok, *cancel; | ||
31 | FileTransfer *transfer; | ||
27 | }; | 32 | }; |
28 | 33 | ||
29 | #endif | 34 | #endif |
30 | 35 | ||