Diffstat (limited to 'noncore/net/opieirc/ircquerytab.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opieirc/ircquerytab.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/noncore/net/opieirc/ircquerytab.h b/noncore/net/opieirc/ircquerytab.h index 07fa57f..f9cc8e1 100644 --- a/noncore/net/opieirc/ircquerytab.h +++ b/noncore/net/opieirc/ircquerytab.h | |||
@@ -12,41 +12,43 @@ | |||
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 | GNU General Public License for more details. | 13 | GNU General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU General Public License | 15 | You should have received a copy of the GNU General Public License |
16 | along with this program; if not, write to the Free Software | 16 | along with this program; if not, write to the Free Software |
17 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 17 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
18 | 18 | ||
19 | */ | 19 | */ |
20 | 20 | ||
21 | #ifndef __IRCQUERYTAB_H | 21 | #ifndef __IRCQUERYTAB_H |
22 | #define __IRCQUERYTAB_H | 22 | #define __IRCQUERYTAB_H |
23 | 23 | ||
24 | #include "ircsession.h" | ||
25 | #include "mainwindow.h" | 24 | #include "mainwindow.h" |
25 | #include "ircsession.h" | ||
26 | #include "ircmisc.h" | ||
26 | 27 | ||
27 | class IRCServerTab; | 28 | class IRCServerTab; |
28 | class IRCQueryTab : public IRCTab { | 29 | class IRCQueryTab : public IRCTab { |
29 | Q_OBJECT | 30 | Q_OBJECT |
30 | public: | 31 | public: |
31 | /* IRCTab implementation */ | 32 | /* IRCTab implementation */ |
32 | IRCQueryTab(IRCPerson *person, IRCServerTab *parentTab, MainWindow *mainWindow, QWidget *parent = 0, const char *name = 0, WFlags f = 0); | 33 | IRCQueryTab(IRCPerson *person, IRCServerTab *parentTab, MainWindow *mainWindow, QWidget *parent = 0, const char *name = 0, WFlags f = 0); |
33 | ~IRCQueryTab(); | 34 | ~IRCQueryTab(); |
34 | QString title(); | 35 | QString title(); |
35 | IRCSession *session(); | 36 | IRCSession *session(); |
36 | IRCPerson *person(); | 37 | IRCPerson *person(); |
37 | void appendText(QString text); | 38 | void appendText(QString text); |
38 | public slots: | 39 | public slots: |
39 | void remove(); | 40 | void remove(); |
40 | void processCommand(); | 41 | void processCommand(); |
41 | void display(IRCOutput output); | 42 | void display(IRCOutput output); |
42 | void settingsChanged(); | 43 | void settingsChanged(); |
43 | protected: | 44 | protected: |
44 | bool m_close; | 45 | bool m_close; |
45 | MainWindow *m_mainWindow; | 46 | MainWindow *m_mainWindow; |
46 | IRCServerTab *m_parentTab; | 47 | IRCServerTab *m_parentTab; |
47 | IRCPerson *m_person; | 48 | IRCPerson *m_person; |
48 | QTextView *m_textview; | 49 | QTextView *m_textview; |
49 | QLineEdit *m_field; | 50 | IRCHistoryLineEdit *m_field; |
51 | int m_lines; | ||
50 | }; | 52 | }; |
51 | 53 | ||
52 | #endif /* __IRCQUERYTAB_H */ | 54 | #endif /* __IRCQUERYTAB_H */ |