Diffstat (limited to 'noncore/net/opieirc/irctab.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opieirc/irctab.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/noncore/net/opieirc/irctab.h b/noncore/net/opieirc/irctab.h index 248ea13..e3a1857 100644 --- a/noncore/net/opieirc/irctab.h +++ b/noncore/net/opieirc/irctab.h | |||
@@ -34,17 +34,22 @@ | |||
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 | void setID(int id); | ||
39 | int id(); | ||
38 | virtual QString title() = 0; | 40 | virtual QString title() = 0; |
39 | virtual IRCSession *session() = 0; | 41 | virtual IRCSession *session() = 0; |
40 | virtual void appendText(QString text) = 0; | 42 | virtual void appendText(QString text) = 0; |
43 | signals: | ||
44 | void changed(IRCTab *); | ||
41 | public slots: | 45 | public slots: |
42 | virtual void remove() = 0; | 46 | virtual void remove() = 0; |
43 | virtual void settingsChanged() = 0; | 47 | virtual void settingsChanged() = 0; |
44 | protected: | 48 | protected: |
45 | QLabel *m_description; | 49 | QLabel *m_description; |
46 | QVBoxLayout *m_layout; | 50 | QVBoxLayout *m_layout; |
51 | int m_id; | ||
47 | public: | 52 | public: |
48 | /* Configuration shared accross all instances - contains HTML style colors (#rrggbb) */ | 53 | /* Configuration shared accross all instances - contains HTML style colors (#rrggbb) */ |
49 | static QString m_errorColor; | 54 | static QString m_errorColor; |
50 | static QString m_serverColor; | 55 | static QString m_serverColor; |