-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 | |||
@@ -36,7 +36,11 @@ class IRCTab : public QWidget { | |||
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; |
@@ -45,4 +49,5 @@ 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) */ |