X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fuisupport%2Fclickable.h;h=8d1c2f75eae3320f243010c73a0c1087d43581e6;hb=f00917808808161cc5fb01d0ac4da13ffffbffbb;hp=2c760b943128aa3846ce400dfcdf4fa5cda1d043;hpb=68878dc8366f2f4a0afe132847aad9a51a80cdbf;p=quassel.git diff --git a/src/uisupport/clickable.h b/src/uisupport/clickable.h index 2c760b94..8d1c2f75 100644 --- a/src/uisupport/clickable.h +++ b/src/uisupport/clickable.h @@ -18,8 +18,9 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef CLICKABLE_H_ -#define CLICKABLE_H_ +#pragma once + +#include #include @@ -57,13 +58,10 @@ private: }; -class ClickableList : public QList +class ClickableList : public std::vector { public: static ClickableList fromString(const QString &); Clickable atCursorPos(int idx); }; - - -#endif // CLICKABLE_H_