summaryrefslogtreecommitdiff
path: root/noncore/net/opieirc/mainwindow.h
authorwazlaf <wazlaf>2002-09-30 08:07:05 (UTC)
committer wazlaf <wazlaf>2002-09-30 08:07:05 (UTC)
commita999acbcd1b8bc1715f2ad2dda6acedf423b89ea (patch) (unidiff)
tree898d433efa8ff3b25a5d10ab4dc4a0a9bc415104 /noncore/net/opieirc/mainwindow.h
parent75dccdfe90324e9ff2426930ae185c3a6bdab734 (diff)
downloadopie-a999acbcd1b8bc1715f2ad2dda6acedf423b89ea.zip
opie-a999acbcd1b8bc1715f2ad2dda6acedf423b89ea.tar.gz
opie-a999acbcd1b8bc1715f2ad2dda6acedf423b89ea.tar.bz2
tabs now change their color when actions occur
Diffstat (limited to 'noncore/net/opieirc/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieirc/mainwindow.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/noncore/net/opieirc/mainwindow.h b/noncore/net/opieirc/mainwindow.h
index d057178..9946f10 100644
--- a/noncore/net/opieirc/mainwindow.h
+++ b/noncore/net/opieirc/mainwindow.h
@@ -21,28 +21,30 @@
21#ifndef __MAINWINDOW_H 21#ifndef __MAINWINDOW_H
22#define __MAINWINDOW_H 22#define __MAINWINDOW_H
23 23
24#include <qmainwindow.h> 24#include <qmainwindow.h>
25#include <qaction.h> 25#include <qaction.h>
26#include <qlist.h> 26#include <qlist.h>
27#include <qtabwidget.h>
28#include "mainwindow.h" 27#include "mainwindow.h"
28#include "ircmisc.h"
29#include "irctab.h" 29#include "irctab.h"
30 30
31class MainWindow : public QMainWindow { 31class MainWindow : public QMainWindow {
32 Q_OBJECT 32 Q_OBJECT
33public: 33public:
34 MainWindow(QWidget *parent = 0, const char *name = 0, WFlags f = 0); 34 MainWindow(QWidget *parent = 0, const char *name = 0, WFlags f = 0);
35 35
36 void addTab(IRCTab *tab); 36 void addTab(IRCTab *tab);
37 void killTab(IRCTab *tab); 37 void killTab(IRCTab *tab);
38protected slots: 38protected slots:
39 void newConnection(); 39 void newConnection();
40 void settings(); 40 void settings();
41 void selected(QWidget *);
42 void changeEvent(IRCTab *);
41protected: 43protected:
42 void loadSettings(); 44 void loadSettings();
43protected: 45protected:
44 QTabWidget *m_tabWidget; 46 IRCTabWidget *m_tabWidget;
45 QList<IRCTab> m_tabs; 47 QList<IRCTab> m_tabs;
46}; 48};
47 49
48#endif /* __MAINWINDOW_H */ 50#endif /* __MAINWINDOW_H */