X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fchatscene.h;h=4d66f648411d42290b84d914f5c475d3d4c27577;hb=74b71a1dde2e2cab142a641db6e696595cf62493;hp=41fb51a97c2f6c43a8f177f8a406a3a902365713;hpb=db511df7b183771ae444f14d0aca42381ee0ae37;p=quassel.git diff --git a/src/qtui/chatscene.h b/src/qtui/chatscene.h index 41fb51a9..4d66f648 100644 --- a/src/qtui/chatscene.h +++ b/src/qtui/chatscene.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-08 by the Quassel Project * + * Copyright (C) 2005-09 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -72,6 +72,7 @@ public: virtual ~ChatScene(); inline QAbstractItemModel *model() const { return _model; } + inline MessageFilter *filter() const { return qobject_cast(_model); } inline QString idString() const { return _idString; } int rowByScenePos(qreal y) const;