VirtualBox

source: vbox/trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.h@ 51953

Last change on this file since 51953 was 51953, checked in by vboxsync, 11 years ago

FE/Qt: 6660: Extra-data Manager: Map acknowledging support.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 24.0 KB
Line 
1/** @file
2 * VBox Qt GUI - UIExtraDataManager class declaration.
3 */
4
5/*
6 * Copyright (C) 2010-2014 Oracle Corporation
7 *
8 * This file is part of VirtualBox Open Source Edition (OSE), as
9 * available from http://www.virtualbox.org. This file is free software;
10 * you can redistribute it and/or modify it under the terms of the GNU
11 * General Public License (GPL) as published by the Free Software
12 * Foundation, in version 2 as it comes in the "COPYING" file of the
13 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
14 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
15 */
16
17#ifndef ___UIExtraDataManager_h___
18#define ___UIExtraDataManager_h___
19
20/* Qt includes: */
21#include <QObject>
22#include <QMap>
23#ifdef DEBUG
24# include <QPointer>
25#endif /* DEBUG */
26
27/* GUI includes: */
28#include "UIExtraDataDefs.h"
29
30/* COM includes: */
31#include "CEventListener.h"
32
33/* Forward declarations: */
34class UIExtraDataEventHandler;
35#ifdef DEBUG
36class UIExtraDataManagerWindow;
37#endif /* DEBUG */
38
39/* Type definitions: */
40typedef QMap<QString, QString> ExtraDataMap;
41
42/** Singleton QObject extension
43 * providing GUI with corresponding extra-data values,
44 * and notifying it whenever any of those values changed. */
45class UIExtraDataManager : public QObject
46{
47 Q_OBJECT;
48
49 /** Extra-data Manager constructor. */
50 UIExtraDataManager();
51 /** Extra-data Manager destructor. */
52 ~UIExtraDataManager();
53
54signals:
55
56 /** Notifies about extra-data map acknowledging. */
57 void sigExtraDataMapAcknowledging(QString strID);
58
59 /** Notifies about extra-data change. */
60 void sigExtraDataChange(QString strID, QString strKey, QString strValue);
61
62 /** Notifies about GUI language change. */
63 void sigLanguageChange(QString strLanguage);
64
65 /** Notifies about Selector UI keyboard shortcut change. */
66 void sigSelectorUIShortcutChange();
67 /** Notifies about Runtime UI keyboard shortcut change. */
68 void sigRuntimeUIShortcutChange();
69
70 /** Notifies about HID LEDs synchronization state change. */
71 void sigHidLedsSyncStateChange(bool fEnabled);
72
73#ifdef RT_OS_DARWIN
74 /** Mac OS X: Notifies about 'presentation mode' status change. */
75 void sigPresentationModeChange(bool fEnabled);
76 /** Mac OS X: Notifies about 'dock icon' appearance change. */
77 void sigDockIconAppearanceChange(bool fEnabled);
78#endif /* RT_OS_DARWIN */
79
80public:
81
82 /** Global extra-data ID. */
83 static const QString GlobalID;
84
85 /** Static Extra-data Manager instance/constructor. */
86 static UIExtraDataManager* instance();
87 /** Static Extra-data Manager destructor. */
88 static void destroy();
89
90#ifdef DEBUG
91 /** Static show and raise API. */
92 static void openWindow(QWidget *pCenterWidget);
93#endif /* DEBUG */
94
95 /** @name General
96 * @{ */
97 /** Returns whether Extra-data Manager cached the map with passed @a strID. */
98 bool contains(const QString &strID) const { return m_data.contains(strID); }
99 /** Returns read-only extra-data map for passed @a strID. */
100 const ExtraDataMap map(const QString &strID) const { return m_data.value(strID); }
101
102 /** Hot-load machine extra-data map. */
103 void hotloadMachineExtraDataMap(const QString &strID);
104
105 /** Returns extra-data value corresponding to passed @a strKey as QString.
106 * If valid @a strID is set => applies to machine extra-data, otherwise => to global one. */
107 QString extraDataString(const QString &strKey, const QString &strID = GlobalID);
108 /** Defines extra-data value corresponding to passed @a strKey as strValue.
109 * If valid @a strID is set => applies to machine extra-data, otherwise => to global one. */
110 void setExtraDataString(const QString &strKey, const QString &strValue, const QString &strID = GlobalID);
111
112 /** Returns extra-data value corresponding to passed @a strKey as QStringList.
113 * If valid @a strID is set => applies to machine extra-data, otherwise => to global one. */
114 QStringList extraDataStringList(const QString &strKey, const QString &strID = GlobalID);
115 /** Defines extra-data value corresponding to passed @a strKey as strValue.
116 * If valid @a strID is set => applies to machine extra-data, otherwise => to global one. */
117 void setExtraDataStringList(const QString &strKey, const QStringList &strValue, const QString &strID = GlobalID);
118 /** @} */
119
120 /** @name Messaging
121 * @{ */
122 /** Returns the list of supressed messages for the Message/Popup center frameworks. */
123 QStringList suppressedMessages();
124 /** Defines the @a list of supressed messages for the Message/Popup center frameworks. */
125 void setSuppressedMessages(const QStringList &list);
126
127 /** Returns the list of messages for the Message/Popup center frameworks with inverted check-box state. */
128 QStringList messagesWithInvertedOption();
129
130#if !defined(VBOX_BLEEDING_EDGE) && !defined(DEBUG)
131 /** Returns version for which user wants to prevent BETA build warning. */
132 QString preventBetaBuildWarningForVersion();
133#endif /* !defined(VBOX_BLEEDING_EDGE) && !defined(DEBUG) */
134 /** @} */
135
136#ifdef VBOX_GUI_WITH_NETWORK_MANAGER
137 /** @name Application Update
138 * @{ */
139 /** Returns whether Application Update functionality enabled. */
140 bool applicationUpdateEnabled();
141
142 /** Returns Application Update data. */
143 QString applicationUpdateData();
144 /** Defines Application Update data as @a strValue. */
145 void setApplicationUpdateData(const QString &strValue);
146
147 /** Returns Application Update check counter. */
148 qulonglong applicationUpdateCheckCounter();
149 /** Increments Application Update check counter. */
150 void incrementApplicationUpdateCheckCounter();
151 /** @} */
152#endif /* VBOX_GUI_WITH_NETWORK_MANAGER */
153
154 /** @name Settings
155 * @{ */
156 /** Returns restricted global settings pages. */
157 QList<GlobalSettingsPageType> restrictedGlobalSettingsPages();
158 /** Returns restricted machine settings pages. */
159 QList<MachineSettingsPageType> restrictedMachineSettingsPages(const QString &strID);
160 /** @} */
161
162 /** @name Settings: Keyboard
163 * @{ */
164 /** Returns shortcut overrides for shortcut-pool with @a strPoolExtraDataID. */
165 QStringList shortcutOverrides(const QString &strPoolExtraDataID);
166 /** @} */
167
168 /** @name Settings: Storage
169 * @{ */
170 /** Returns recent folder for hard-drives. */
171 QString recentFolderForHardDrives();
172 /** Returns recent folder for optical-disks. */
173 QString recentFolderForOpticalDisks();
174 /** Returns recent folder for floppy-disks. */
175 QString recentFolderForFloppyDisks();
176 /** Defines recent folder for hard-drives as @a strValue. */
177 void setRecentFolderForHardDrives(const QString &strValue);
178 /** Defines recent folder for optical-disk as @a strValue. */
179 void setRecentFolderForOpticalDisks(const QString &strValue);
180 /** Defines recent folder for floppy-disk as @a strValue. */
181 void setRecentFolderForFloppyDisks(const QString &strValue);
182
183 /** Returns the list of recently used hard-drives. */
184 QStringList recentListOfHardDrives();
185 /** Returns the list of recently used optical-disk. */
186 QStringList recentListOfOpticalDisks();
187 /** Returns the list of recently used floppy-disk. */
188 QStringList recentListOfFloppyDisks();
189 /** Defines the list of recently used hard-drives as @a value. */
190 void setRecentListOfHardDrives(const QStringList &value);
191 /** Defines the list of recently used optical-disks as @a value. */
192 void setRecentListOfOpticalDisks(const QStringList &value);
193 /** Defines the list of recently used floppy-disks as @a value. */
194 void setRecentListOfFloppyDisks(const QStringList &value);
195 /** @} */
196
197 /** @name VirtualBox Manager
198 * @{ */
199 /** Returns selector-window geometry using @a pWidget as the hint. */
200 QRect selectorWindowGeometry(QWidget *pWidget);
201 /** Returns whether selector-window should be maximized. */
202 bool selectorWindowShouldBeMaximized();
203 /** Defines selector-window @a geometry and @a fMaximized state. */
204 void setSelectorWindowGeometry(const QRect &geometry, bool fMaximized);
205
206 /** Returns selector-window splitter hints. */
207 QList<int> selectorWindowSplitterHints();
208 /** Defines selector-window splitter @a hints. */
209 void setSelectorWindowSplitterHints(const QList<int> &hints);
210
211 /** Returns whether selector-window tool-bar visible. */
212 bool selectorWindowToolBarVisible();
213 /** Defines whether selector-window tool-bar @a fVisible. */
214 void setSelectorWindowToolBarVisible(bool fVisible);
215
216 /** Returns whether selector-window status-bar visible. */
217 bool selectorWindowStatusBarVisible();
218 /** Defines whether selector-window status-bar @a fVisible. */
219 void setSelectorWindowStatusBarVisible(bool fVisible);
220
221 /** Clears all the existing selector-window chooser-pane' group definitions. */
222 void clearSelectorWindowGroupsDefinitions();
223 /** Returns selector-window chooser-pane' groups definitions for passed @a strGroupID. */
224 QStringList selectorWindowGroupsDefinitions(const QString &strGroupID);
225 /** Defines selector-window chooser-pane' groups @a definitions for passed @a strGroupID. */
226 void setSelectorWindowGroupsDefinitions(const QString &strGroupID, const QStringList &definitions);
227
228 /** Returns last-item ID of the item chosen in selector-window chooser-pane. */
229 QString selectorWindowLastItemChosen();
230 /** Defines @a lastItemID of the item chosen in selector-window chooser-pane. */
231 void setSelectorWindowLastItemChosen(const QString &strItemID);
232
233 /** Returns selector-window details-pane' elements. */
234 QMap<DetailsElementType, bool> selectorWindowDetailsElements();
235 /** Defines selector-window details-pane' @a elements. */
236 void setSelectorWindowDetailsElements(const QMap<DetailsElementType, bool> &elements);
237
238 /** Returns selector-window details-pane' preview update interval. */
239 PreviewUpdateIntervalType selectorWindowPreviewUpdateInterval();
240 /** Defines selector-window details-pane' preview update @a interval. */
241 void setSelectorWindowPreviewUpdateInterval(PreviewUpdateIntervalType interval);
242 /** @} */
243
244 /** @name Wizards
245 * @{ */
246 /** Returns mode for wizard of passed @a type. */
247 WizardMode modeForWizardType(WizardType type);
248 /** Defines @a mode for wizard of passed @a type. */
249 void setModeForWizardType(WizardType type, WizardMode mode);
250 /** @} */
251
252 /** @name Virtual Machine
253 * @{ */
254 /** Returns whether machine should be shown in selector-window chooser-pane. */
255 bool showMachineInSelectorChooser(const QString &strID);
256 /** Returns whether machine should be shown in selector-window details-pane. */
257 bool showMachineInSelectorDetails(const QString &strID);
258
259 /** Returns whether machine reconfiguration enabled. */
260 bool machineReconfigurationEnabled(const QString &strID);
261 /** Returns whether machine snapshot operations enabled. */
262 bool machineSnapshotOperationsEnabled(const QString &strID);
263
264 /** Returns whether this machine is first time started. */
265 bool machineFirstTimeStarted(const QString &strID);
266 /** Returns whether this machine is fFirstTimeStarted. */
267 void setMachineFirstTimeStarted(bool fFirstTimeStarted, const QString &strID);
268
269#ifndef Q_WS_MAC
270 /** Except Mac OS X: Returns redefined machine-window icon names. */
271 QStringList machineWindowIconNames(const QString &strID);
272 /** Except Mac OS X: Returns redefined machine-window name postfix. */
273 QString machineWindowNamePostfix(const QString &strID);
274#endif /* !Q_WS_MAC */
275
276 /** Returns geometry for machine-window with @a uScreenIndex in @a visualStateType. */
277 QRect machineWindowGeometry(UIVisualStateType visualStateType, ulong uScreenIndex, const QString &strID);
278 /** Returns whether machine-window with @a uScreenIndex in @a visualStateType should be maximized. */
279 bool machineWindowShouldBeMaximized(UIVisualStateType visualStateType, ulong uScreenIndex, const QString &strID);
280 /** Defines @a geometry and @a fMaximized state for machine-window with @a uScreenIndex in @a visualStateType. */
281 void setMachineWindowGeometry(UIVisualStateType visualStateType, ulong uScreenIndex, const QRect &geometry, bool fMaximized, const QString &strID);
282
283 /** Returns restricted Runtime UI menu types. */
284 RuntimeMenuType restrictedRuntimeMenuTypes(const QString &strID);
285 #ifdef Q_WS_MAC
286 /** Mac OS X: Returns restricted Runtime UI action types for Application menu. */
287 RuntimeMenuApplicationActionType restrictedRuntimeMenuApplicationActionTypes(const QString &strID);
288 #endif /* Q_WS_MAC */
289 /** Returns restricted Runtime UI action types for Machine menu. */
290 RuntimeMenuMachineActionType restrictedRuntimeMenuMachineActionTypes(const QString &strID);
291 /** Returns restricted Runtime UI action types for View menu. */
292 RuntimeMenuViewActionType restrictedRuntimeMenuViewActionTypes(const QString &strID);
293 /** Returns restricted Runtime UI action types for Devices menu. */
294 RuntimeMenuDevicesActionType restrictedRuntimeMenuDevicesActionTypes(const QString &strID);
295 #ifdef VBOX_WITH_DEBUGGER_GUI
296 /** Returns restricted Runtime UI action types for Debugger menu. */
297 RuntimeMenuDebuggerActionType restrictedRuntimeMenuDebuggerActionTypes(const QString &strID);
298 #endif /* VBOX_WITH_DEBUGGER_GUI */
299 /** Returns restricted Runtime UI action types for Help menu. */
300 RuntimeMenuHelpActionType restrictedRuntimeMenuHelpActionTypes(const QString &strID);
301
302 /** Returns restricted Runtime UI visual-states. */
303 UIVisualStateType restrictedVisualStates(const QString &strID);
304
305 /** Returns requested Runtime UI visual-state. */
306 UIVisualStateType requestedVisualState(const QString &strID);
307 /** Defines requested Runtime UI visual-state as @a visualState. */
308 void setRequestedVisualState(UIVisualStateType visualState, const QString &strID);
309
310 /** Returns whether guest-screen auto-resize according machine-window size is enabled. */
311 bool guestScreenAutoResizeEnabled(const QString &strID);
312 /** Defines whether guest-screen auto-resize according machine-window size is @a fEnabled. */
313 void setGuestScreenAutoResizeEnabled(bool fEnabled, const QString &strID);
314
315 /** Returns last guest-screen size-hint for screen with @a uScreenIndex. */
316 QSize lastGuestSizeHint(ulong uScreenIndex, const QString &strID);
317 /** Defines last guest-screen @a sizeHint for screen with @a uScreenIndex. */
318 void setLastGuestSizeHint(ulong uScreenIndex, const QSize &sizeHint, const QString &strID);
319 /** Returns whether guest size-hint was for full or seamless screen with @a uScreenIndex. */
320 bool wasLastGuestSizeHintForFullScreen(ulong uScreenIndex, const QString &strID);
321 /** Defines whether guest size-hint @a fWas for full or seamless screen with @a uScreenIndex. */
322 void markLastGuestSizeHintAsFullScreen(ulong uScreenIndex, bool fWas, const QString &strID);
323
324 /** Returns host-screen index corresponding to passed guest-screen @a iGuestScreenIndex. */
325 int hostScreenForPassedGuestScreen(int iGuestScreenIndex, const QString &strID);
326 /** Defines @a iHostScreenIndex corresponding to passed guest-screen @a iGuestScreenIndex. */
327 void setHostScreenForPassedGuestScreen(int iGuestScreenIndex, int iHostScreenIndex, const QString &strID);
328
329 /** Returns whether automatic mounting/unmounting of guest-screens enabled. */
330 bool autoMountGuestScreensEnabled(const QString &strID);
331
332#ifdef VBOX_WITH_VIDEOHWACCEL
333 /** Returns whether 2D acceleration should use linear sretch. */
334 bool useLinearStretch(const QString &strID);
335 /** Returns whether 2D acceleration should use YV12 pixel format. */
336 bool usePixelFormatYV12(const QString &strID);
337 /** Returns whether 2D acceleration should use UYVY pixel format. */
338 bool usePixelFormatUYVY(const QString &strID);
339 /** Returns whether 2D acceleration should use YUY2 pixel format. */
340 bool usePixelFormatYUY2(const QString &strID);
341 /** Returns whether 2D acceleration should use AYUV pixel format. */
342 bool usePixelFormatAYUV(const QString &strID);
343#endif /* VBOX_WITH_VIDEOHWACCEL */
344
345 /** Returns Runtime UI HiDPI optimization type. */
346 HiDPIOptimizationType hiDPIOptimizationType(const QString &strID);
347
348 /** Returns whether mini-toolbar is enabled for full and seamless screens. */
349 bool miniToolbarEnabled(const QString &strID);
350 /** Defines whether mini-toolbar is @a fEnabled for full and seamless screens. */
351 void setMiniToolbarEnabled(bool fEnabled, const QString &strID);
352
353 /** Returns whether mini-toolbar should auto-hide itself. */
354 bool autoHideMiniToolbar(const QString &strID);
355 /** Defines whether mini-toolbar should @a fAutoHide itself. */
356 void setAutoHideMiniToolbar(bool fAutoHide, const QString &strID);
357
358 /** Returns mini-toolbar alignment. */
359 Qt::AlignmentFlag miniToolbarAlignment(const QString &strID);
360 /** Returns mini-toolbar @a alignment. */
361 void setMiniToolbarAlignment(Qt::AlignmentFlag alignment, const QString &strID);
362
363 /** Returns restricted Runtime UI status-bar indicators. */
364 QList<IndicatorType> restrictedStatusBarIndicators(const QString &strID);
365
366#ifdef Q_WS_MAC
367 /** Mac OS X: Returns whether 'presentation mode' enabled. */
368 bool presentationModeEnabled(const QString &strID);
369
370 /** Mac OS X: Returns whether Dock icon should be updated at runtime. */
371 bool realtimeDockIconUpdateEnabled(const QString &strID);
372 /** Mac OS X: Defines whether Dock icon update should be fEnabled at runtime. */
373 void setRealtimeDockIconUpdateEnabled(bool fEnabled, const QString &strID);
374
375 /** Mac OS X: Returns guest-screen which Dock icon should reflect at runtime. */
376 int realtimeDockIconUpdateMonitor(const QString &strID);
377 /** Mac OS X: Defines guest-screen @a iIndex which Dock icon should reflect at runtime. */
378 void setRealtimeDockIconUpdateMonitor(int iIndex, const QString &strID);
379#endif /* Q_WS_MAC */
380
381 /** Returns whether machine should pass CAD to guest. */
382 bool passCADtoGuest(const QString &strID);
383
384 /** Returns redefined guru-meditation handler type. */
385 GuruMeditationHandlerType guruMeditationHandlerType(const QString &strID);
386
387 /** Returns whether machine should perform HID LEDs synchronization. */
388 bool hidLedsSyncState(const QString &strID);
389 /** @} */
390
391 /** @name Virtual Machine: Information dialog
392 * @{ */
393 /** Returns information-window geometry using @a pWidget and @a pParentWidget as hints. */
394 QRect informationWindowGeometry(QWidget *pWidget, QWidget *pParentWidget, const QString &strID);
395 /** Returns whether information-window should be maximized or not. */
396 bool informationWindowShouldBeMaximized(const QString &strID);
397 /** Defines information-window @a geometry and @a fMaximized state. */
398 void setInformationWindowGeometry(const QRect &geometry, bool fMaximized, const QString &strID);
399 /** @} */
400
401 /** @name Virtual Machine: Close dialog
402 * @{ */
403 /** Returns default machine close action. */
404 MachineCloseAction defaultMachineCloseAction(const QString &strID);
405 /** Returns restricted machine close actions. */
406 MachineCloseAction restrictedMachineCloseActions(const QString &strID);
407
408 /** Returns last machine close action. */
409 MachineCloseAction lastMachineCloseAction(const QString &strID);
410 /** Defines last @a machineCloseAction. */
411 void setLastMachineCloseAction(MachineCloseAction machineCloseAction, const QString &strID);
412
413 /** Returns machine close hook script name as simple string. */
414 QString machineCloseHookScript(const QString &strID);
415 /** @} */
416
417#ifdef VBOX_WITH_DEBUGGER_GUI
418 /** @name Virtual Machine: Debug UI
419 * @{ */
420 /** Returns debug flag value for passed @a strDebugFlagKey. */
421 QString debugFlagValue(const QString &strDebugFlagKey);
422 /** @} */
423#endif /* VBOX_WITH_DEBUGGER_GUI */
424
425#ifdef DEBUG
426 /** @name VirtualBox: Extra-data Manager window
427 * @{ */
428 /** Returns Extra-data Manager geometry using @a pWidget as hint. */
429 QRect extraDataManagerGeometry(QWidget *pWidget);
430 /** Returns whether Extra-data Manager should be maximized or not. */
431 bool extraDataManagerShouldBeMaximized();
432 /** Defines Extra-data Manager @a geometry and @a fMaximized state. */
433 void setExtraDataManagerGeometry(const QRect &geometry, bool fMaximized);
434
435 /** Returns Extra-data Manager splitter hints using @a pWidget as hint. */
436 QList<int> extraDataManagerSplitterHints(QWidget *pWidget);
437 /** Defines Extra-data Manager splitter @a hints. */
438 void setExtraDataManagerSplitterHints(const QList<int> &hints);
439 /** @} */
440#endif /* DEBUG */
441
442private slots:
443
444 /** Handles 'extra-data change' event: */
445 void sltExtraDataChange(QString strMachineID, QString strKey, QString strValue);
446
447private:
448
449 /** Prepare Extra-data Manager. */
450 void prepare();
451 /** Prepare global extra-data map. */
452 void prepareGlobalExtraDataMap();
453 /** Prepare extra-data event-handler. */
454 void prepareExtraDataEventHandler();
455 /** Prepare Main event-listener. */
456 void prepareMainEventListener();
457#ifdef DEBUG
458 // /** Prepare window. */
459 // void prepareWindow();
460
461 /** Cleanup window. */
462 void cleanupWindow();
463#endif /* DEBUG */
464 /** Cleanup Main event-listener. */
465 void cleanupMainEventListener();
466 // /** Cleanup extra-data event-handler. */
467 // void cleanupExtraDataEventHandler();
468 // /** Cleanup extra-data map. */
469 // void cleanupExtraDataMap();
470 /** Cleanup Extra-data Manager. */
471 void cleanup();
472
473#ifdef DEBUG
474 /** Open window. */
475 void open(QWidget *pCenterWidget);
476#endif /* DEBUG */
477
478 /** Determines whether feature corresponding to passed @a strKey is allowed.
479 * If valid @a strID is set => applies to machine extra-data, otherwise => to global one. */
480 bool isFeatureAllowed(const QString &strKey, const QString &strID = GlobalID);
481 /** Determines whether feature corresponding to passed @a strKey is restricted.
482 * If valid @a strID is set => applies to machine extra-data, otherwise => to global one. */
483 bool isFeatureRestricted(const QString &strKey, const QString &strID = GlobalID);
484
485 /** Translates bool flag into 'allowed' value. */
486 QString toFeatureAllowed(bool fAllowed);
487 /** Translates bool flag into 'restricted' value. */
488 QString toFeatureRestricted(bool fRestricted);
489
490 /** Returns string consisting of @a strBase appended with @a uScreenIndex for the *non-primary* screen-index.
491 * If @a fSameRuleForPrimary is 'true' same rule will be used for *primary* screen-index. Used for storing per-screen extra-data. */
492 static QString extraDataKeyPerScreen(const QString &strBase, ulong uScreenIndex, bool fSameRuleForPrimary = false);
493
494 /** Singleton Extra-data Manager instance. */
495 static UIExtraDataManager *m_spInstance;
496
497 /** Holds main event-listener instance. */
498 CEventListener m_listener;
499 /** Holds extra-data event-handler instance. */
500 UIExtraDataEventHandler *m_pHandler;
501
502 /** Holds extra-data map instance. */
503 QMap<QString, ExtraDataMap> m_data;
504
505#ifdef DEBUG
506 /** Holds Extra-data Manager window instance. */
507 QPointer<UIExtraDataManagerWindow> m_pWindow;
508#endif /* DEBUG */
509};
510
511/** Singleton Extra-data Manager 'official' name. */
512#define gEDataManager UIExtraDataManager::instance()
513
514#endif /* !___UIExtraDataManager_h___ */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette