author | josef <josef> | 2002-10-12 18:16:45 (UTC) |
---|---|---|
committer | josef <josef> | 2002-10-12 18:16:45 (UTC) |
commit | 82b04543125d6d856df180c437c8d9f95f41e888 (patch) (unidiff) | |
tree | b09807b9736d07d02dfa8a9dc79d385771be8c1a /noncore/apps/opie-console/transferdialog.h | |
parent | 9c983d273b055d847cf2d1fa4f5b6e082ce850c9 (diff) | |
download | opie-82b04543125d6d856df180c437c8d9f95f41e888.zip opie-82b04543125d6d856df180c437c8d9f95f41e888.tar.gz opie-82b04543125d6d856df180c437c8d9f95f41e888.tar.bz2 |
- embed transferdialog into menu
Diffstat (limited to 'noncore/apps/opie-console/transferdialog.h') (more/less context) (show 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,14 +1,16 @@ | |||
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: |
@@ -18,12 +20,15 @@ class TransferDialog : public QWidget | |||
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 |