X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fsettingspages%2Fpreviewbufferview.h;h=5f004bba2162de3112f2ca3c70000e3a808d8615;hp=1c50d6350c5686df14414af9066f83c9c38f58f5;hb=0a43227b8cd44625f4881cc1545d42c8c8a4876c;hpb=f824db0e31b54969e0b7fa0b5405b1e9173d482c diff --git a/src/qtui/settingspages/previewbufferview.h b/src/qtui/settingspages/previewbufferview.h index 1c50d635..5f004bba 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-2016 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