-rw-r--r-- | noncore/net/opieirc/dcctransfertab.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/noncore/net/opieirc/dcctransfertab.h b/noncore/net/opieirc/dcctransfertab.h index a21323d..f172142 100644 --- a/noncore/net/opieirc/dcctransfertab.h +++ b/noncore/net/opieirc/dcctransfertab.h | |||
@@ -1,41 +1,41 @@ | |||
1 | #ifndef DCCTRANSFERTAB_H | 1 | #ifndef DCCTRANSFERTAB_H |
2 | #define DCCTRANSFERTAB_H | 2 | #define DCCTRANSFERTAB_H |
3 | 3 | ||
4 | #include "dcctransfer.h" | 4 | #include "dcctransfer.h" |
5 | #include "irctab.h" | 5 | #include "irctab.h" |
6 | 6 | ||
7 | template <class T> class QList; | 7 | template <class T> class QList; |
8 | 8 | ||
9 | class DCCProgress; | 9 | class DCCProgress; |
10 | class IRCSession; | 10 | class IRCSession; |
11 | class QString; | 11 | class QString; |
12 | class QHBox; | 12 | class QHBox; |
13 | class MainWindow; | 13 | class MainWindow; |
14 | 14 | ||
15 | class DCCTransferTab: public IRCTab { | 15 | class DCCTransferTab: public IRCTab { |
16 | Q_OBJECT | 16 | Q_OBJECT |
17 | public: | 17 | public: |
18 | 18 | ||
19 | DCCTransferTab(QWidget *parent = 0, const char *name = 0, WFlags f = 0); | 19 | DCCTransferTab(QWidget *parent = 0, const char *name = 0, WFlags f = 0); |
20 | ~DCCTransferTab(); | 20 | ~DCCTransferTab(); |
21 | virtual QString DCCTransferTab::title(); | 21 | virtual QString title(); |
22 | virtual IRCSession* DCCTransferTab::session(){return 0;}; | 22 | virtual IRCSession* session(){return 0;}; |
23 | virtual void DCCTransferTab::appendText(QString){}; | 23 | virtual void appendText(QString){}; |
24 | virtual void DCCTransferTab::remove(); | 24 | virtual void remove(); |
25 | virtual void DCCTransferTab::settingsChanged() {}; | 25 | virtual void settingsChanged() {}; |
26 | void addTransfer(DCCTransfer::Type type, Q_UINT32 ip4Addr, | 26 | void addTransfer(DCCTransfer::Type type, Q_UINT32 ip4Addr, |
27 | Q_UINT16 port, const QString &filename, | 27 | Q_UINT16 port, const QString &filename, |
28 | const QString &nickname, unsigned int size); | 28 | const QString &nickname, unsigned int size); |
29 | static bool confirm(QWidget *parent = 0, | 29 | static bool confirm(QWidget *parent = 0, |
30 | const QString &nickname = QString::null, | 30 | const QString &nickname = QString::null, |
31 | const QString &filename = QString::null, | 31 | const QString &filename = QString::null, |
32 | unsigned int size = 0); | 32 | unsigned int size = 0); |
33 | private: | 33 | private: |
34 | QHBox *m_hbox; | 34 | QHBox *m_hbox; |
35 | QList <DCCProgress> m_progressList; | 35 | QList <DCCProgress> m_progressList; |
36 | MainWindow *m_parent; | 36 | MainWindow *m_parent; |
37 | 37 | ||
38 | }; | 38 | }; |
39 | 39 | ||
40 | #endif | 40 | #endif |
41 | 41 | ||