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, 7 insertions, 0 deletions
diff --git a/noncore/net/opieirc/mainwindow.h b/noncore/net/opieirc/mainwindow.h
index 0f60855..945fc71 100644
--- a/noncore/net/opieirc/mainwindow.h
+++ b/noncore/net/opieirc/mainwindow.h
@@ -33,19 +33,26 @@ class MainWindow : public QMainWindow {
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);
38 static QString appName() { return QString::fromLatin1("opieirc"); } 38 static QString appName() { return QString::fromLatin1("opieirc"); }
39 static QString appCaption();
39signals: 40signals:
40 void updateScroll(); 41 void updateScroll();
41protected slots: 42protected slots:
42 void newConnection(); 43 void newConnection();
43 void settings(); 44 void settings();
44 void selected(QWidget *); 45 void selected(QWidget *);
45 void changeEvent(IRCTab *); 46 void changeEvent(IRCTab *);
47
48 void slotNextTab();
49 void slotPrevTab();
50 void slotCloseTab();
51 void slotPing(const QString&);
52
46protected: 53protected:
47 void loadSettings(); 54 void loadSettings();
48protected: 55protected:
49 IRCTabWidget *m_tabWidget; 56 IRCTabWidget *m_tabWidget;
50 QList<IRCTab> m_tabs; 57 QList<IRCTab> m_tabs;
51}; 58};