summaryrefslogtreecommitdiff
path: root/noncore/net/opieirc/irctab.h
Unidiff
Diffstat (limited to 'noncore/net/opieirc/irctab.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieirc/irctab.h5
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
@@ -35,15 +35,20 @@ class IRCTab : public QWidget {
35 Q_OBJECT 35 Q_OBJECT
36public: 36public:
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;
43signals:
44 void changed(IRCTab *);
41public slots: 45public slots:
42 virtual void remove() = 0; 46 virtual void remove() = 0;
43 virtual void settingsChanged() = 0; 47 virtual void settingsChanged() = 0;
44protected: 48protected:
45 QLabel *m_description; 49 QLabel *m_description;
46 QVBoxLayout *m_layout; 50 QVBoxLayout *m_layout;
51 int m_id;
47public: 52public:
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;