author | skyhusker <skyhusker> | 2005-02-03 21:47:50 (UTC) |
---|---|---|
committer | skyhusker <skyhusker> | 2005-02-03 21:47:50 (UTC) |
commit | 8aaae9e3eca7853e9c693d2401f721d75209acf7 (patch) (unidiff) | |
tree | 6f700d154fac8510b322242496604d0ad7589377 /noncore/net/opieirc/dcctransfertab.h | |
parent | 875b3b63624308f4e50f82e17db27edeb9609d6c (diff) | |
download | opie-8aaae9e3eca7853e9c693d2401f721d75209acf7.zip opie-8aaae9e3eca7853e9c693d2401f721d75209acf7.tar.gz opie-8aaae9e3eca7853e9c693d2401f721d75209acf7.tar.bz2 |
Added DCC receive support
Diffstat (limited to 'noncore/net/opieirc/dcctransfertab.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opieirc/dcctransfertab.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/noncore/net/opieirc/dcctransfertab.h b/noncore/net/opieirc/dcctransfertab.h new file mode 100644 index 0000000..a21323d --- a/dev/null +++ b/noncore/net/opieirc/dcctransfertab.h | |||
@@ -0,0 +1,41 @@ | |||
1 | #ifndef DCCTRANSFERTAB_H | ||
2 | #define DCCTRANSFERTAB_H | ||
3 | |||
4 | #include "dcctransfer.h" | ||
5 | #include "irctab.h" | ||
6 | |||
7 | template <class T> class QList; | ||
8 | |||
9 | class DCCProgress; | ||
10 | class IRCSession; | ||
11 | class QString; | ||
12 | class QHBox; | ||
13 | class MainWindow; | ||
14 | |||
15 | class DCCTransferTab: public IRCTab { | ||
16 | Q_OBJECT | ||
17 | public: | ||
18 | |||
19 | DCCTransferTab(QWidget *parent = 0, const char *name = 0, WFlags f = 0); | ||
20 | ~DCCTransferTab(); | ||
21 | virtual QString DCCTransferTab::title(); | ||
22 | virtual IRCSession* DCCTransferTab::session(){return 0;}; | ||
23 | virtual void DCCTransferTab::appendText(QString){}; | ||
24 | virtual void DCCTransferTab::remove(); | ||
25 | virtual void DCCTransferTab::settingsChanged() {}; | ||
26 | void addTransfer(DCCTransfer::Type type, Q_UINT32 ip4Addr, | ||
27 | Q_UINT16 port, const QString &filename, | ||
28 | const QString &nickname, unsigned int size); | ||
29 | static bool confirm(QWidget *parent = 0, | ||
30 | const QString &nickname = QString::null, | ||
31 | const QString &filename = QString::null, | ||
32 | unsigned int size = 0); | ||
33 | private: | ||
34 | QHBox *m_hbox; | ||
35 | QList <DCCProgress> m_progressList; | ||
36 | MainWindow *m_parent; | ||
37 | |||
38 | }; | ||
39 | |||
40 | #endif | ||
41 | |||