-rw-r--r-- | noncore/net/opieirc/irctab.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/net/opieirc/irctab.h b/noncore/net/opieirc/irctab.h index e3a1857..7a2d0a2 100644 --- a/noncore/net/opieirc/irctab.h +++ b/noncore/net/opieirc/irctab.h | |||
@@ -32,12 +32,13 @@ | |||
32 | the main GUI tab widget */ | 32 | the main GUI tab widget */ |
33 | 33 | ||
34 | class IRCTab : public QWidget { | 34 | class IRCTab : public QWidget { |
35 | Q_OBJECT | 35 | Q_OBJECT |
36 | public: | 36 | public: |
37 | IRCTab(QWidget *parent = 0, const char *name = 0, WFlags f = 0); | 37 | IRCTab(QWidget *parent = 0, const char *name = 0, WFlags f = 0); |
38 | /* The ID is required to store the position of this IRCTab inside the IRCTabWidget */ | ||
38 | void setID(int id); | 39 | void setID(int id); |
39 | int id(); | 40 | int id(); |
40 | virtual QString title() = 0; | 41 | virtual QString title() = 0; |
41 | virtual IRCSession *session() = 0; | 42 | virtual IRCSession *session() = 0; |
42 | virtual void appendText(QString text) = 0; | 43 | virtual void appendText(QString text) = 0; |
43 | signals: | 44 | signals: |
@@ -55,9 +56,11 @@ public: | |||
55 | static QString m_serverColor; | 56 | static QString m_serverColor; |
56 | static QString m_textColor; | 57 | static QString m_textColor; |
57 | static QString m_backgroundColor; | 58 | static QString m_backgroundColor; |
58 | static QString m_selfColor; | 59 | static QString m_selfColor; |
59 | static QString m_otherColor; | 60 | static QString m_otherColor; |
60 | static QString m_notificationColor; | 61 | static QString m_notificationColor; |
62 | /* Max number of lines to be displayed */ | ||
63 | static int m_maxLines; | ||
61 | }; | 64 | }; |
62 | 65 | ||
63 | #endif /* __IRCTAB_H */ | 66 | #endif /* __IRCTAB_H */ |