X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Fbuffermodel.h;h=db8049d3881341009ef1081ad80584a6fe9a4727;hb=e8903b1f19c183a537d7b31b7fd709dde1a69ef5;hp=4eb22308d380d4fce7c8991e368708390a640588;hpb=2a04cb443a50e37165fc2d5447cc705a813efd3e;p=quassel.git diff --git a/src/client/buffermodel.h b/src/client/buffermodel.h index 4eb22308..db8049d3 100644 --- a/src/client/buffermodel.h +++ b/src/client/buffermodel.h @@ -23,16 +23,14 @@ #include #include -#include #include "types.h" - -class NetworkModel; #include "selectionmodelsynchronizer.h" #include "modelpropertymapper.h" + +class NetworkModel; class MappedSelectionModel; class QAbstractItemView; -class Buffer; class BufferModel : public QSortFilterProxyModel { Q_OBJECT @@ -51,17 +49,12 @@ public: void synchronizeView(QAbstractItemView *view); void mapProperty(int column, int role, QObject *target, const QByteArray &property); -public slots: QModelIndex currentIndex(); - void setCurrentIndex(const QModelIndex &index, QItemSelectionModel::SelectionFlags command); - -signals: - void selectionChanged(const QModelIndex &); + void setCurrentIndex(const QModelIndex &newCurrent); private: SelectionModelSynchronizer _selectionModelSynchronizer; ModelPropertyMapper _propertyMapper; - BufferId currentBuffer; }; #endif // BUFFERMODEL_H