author | zecke <zecke> | 2002-10-12 21:18:46 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-10-12 21:18:46 (UTC) |
commit | 9b33ff5f74c30a5a4905093715a6f345edee26ab (patch) (unidiff) | |
tree | eb0155744adb8c0901e27e001c7e09fc8c789369 /noncore/apps/opie-console/transferdialog.h | |
parent | 3eb9678dfab4d152858b7f72c7f0c057fe393541 (diff) | |
download | opie-9b33ff5f74c30a5a4905093715a6f345edee26ab.zip opie-9b33ff5f74c30a5a4905093715a6f345edee26ab.tar.gz opie-9b33ff5f74c30a5a4905093715a6f345edee26ab.tar.bz2 |
Calmed down... 2nd try after merge
Use MetaFactory cuase it's so nice and avoids thousands of if() else if
stuff
Fix a bug in filetransfer where cancel after exit leaded to a crash cause
of bogus adresses in the QSocketNotifiers..
Diffstat (limited to 'noncore/apps/opie-console/transferdialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/transferdialog.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/noncore/apps/opie-console/transferdialog.h b/noncore/apps/opie-console/transferdialog.h index 61f425c..b0c1a76 100644 --- a/noncore/apps/opie-console/transferdialog.h +++ b/noncore/apps/opie-console/transferdialog.h | |||
@@ -7,15 +7,16 @@ class QLineEdit; | |||
7 | class QComboBox; | 7 | class QComboBox; |
8 | class QProgressBar; | 8 | class QProgressBar; |
9 | class QLabel; | 9 | class QLabel; |
10 | class QPushButton; | 10 | class QPushButton; |
11 | class FileTransfer; | 11 | class MainWindow; |
12 | class FileTransferLayer; | ||
12 | 13 | ||
13 | class TransferDialog : public QDialog | 14 | class TransferDialog : public QDialog |
14 | { | 15 | { |
15 | Q_OBJECT | 16 | Q_OBJECT |
16 | public: | 17 | public: |
17 | TransferDialog(QWidget *parent = NULL, const char *name = NULL); | 18 | TransferDialog(MainWindow *parent = 0l, const char *name = 0l); |
18 | ~TransferDialog(); | 19 | ~TransferDialog(); |
19 | 20 | ||
20 | public slots: | 21 | public slots: |
21 | void slotFilename(); | 22 | void slotFilename(); |
@@ -30,9 +31,10 @@ class TransferDialog : public QDialog | |||
30 | QComboBox *protocol; | 31 | QComboBox *protocol; |
31 | QProgressBar *progressbar; | 32 | QProgressBar *progressbar; |
32 | QLabel *statusbar; | 33 | QLabel *statusbar; |
33 | QPushButton *ok, *cancel; | 34 | QPushButton *ok, *cancel; |
34 | FileTransfer *transfer; | 35 | MainWindow* m_win; |
36 | FileTransferLayer* m_lay; | ||
35 | }; | 37 | }; |
36 | 38 | ||
37 | #endif | 39 | #endif |
38 | 40 | ||