Changeset View
Changeset View
Standalone View
Standalone View
libs/widgetutils/xmlgui/khelpmenu.h
Show First 20 Lines • Show All 160 Lines • ▼ Show 20 Line(s) | 125 | public: | |||
---|---|---|---|---|---|
161 | ~KHelpMenu() override; | 161 | ~KHelpMenu() override; | ||
162 | 162 | | |||
163 | /** | 163 | /** | ||
164 | * Returns a popup menu you can use in the menu bar or where you | 164 | * Returns a popup menu you can use in the menu bar or where you | ||
165 | * need it. | 165 | * need it. | ||
166 | * | 166 | * | ||
167 | * The returned menu is configured with an icon, a title and | 167 | * The returned menu is configured with an icon, a title and | ||
168 | * menu entries. Therefore adding the returned pointer to your menu | 168 | * menu entries. Therefore adding the returned pointer to your menu | ||
169 | * is enougth to have access to the help menu. | 169 | * is enough to have access to the help menu. | ||
170 | * | 170 | * | ||
171 | * Note: This method will only create one instance of the menu. If | 171 | * Note: This method will only create one instance of the menu. If | ||
172 | * you call this method twice or more the same pointer is returned. | 172 | * you call this method twice or more the same pointer is returned. | ||
173 | */ | 173 | */ | ||
174 | QMenu *menu(); | 174 | QMenu *menu(); | ||
175 | 175 | | |||
176 | enum MenuId { | 176 | enum MenuId { | ||
177 | menuHelpContents = 0, | 177 | menuHelpContents = 0, | ||
▲ Show 20 Lines • Show All 90 Lines • Show Last 20 Lines |