Pressing enter in the topic line now sets the channel topic.
[quassel.git] / src / qtui / mainwin.h
index 0e915cf..57c8bb3 100644 (file)
@@ -53,7 +53,6 @@ class MainWin : public QMainWindow {
   protected:
     void closeEvent(QCloseEvent *event);
     virtual void changeEvent(QEvent *event);
-    virtual void keyPressEvent(QKeyEvent *event);
 
   protected slots:
     void connectedToCore();
@@ -74,6 +73,8 @@ class MainWin : public QMainWindow {
     void clientNetworkUpdated();
     void connectOrDisconnectFromNet();
 
+    void changeTopic(const QString &topic);
+
   signals:
     void connectToCore(const QVariantMap &connInfo);
     void disconnectFromCore();
@@ -99,14 +100,11 @@ class MainWin : public QMainWindow {
 
     void enableMenus();
 
-    void bindKey(int key);
-    void jumpKey(int key);
-
-    QHash<int, BufferId> _keyboardJump;
     QSystemTrayIcon *systray;
 
     CoreConnectDlg *coreConnectDlg;
     SettingsDlg *settingsDlg;
+    DebugConsole *debugConsole;
 
     BufferId currentBuffer;
     QString currentProfile;
@@ -118,7 +116,6 @@ class MainWin : public QMainWindow {
     QAction *actionEditNetworks;
     QList<QAction *> networkActions;
 
-    DebugConsole *debugConsole;
     friend class QtUi;
 };