X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Ftabcompleter.h;h=a0e6074583875a093daad2d801735753ca5097b7;hb=2c8434f74c68194d56f2084f637419123e61d18b;hp=3d3a1e93b1876cbbd9610a369303c06caaa97b11;hpb=9fc57dc2c000e80fb8bd746a090e2e8210e1278e;p=quassel.git diff --git a/src/uisupport/tabcompleter.h b/src/uisupport/tabcompleter.h index 3d3a1e93..a0e60745 100644 --- a/src/uisupport/tabcompleter.h +++ b/src/uisupport/tabcompleter.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2013 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 * @@ -18,8 +18,9 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef TABCOMPLETER_H_ -#define TABCOMPLETER_H_ +#pragma once + +#include "uisupport-export.h" #include #include @@ -31,7 +32,7 @@ class MultiLineEdit; class IrcUser; class Network; -class TabCompleter : public QObject +class UISUPPORT_EXPORT TabCompleter : public QObject { Q_OBJECT @@ -46,7 +47,7 @@ public: void reset(); void complete(); - virtual bool eventFilter(QObject *obj, QEvent *event); + bool eventFilter(QObject *obj, QEvent *event) override; public slots: void onTabCompletionKey(); @@ -76,6 +77,3 @@ private: void buildCompletionList(); }; - - -#endif