X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fclient%2Fbuffermodel.h;h=2d6f4b478b08ce987472f95f29ff7d2ccd38da66;hb=08aac67d4dc813ed541a81d06fb83d9c4fec5834;hp=4eb22308d380d4fce7c8991e368708390a640588;hpb=2a04cb443a50e37165fc2d5447cc705a813efd3e;p=quassel.git diff --git a/src/client/buffermodel.h b/src/client/buffermodel.h index 4eb22308..2d6f4b47 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,11 @@ 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 &); private: SelectionModelSynchronizer _selectionModelSynchronizer; ModelPropertyMapper _propertyMapper; - BufferId currentBuffer; }; #endif // BUFFERMODEL_H