Diffstat (limited to 'noncore/net/opieirc/irctab.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opieirc/irctab.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/noncore/net/opieirc/irctab.h b/noncore/net/opieirc/irctab.h index 0ce9777..248ea13 100644 --- a/noncore/net/opieirc/irctab.h +++ b/noncore/net/opieirc/irctab.h | |||
@@ -31,18 +31,28 @@ | |||
31 | /* This is the base class for any tabs which need to be integrated into | 31 | /* This is the base class for any tabs which need to be integrated into |
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 | virtual QString title() = 0; | 38 | virtual QString title() = 0; |
39 | virtual IRCSession *session() = 0; | 39 | virtual IRCSession *session() = 0; |
40 | virtual void appendText(QString text) = 0; | 40 | virtual void appendText(QString text) = 0; |
41 | public slots: | 41 | public slots: |
42 | virtual void remove() = 0; | 42 | virtual void remove() = 0; |
43 | virtual void settingsChanged() = 0; | ||
43 | protected: | 44 | protected: |
44 | QLabel *m_description; | 45 | QLabel *m_description; |
45 | QVBoxLayout *m_layout; | 46 | QVBoxLayout *m_layout; |
47 | public: | ||
48 | /* Configuration shared accross all instances - contains HTML style colors (#rrggbb) */ | ||
49 | static QString m_errorColor; | ||
50 | static QString m_serverColor; | ||
51 | static QString m_textColor; | ||
52 | static QString m_backgroundColor; | ||
53 | static QString m_selfColor; | ||
54 | static QString m_otherColor; | ||
55 | static QString m_notificationColor; | ||
46 | }; | 56 | }; |
47 | 57 | ||
48 | #endif /* __IRCTAB_H */ | 58 | #endif /* __IRCTAB_H */ |