projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ChatView now asks the scene if scrolling is ok on message appending
[quassel.git]
/
src
/
client
/
buffermodel.h
diff --git
a/src/client/buffermodel.h
b/src/client/buffermodel.h
index
3126f73
..
37f8916
100644
(file)
--- a/
src/client/buffermodel.h
+++ b/
src/client/buffermodel.h
@@
-45,12
+45,15
@@
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);
- void debug_selectionChanged(QItemSelection current , QItemSelection previous);
private:
SelectionModelSynchronizer _selectionModelSynchronizer;
private:
SelectionModelSynchronizer _selectionModelSynchronizer;