X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fsettingspages%2Fpreviewbufferview.h;h=0d9873f7c1b3e32ebf97ba0f47f5c5951992a668;hb=54ebc1bf00f4f9a8376629925329f0e72be04662;hp=1c50d6350c5686df14414af9066f83c9c38f58f5;hpb=f824db0e31b54969e0b7fa0b5405b1e9173d482c;p=quassel.git diff --git a/src/qtui/settingspages/previewbufferview.h b/src/qtui/settingspages/previewbufferview.h index 1c50d635..0d9873f7 100644 --- a/src/qtui/settingspages/previewbufferview.h +++ b/src/qtui/settingspages/previewbufferview.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-09 by the Quassel Project * + * Copyright (C) 2005-2018 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 PREVIEWBUFFERVIEW_H @@ -23,15 +23,17 @@ #include "bufferview.h" -class PreviewBufferView : public BufferView { - Q_OBJECT +class PreviewBufferView : public BufferView +{ + Q_OBJECT public: - PreviewBufferView(QWidget *parent = 0) : BufferView(parent) {} + PreviewBufferView(QWidget *parent = 0) : BufferView(parent) {} protected: - virtual void keyPressEvent(QKeyEvent *event) { QTreeView::keyPressEvent(event); } - virtual void contextMenuEvent(QContextMenuEvent *) {} + virtual void keyPressEvent(QKeyEvent *event) { QTreeView::keyPressEvent(event); } + virtual void contextMenuEvent(QContextMenuEvent *) {} }; + #endif //PREVIEWBUFFERVIEW_H