Changeset View
Changeset View
Standalone View
Standalone View
libs/flake/KoToolBase.h
Show First 20 Lines • Show All 119 Lines • ▼ Show 20 Line(s) | 66 | public: | |||
---|---|---|---|---|---|
120 | */ | 120 | */ | ||
121 | QHash<QString, QAction *> actions() const; | 121 | QHash<QString, QAction *> actions() const; | ||
122 | 122 | | |||
123 | /** | 123 | /** | ||
124 | * Retrieve an action by name. | 124 | * Retrieve an action by name. | ||
125 | */ | 125 | */ | ||
126 | QAction *action(const QString &name) const; | 126 | QAction *action(const QString &name) const; | ||
127 | 127 | | |||
128 | | ||||
128 | /** | 129 | /** | ||
129 | * Called when (one of) the mouse or stylus buttons is pressed. | 130 | * Called when (one of) the mouse or stylus buttons is pressed. | ||
130 | * Implementors should call event->ignore() if they do not actually use the event. | 131 | * Implementors should call event->ignore() if they do not actually use the event. | ||
131 | * @param event state and reason of this mouse or stylus press | 132 | * @param event state and reason of this mouse or stylus press | ||
132 | */ | 133 | */ | ||
133 | virtual void mousePressEvent(KoPointerEvent *event) = 0; | 134 | virtual void mousePressEvent(KoPointerEvent *event) = 0; | ||
134 | 135 | | |||
135 | /** | 136 | /** | ||
▲ Show 20 Lines • Show All 380 Lines • Show Last 20 Lines |