/***************************************************************************
- * Copyright (C) 2005-07 by the Quassel IRC Team *
+ * Copyright (C) 2005-08 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
virtual ~SelectionModelSynchronizer();
void addSelectionModel(MappedSelectionModel *model);
+ void addRegularSelectionModel(QItemSelectionModel *model);
void removeSelectionModel(MappedSelectionModel *model);
inline QAbstractItemModel *model() { return _model; }
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);