Diffstat (limited to 'noncore/net/opieirc/ircquerytab.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opieirc/ircquerytab.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/noncore/net/opieirc/ircquerytab.h b/noncore/net/opieirc/ircquerytab.h index fac976d..ea777f4 100644 --- a/noncore/net/opieirc/ircquerytab.h +++ b/noncore/net/opieirc/ircquerytab.h | |||
@@ -22,3 +22,30 @@ | |||
22 | #define __IRCQUERYTAB_H | 22 | #define __IRCQUERYTAB_H |
23 | 23 | ||
24 | #include "ircsession.h" | ||
25 | #include "mainwindow.h" | ||
26 | |||
27 | class IRCServerTab; | ||
28 | class IRCQueryTab : public IRCTab { | ||
29 | Q_OBJECT | ||
30 | public: | ||
31 | /* IRCTab implementation */ | ||
32 | IRCQueryTab(IRCPerson *person, IRCServerTab *parentTab, MainWindow *mainWindow, QWidget *parent = 0, const char *name = 0, WFlags f = 0); | ||
33 | ~IRCQueryTab(); | ||
34 | QString title(); | ||
35 | IRCSession *session(); | ||
36 | IRCPerson *person(); | ||
37 | void appendText(QString text); | ||
38 | public slots: | ||
39 | void remove(); | ||
40 | void processCommand(); | ||
41 | void display(IRCOutput output); | ||
42 | protected: | ||
43 | bool m_close; | ||
44 | MainWindow *m_mainWindow; | ||
45 | IRCServerTab *m_parentTab; | ||
46 | IRCPerson *m_person; | ||
47 | QTextView *m_textview; | ||
48 | QLineEdit *m_field; | ||
49 | }; | ||
50 | |||
24 | #endif /* __IRCQUERYTAB_H */ | 51 | #endif /* __IRCQUERYTAB_H */ |