summaryrefslogtreecommitdiff
path: root/noncore/net/opieirc/mainwindow.h
Unidiff
Diffstat (limited to 'noncore/net/opieirc/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieirc/mainwindow.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/noncore/net/opieirc/mainwindow.h b/noncore/net/opieirc/mainwindow.h
index 945fc71..abf205d 100644
--- a/noncore/net/opieirc/mainwindow.h
+++ b/noncore/net/opieirc/mainwindow.h
@@ -25,36 +25,37 @@
25#include <qaction.h> 25#include <qaction.h>
26#include <qlist.h> 26#include <qlist.h>
27#include "mainwindow.h" 27#include "mainwindow.h"
28#include "ircmisc.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// IRCTabWidget getTabWidget(); 35// IRCTabWidget getTabWidget();
36 void addTab(IRCTab *tab); 36 void addTab(IRCTab *tab);
37 void killTab(IRCTab *tab); 37 void killTab(IRCTab *tab, bool now = false);
38 static QString appName() { return QString::fromLatin1("opieirc"); } 38 static QString appName() { return QString::fromLatin1("opieirc"); }
39 static QString appCaption(); 39 static QString appCaption();
40signals: 40signals:
41 void updateScroll(); 41 void updateScroll();
42protected slots: 42protected slots:
43 void newConnection(); 43 void newConnection();
44 void settings(); 44 void settings();
45 void selected(QWidget *); 45 void selected(QWidget *);
46 void changeEvent(IRCTab *); 46 void changeEvent(IRCTab *);
47 47
48 void slotNextTab(); 48 void slotNextTab();
49 void slotPrevTab(); 49 void slotPrevTab();
50 void slotCloseTab();
51 void slotPing(const QString&); 50 void slotPing(const QString&);
51 void slotKillTabsLater();
52 52
53protected: 53protected:
54 void loadSettings(); 54 void loadSettings();
55protected: 55protected:
56 IRCTabWidget *m_tabWidget; 56 IRCTabWidget *m_tabWidget;
57 QList<IRCTab> m_tabs; 57 QList<IRCTab> m_tabs;
58 QList<IRCTab> m_toDelete;
58}; 59};
59 60
60#endif /* __MAINWINDOW_H */ 61#endif /* __MAINWINDOW_H */