X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Ftabcompleter.h;h=a0e6074583875a093daad2d801735753ca5097b7;hb=61f33c7895e324f6e95034d86897ad2e963653f1;hp=4e11c9d10681c4cd7c85ea4bb70f183bd126848b;hpb=e50ae7a06fc4e5d3a911c361d30953410deab609;p=quassel.git diff --git a/src/uisupport/tabcompleter.h b/src/uisupport/tabcompleter.h index 4e11c9d1..a0e60745 100644 --- a/src/uisupport/tabcompleter.h +++ b/src/uisupport/tabcompleter.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2015 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