X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Fbuffermodel.h;h=db8049d3881341009ef1081ad80584a6fe9a4727;hb=9a7ec1bc5c61aeb53bf124231d10852797b98970;hp=2d6f4b478b08ce987472f95f29ff7d2ccd38da66;hpb=8010224cf5bfe5685dc2cf535e8dc1ec19c4c364;p=quassel.git diff --git a/src/client/buffermodel.h b/src/client/buffermodel.h index 2d6f4b47..db8049d3 100644 --- a/src/client/buffermodel.h +++ b/src/client/buffermodel.h @@ -50,6 +50,7 @@ public: void mapProperty(int column, int role, QObject *target, const QByteArray &property); QModelIndex currentIndex(); + void setCurrentIndex(const QModelIndex &newCurrent); private: SelectionModelSynchronizer _selectionModelSynchronizer;