X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fabstractbuffercontainer.h;h=84ab28072dca72b689e76fe1fc7a914e47c8227e;hp=747b88520336f3438959a169183781ae78459ef6;hb=52cfbc8ee8f4da6f28c6afef089f8179434e717d;hpb=f824db0e31b54969e0b7fa0b5405b1e9173d482c diff --git a/src/uisupport/abstractbuffercontainer.h b/src/uisupport/abstractbuffercontainer.h index 747b8852..84ab2807 100644 --- a/src/uisupport/abstractbuffercontainer.h +++ b/src/uisupport/abstractbuffercontainer.h @@ -39,6 +39,7 @@ public: signals: void currentChanged(BufferId); + void currentChanged(const QModelIndex &); protected: //! Create an AbstractChatView for the given BufferId and add it to the UI if necessary @@ -51,6 +52,8 @@ protected: */ virtual void removeChatView(BufferId) = 0; + virtual inline bool autoSetMarkerLine() const { return true; } + protected slots: virtual void currentChanged(const QModelIndex ¤t, const QModelIndex &previous); virtual void rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end);