#include <QStackedWidget>
+#include "types.h"
+
+class QModelIndex;
+
class Clickable {
public:
inline bool isValid() const { return _type != Invalid; }
+ void activate(NetworkId networkId, const QString &bufferName) const;
+
private:
Type _type;
quint16 _start;
public:
static ClickableList fromString(const QString &);
+ Clickable atCursorPos(int idx);
+
};
#endif // CLICKABLE_H_