author | josef <josef> | 2002-10-13 12:11:15 (UTC) |
---|---|---|
committer | josef <josef> | 2002-10-13 12:11:15 (UTC) |
commit | 0e6d241e26211a8ffff07ba8e23f4a3cec9065be (patch) (side-by-side diff) | |
tree | 1cecafc71b4261943250cf7f83013e749c5c3a1e /noncore/apps/opie-console/transferdialog.h | |
parent | 5f9fb52583eb399c79a108b8e79c1a558a730422 (diff) | |
download | opie-0e6d241e26211a8ffff07ba8e23f4a3cec9065be.zip opie-0e6d241e26211a8ffff07ba8e23f4a3cec9065be.tar.gz opie-0e6d241e26211a8ffff07ba8e23f4a3cec9065be.tar.bz2 |
- extend file transfer dialog so it can receive too (without filename argument)
- fix error messages so they match the error code
- don't show dialog maximized. It's still modal but we're coming near...
- reset status to "ready" after interrupting or finishing operation
- bugfix in filetransfer.cpp: don't kill process if pid is not set
=> before the fix, cancel() killed random processes!
Diffstat (limited to 'noncore/apps/opie-console/transferdialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/transferdialog.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/noncore/apps/opie-console/transferdialog.h b/noncore/apps/opie-console/transferdialog.h index b0c1a76..a567161 100644 --- a/noncore/apps/opie-console/transferdialog.h +++ b/noncore/apps/opie-console/transferdialog.h @@ -25,15 +25,23 @@ class TransferDialog : public QDialog void slotProgress(const QString&, int, int, int, int, int); void slotError(int error, const QString& message); void slotSent(); + void slotMode(int id); private: + enum Modes + { + id_send, + id_receive + }; + QLineEdit *filename; QComboBox *protocol; QProgressBar *progressbar; QLabel *statusbar; - QPushButton *ok, *cancel; - MainWindow* m_win; - FileTransferLayer* m_lay; + QPushButton *ok, *cancel, *selector; + MainWindow* m_win; + FileTransferLayer* m_lay; + int m_transfermode; }; #endif |