projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some more fixes
[quassel.git]
/
src
/
client
/
buffermodel.h
diff --git
a/src/client/buffermodel.h
b/src/client/buffermodel.h
index
7bd3fc9
..
37f8916
100644
(file)
--- a/
src/client/buffermodel.h
+++ b/
src/client/buffermodel.h
@@
-45,8
+45,12
@@
public:
void synchronizeSelectionModel(MappedSelectionModel *selectionModel);
void synchronizeView(QAbstractItemView *view);
void synchronizeSelectionModel(MappedSelectionModel *selectionModel);
void synchronizeView(QAbstractItemView *view);
- QModelIndex currentIndex();
+ inline QModelIndex currentIndex() { return standardSelectionModel()->currentIndex(); }
+
+public slots:
void setCurrentIndex(const QModelIndex &newCurrent);
void setCurrentIndex(const QModelIndex &newCurrent);
+ void switchToBuffer(const BufferId &bufferId);
+ void switchToBufferIndex(const QModelIndex &bufferIdx);
private slots:
void debug_currentChanged(QModelIndex current, QModelIndex previous);
private slots:
void debug_currentChanged(QModelIndex current, QModelIndex previous);