summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/transferdialog.h
Unidiff
Diffstat (limited to 'noncore/apps/opie-console/transferdialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/transferdialog.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/transferdialog.h b/noncore/apps/opie-console/transferdialog.h
index a567161..de3a5cf 100644
--- a/noncore/apps/opie-console/transferdialog.h
+++ b/noncore/apps/opie-console/transferdialog.h
@@ -1,48 +1,51 @@
1#ifndef TRANSFER_DIALOG_H 1#ifndef TRANSFER_DIALOG_H
2#define TRANSFER_DIALOG_H 2#define TRANSFER_DIALOG_H
3 3
4#include "qdialog.h" 4#include "qdialog.h"
5 5
6class QLineEdit; 6class QLineEdit;
7class QComboBox; 7class QComboBox;
8class QProgressBar; 8class QProgressBar;
9class QLabel; 9class QLabel;
10class QPushButton; 10class QPushButton;
11class MainWindow; 11class MainWindow;
12class FileTransferLayer; 12class FileTransferLayer;
13class ReceiveLayer;
13 14
14class TransferDialog : public QDialog 15class TransferDialog : public QDialog
15{ 16{
16 Q_OBJECT 17 Q_OBJECT
17 public: 18 public:
18 TransferDialog(MainWindow *parent = 0l, const char *name = 0l); 19 TransferDialog(MainWindow *parent = 0l, const char *name = 0l);
19 ~TransferDialog(); 20 ~TransferDialog();
20 21
21 public slots: 22 public slots:
22 void slotFilename(); 23 void slotFilename();
23 void slotTransfer(); 24 void slotTransfer();
24 void slotCancel(); 25 void slotCancel();
25 void slotProgress(const QString&, int, int, int, int, int); 26 void slotProgress(const QString&, int, int, int, int, int);
26 void slotError(int error, const QString& message); 27 void slotError(int error, const QString& message);
27 void slotSent(); 28 void slotSent();
29 void slotReceived(const QString& file);
28 void slotMode(int id); 30 void slotMode(int id);
29 31
30 private: 32 private:
31 enum Modes 33 enum Modes
32 { 34 {
33 id_send, 35 id_send,
34 id_receive 36 id_receive
35 }; 37 };
36 38
37 QLineEdit *filename; 39 QLineEdit *filename;
38 QComboBox *protocol; 40 QComboBox *protocol;
39 QProgressBar *progressbar; 41 QProgressBar *progressbar;
40 QLabel *statusbar; 42 QLabel *statusbar;
41 QPushButton *ok, *cancel, *selector; 43 QPushButton *ok, *cancel, *selector;
42 MainWindow* m_win; 44 MainWindow* m_win;
43 FileTransferLayer* m_lay; 45 FileTransferLayer* m_lay;
46 ReceiveLayer *m_recvlay;
44 int m_transfermode; 47 int m_transfermode;
45}; 48};
46 49
47#endif 50#endif
48 51