projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add MenuBar toggle to ChatScene context menu
[quassel.git]
/
src
/
uisupport
/
clickable.h
diff --git
a/src/uisupport/clickable.h
b/src/uisupport/clickable.h
index
ce8d9a6
..
eb89a36
100644
(file)
--- a/
src/uisupport/clickable.h
+++ b/
src/uisupport/clickable.h
@@
-23,6
+23,10
@@
#include <QStackedWidget>
#include <QStackedWidget>
+#include "types.h"
+
+class QModelIndex;
+
class Clickable {
public:
class Clickable {
public:
@@
-44,6
+48,8
@@
public:
inline bool isValid() const { return _type != Invalid; }
inline bool isValid() const { return _type != Invalid; }
+ void activate(NetworkId networkId, const QString &bufferName) const;
+
private:
Type _type;
quint16 _start;
private:
Type _type;
quint16 _start;
@@
-55,6
+61,8
@@
class ClickableList : public QList<Clickable> {
public:
static ClickableList fromString(const QString &);
public:
static ClickableList fromString(const QString &);
+ Clickable atCursorPos(int idx);
+
};
#endif // CLICKABLE_H_
};
#endif // CLICKABLE_H_