/***************************************************************************
- * 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 *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
-#ifndef CLICKABLE_H_
-#define CLICKABLE_H_
+#pragma once
+
+#include "uisupport-export.h"
+
+#include <vector>
#include <QStackedWidget>
class QModelIndex;
-class Clickable
+class UISUPPORT_EXPORT Clickable
{
public:
// Don't change these enums without also changing dependent methods!
};
-class ClickableList : public QList<Clickable>
+class UISUPPORT_EXPORT ClickableList : public std::vector<Clickable>
{
public:
static ClickableList fromString(const QString &);
Clickable atCursorPos(int idx);
};
-
-
-#endif // CLICKABLE_H_