X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Fclickable.h;h=a57513faf3706733ca132d9853772a3ae7157262;hb=2c8434f74c68194d56f2084f637419123e61d18b;hp=80e9af3608dd1592c8dc1055ce26cdf32a27ba5b;hpb=5b686746c880e5cda6d5de3e08180ea4332ff222;p=quassel.git diff --git a/src/uisupport/clickable.h b/src/uisupport/clickable.h index 80e9af36..a57513fa 100644 --- a/src/uisupport/clickable.h +++ b/src/uisupport/clickable.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2012 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,11 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef CLICKABLE_H_ -#define CLICKABLE_H_ +#pragma once + +#include "uisupport-export.h" + +#include #include @@ -27,7 +30,7 @@ class QModelIndex; -class Clickable +class UISUPPORT_EXPORT Clickable { public: // Don't change these enums without also changing dependent methods! @@ -57,13 +60,10 @@ private: }; -class ClickableList : public QList +class UISUPPORT_EXPORT ClickableList : public std::vector { public: static ClickableList fromString(const QString &); Clickable atCursorPos(int idx); }; - - -#endif // CLICKABLE_H_