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 7a2d0a2..6c29ea5 100644 --- a/noncore/net/opieirc/irctab.h +++ b/noncore/net/opieirc/irctab.h | |||
@@ -34,27 +34,37 @@ | |||
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 | /* The ID is required to store the position of this IRCTab inside the IRCTabWidget */ | 38 | /* The ID is required to store the position of this IRCTab inside the IRCTabWidget */ |
39 | void setID(int id); | 39 | void setID(int id); |
40 | int id(); | 40 | int id(); |
41 | virtual QString title() = 0; | 41 | virtual QString title() = 0; |
42 | virtual IRCSession *session() = 0; | 42 | virtual IRCSession *session() = 0; |
43 | virtual void appendText(QString text) = 0; | 43 | virtual void appendText(QString text) = 0; |
44 | signals: | 44 | signals: |
45 | void changed(IRCTab *); | 45 | void changed(IRCTab *); |
46 | void ping(const QString& ); | ||
47 | void nextTab(); | ||
48 | void prevTab(); | ||
49 | void closeTab(); | ||
50 | void editFocus(); | ||
51 | |||
46 | public slots: | 52 | public slots: |
47 | virtual void remove() = 0; | 53 | virtual void remove() = 0; |
48 | virtual void settingsChanged() = 0; | 54 | virtual void settingsChanged() = 0; |
55 | |||
56 | protected: | ||
57 | void showEvent( QShowEvent* ); | ||
58 | |||
49 | protected: | 59 | protected: |
50 | QLabel *m_description; | 60 | QLabel *m_description; |
51 | QVBoxLayout *m_layout; | 61 | QVBoxLayout *m_layout; |
52 | int m_id; | 62 | int m_id; |
53 | public: | 63 | public: |
54 | /* Configuration shared accross all instances - contains HTML style colors (#rrggbb) */ | 64 | /* Configuration shared accross all instances - contains HTML style colors (#rrggbb) */ |
55 | static QString m_errorColor; | 65 | static QString m_errorColor; |
56 | static QString m_serverColor; | 66 | static QString m_serverColor; |
57 | static QString m_textColor; | 67 | static QString m_textColor; |
58 | static QString m_backgroundColor; | 68 | static QString m_backgroundColor; |
59 | static QString m_selfColor; | 69 | static QString m_selfColor; |
60 | static QString m_otherColor; | 70 | static QString m_otherColor; |