Changeset View
Changeset View
Standalone View
Standalone View
core/annotations.h
Show First 20 Lines • Show All 185 Lines • ▼ Show 20 Line(s) | 102 | public: | |||
---|---|---|---|---|---|
186 | 186 | | |||
187 | /** | 187 | /** | ||
188 | * Describes the type of additional actions. | 188 | * Describes the type of additional actions. | ||
189 | * | 189 | * | ||
190 | * @since 0.16 (KDE 4.10) | 190 | * @since 0.16 (KDE 4.10) | ||
191 | */ | 191 | */ | ||
192 | enum AdditionalActionType | 192 | enum AdditionalActionType | ||
193 | { | 193 | { | ||
194 | PageOpening, ///< Performed when the page containing the annotation is opened. | 194 | PageOpening, ///< Performed when the page containing the annotation is opened. | ||
195 | PageClosing ///< Performed when the page containing the annotation is closed. | 195 | PageClosing, ///< Performed when the page containing the annotation is closed. | ||
196 | CursorEntering, ///< Performed when the cursor enters the annotation's active area @since 1.5 | ||||
197 | CursorLeaving, ///< Performed when the cursor exists the annotation's active area @since 1.5 | ||||
198 | MousePressed, ///< Performed when the mouse button is pressed inside the annotation's active area @since 1.5 | ||||
199 | MouseReleased, ///< Performed when the mouse button is released inside the annotation's active area @since 1.5 | ||||
200 | FocusIn, ///< Performed when the annotation receives the input focus @since 1.5 | ||||
201 | FocusOut, ///< Performed when the annotation loses the input focus @since 1.5 | ||||
196 | }; | 202 | }; | ||
197 | 203 | | |||
198 | /** | 204 | /** | ||
199 | * A function to be called when the annotation is destroyed. | 205 | * A function to be called when the annotation is destroyed. | ||
200 | * | 206 | * | ||
201 | * @warning the function must *not* call any virtual function, | 207 | * @warning the function must *not* call any virtual function, | ||
202 | * nor subcast. | 208 | * nor subcast. | ||
203 | * | 209 | * | ||
▲ Show 20 Lines • Show All 1528 Lines • Show Last 20 Lines |