X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fclickable.h;h=8d1c2f75eae3320f243010c73a0c1087d43581e6;hp=d0edd9ed94f5bfbacab645cdeb1298604dd93d58;hb=f00917808808161cc5fb01d0ac4da13ffffbffbb;hpb=e50ae7a06fc4e5d3a911c361d30953410deab609 diff --git a/src/uisupport/clickable.h b/src/uisupport/clickable.h index d0edd9ed..8d1c2f75 100644 --- a/src/uisupport/clickable.h +++ b/src/uisupport/clickable.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 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_