projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Made the Nicklist Pretty again
[quassel.git]
/
src
/
client
/
selectionmodelsynchronizer.h
diff --git
a/src/client/selectionmodelsynchronizer.h
b/src/client/selectionmodelsynchronizer.h
index
a655147
..
5cda9cc
100644
(file)
--- a/
src/client/selectionmodelsynchronizer.h
+++ b/
src/client/selectionmodelsynchronizer.h
@@
-35,6
+35,7
@@
public:
virtual ~SelectionModelSynchronizer();
void addSelectionModel(MappedSelectionModel *model);
virtual ~SelectionModelSynchronizer();
void addSelectionModel(MappedSelectionModel *model);
+ void addRegularSelectionModel(QItemSelectionModel *model);
void removeSelectionModel(MappedSelectionModel *model);
inline QAbstractItemModel *model() { return _model; }
void removeSelectionModel(MappedSelectionModel *model);
inline QAbstractItemModel *model() { return _model; }
@@
-43,6
+44,9
@@
private slots:
void _mappedCurrentChanged(const QModelIndex ¤t);
void _mappedSelectionChanged(const QItemSelection &selected);
void _mappedCurrentChanged(const QModelIndex ¤t);
void _mappedSelectionChanged(const QItemSelection &selected);
+ void _regularCurrentChanged(const QModelIndex &newCurrent, const QModelIndex &oldCurrent);
+ void _regularSelectionChanged(const QItemSelection &selected, const QItemSelection &deselected);
+
signals:
void select(const QItemSelection &selection, QItemSelectionModel::SelectionFlags command);
void setCurrentIndex(const QModelIndex &index, QItemSelectionModel::SelectionFlags command);
signals:
void select(const QItemSelection &selection, QItemSelectionModel::SelectionFlags command);
void setCurrentIndex(const QModelIndex &index, QItemSelectionModel::SelectionFlags command);