summaryrefslogtreecommitdiff
path: root/noncore/net/opieirc/irctab.h
Side-by-side diff
Diffstat (limited to 'noncore/net/opieirc/irctab.h') (more/less context) (show 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
@@ -36,7 +36,11 @@ class IRCTab : public QWidget {
public:
IRCTab(QWidget *parent = 0, const char *name = 0, WFlags f = 0);
+ void setID(int id);
+ int id();
virtual QString title() = 0;
virtual IRCSession *session() = 0;
virtual void appendText(QString text) = 0;
+signals:
+ void changed(IRCTab *);
public slots:
virtual void remove() = 0;
@@ -45,4 +49,5 @@ protected:
QLabel *m_description;
QVBoxLayout *m_layout;
+ int m_id;
public:
/* Configuration shared accross all instances - contains HTML style colors (#rrggbb) */