projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Save/restore active bufferview
[quassel.git]
/
src
/
qtui
/
mainwin.h
diff --git
a/src/qtui/mainwin.h
b/src/qtui/mainwin.h
index
f9130bd
..
e882e0e
100644
(file)
--- a/
src/qtui/mainwin.h
+++ b/
src/qtui/mainwin.h
@@
-70,6
+70,7
@@
class MainWin
void addBufferView(ClientBufferViewConfig *config);
BufferView *allBuffersView() const;
void addBufferView(ClientBufferViewConfig *config);
BufferView *allBuffersView() const;
+ BufferView *activeBufferView() const;
inline BufferWidget *bufferWidget() const { return _bufferWidget; }
inline SystemTray *systemTray() const { return _systemTray; }
inline BufferWidget *bufferWidget() const { return _bufferWidget; }
inline SystemTray *systemTray() const { return _systemTray; }
@@
-84,6
+85,8
@@
class MainWin
public slots:
void showStatusBarMessage(const QString &message);
public slots:
void showStatusBarMessage(const QString &message);
+ void nextBufferView(); //!< Activate the next bufferview
+ void previousBufferView(); //!< Activate the previous bufferview
//! Quit application
void quit();
//! Quit application
void quit();
@@
-134,6
+137,9
@@
class MainWin
void on_actionDebugHotList_triggered();
void on_actionDebugLog_triggered();
void on_actionDebugHotList_triggered();
void on_actionDebugLog_triggered();
+ void bindJumpKey();
+ void onJumpKey();
+
void clientNetworkCreated(NetworkId);
void clientNetworkRemoved(NetworkId);
void clientNetworkUpdated();
void clientNetworkCreated(NetworkId);
void clientNetworkRemoved(NetworkId);
void clientNetworkUpdated();
@@
-146,6
+152,9
@@
class MainWin
void saveLayout();
void bufferViewToggled(bool enabled);
void saveLayout();
void bufferViewToggled(bool enabled);
+ void bufferViewVisibilityChanged(bool visible);
+ void changeActiveBufferView(bool backwards);
+ void changeActiveBufferView(int bufferViewId);
signals:
void connectToCore(const QVariantMap &connInfo);
signals:
void connectToCore(const QVariantMap &connInfo);
@@
-197,6
+206,8
@@
class MainWin
QPoint _normalPos; //!< Position of the non-maximized window
BufferHotListFilter *_bufferHotList;
QPoint _normalPos; //!< Position of the non-maximized window
BufferHotListFilter *_bufferHotList;
+ QHash<int, BufferId> _jumpKeyMap;
+ int _activeBufferViewIndex;
friend class QtUi;
};
friend class QtUi;
};