X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fdebugmessagemodelfilter.h;h=ce7b27600f985102f6584d3adc7ba85b607e83f6;hp=07d64f254d6724caf2fd01b5c7a6d958f32df191;hb=52209badc8e769e50aa3019b63689dda0e79e9d0;hpb=332232bd33950eb2b63cbcd916e208515e13c35d diff --git a/src/qtui/debugmessagemodelfilter.h b/src/qtui/debugmessagemodelfilter.h index 07d64f25..ce7b2760 100644 --- a/src/qtui/debugmessagemodelfilter.h +++ b/src/qtui/debugmessagemodelfilter.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-08 by the Quassel Project * + * Copyright (C) 2005-2019 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ #ifndef DEBUGMESSAGEMODELFILTER_H @@ -23,13 +23,14 @@ #include -class DebugMessageModelFilter : public QSortFilterProxyModel { - Q_OBJECT +class DebugMessageModelFilter : public QSortFilterProxyModel +{ + Q_OBJECT public: - DebugMessageModelFilter(QObject *parent = 0); - QVariant headerData(int section, Qt::Orientation orientation, int role) const; - virtual QVariant data(const QModelIndex &index, int role) const; + DebugMessageModelFilter(QObject* parent = nullptr); + QVariant headerData(int section, Qt::Orientation orientation, int role) const override; + QVariant data(const QModelIndex& index, int role) const override; }; -#endif //DEBUGMESSAGEMODELFILTER_H +#endif // DEBUGMESSAGEMODELFILTER_H