Diffstat (limited to 'noncore/net/opieirc/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opieirc/mainwindow.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/noncore/net/opieirc/mainwindow.h b/noncore/net/opieirc/mainwindow.h index abf205d..873a685 100644 --- a/noncore/net/opieirc/mainwindow.h +++ b/noncore/net/opieirc/mainwindow.h | |||
@@ -23,12 +23,15 @@ | |||
23 | 23 | ||
24 | #include <qmainwindow.h> | 24 | #include <qmainwindow.h> |
25 | #include <qaction.h> | 25 | #include <qaction.h> |
26 | #include <qlist.h> | 26 | #include <qlist.h> |
27 | #include "mainwindow.h" | 27 | |
28 | #include "dcctransfer.h" | ||
28 | #include "ircmisc.h" | 29 | #include "ircmisc.h" |
29 | #include "irctab.h" | 30 | #include "irctab.h" |
30 | 31 | ||
32 | class DCCTransferTab; | ||
33 | |||
31 | class MainWindow : public QMainWindow { | 34 | class MainWindow : public QMainWindow { |
32 | Q_OBJECT | 35 | Q_OBJECT |
33 | public: | 36 | public: |
34 | MainWindow(QWidget *parent = 0, const char *name = 0, WFlags f = 0); | 37 | MainWindow(QWidget *parent = 0, const char *name = 0, WFlags f = 0); |
@@ -36,8 +39,10 @@ public: | |||
36 | void addTab(IRCTab *tab); | 39 | void addTab(IRCTab *tab); |
37 | void killTab(IRCTab *tab, bool now = false); | 40 | void killTab(IRCTab *tab, bool now = false); |
38 | static QString appName() { return QString::fromLatin1("opieirc"); } | 41 | static QString appName() { return QString::fromLatin1("opieirc"); } |
39 | static QString appCaption(); | 42 | static QString appCaption(); |
43 | void addDCC(DCCTransfer::Type type, Q_UINT32 ip4Addr, Q_UINT16 port, | ||
44 | const QString &filename, const QString &nickname, unsigned int size); | ||
40 | signals: | 45 | signals: |
41 | void updateScroll(); | 46 | void updateScroll(); |
42 | protected slots: | 47 | protected slots: |
43 | void newConnection(); | 48 | void newConnection(); |
@@ -55,7 +60,8 @@ protected: | |||
55 | protected: | 60 | protected: |
56 | IRCTabWidget *m_tabWidget; | 61 | IRCTabWidget *m_tabWidget; |
57 | QList<IRCTab> m_tabs; | 62 | QList<IRCTab> m_tabs; |
58 | QList<IRCTab> m_toDelete; | 63 | QList<IRCTab> m_toDelete; |
64 | DCCTransferTab *m_dccTab; | ||
59 | }; | 65 | }; |
60 | 66 | ||
61 | #endif /* __MAINWINDOW_H */ | 67 | #endif /* __MAINWINDOW_H */ |