Changeset 14046 in vbox for trunk/src/VBox/Frontends/VirtualBox4/include
- Timestamp:
- Nov 10, 2008 10:40:32 PM (16 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox4/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/include/VBoxDefs.h
r13580 r14046 24 24 #define __VBoxDefs_h__ 25 25 26 /* Qt includes */ 26 27 #include <qevent.h> 28 #include <QUuid> 27 29 28 30 #define LOG_GROUP LOG_GROUP_GUI … … 65 67 #if defined (VBOX_GUI_DEBUG) 66 68 69 #include <QThread> 70 #include <QDateTime> 71 67 72 #include <VBox/types.h> // for uint64_t type 68 69 #include <qthread.h>70 #include <qdatetime.h>71 73 72 74 /** … … 104 106 #endif // VBOX_GUI_DEBUG 105 107 106 /* A common namespace for all enums */ 108 /** Null UUID constant to be used as a default value for reference parameters */ 109 extern const QUuid QUuid_null; 110 111 /** Common namespace for all enums */ 107 112 struct VBoxDefs 108 113 { -
trunk/src/VBox/Frontends/VirtualBox4/include/VBoxSelectorWnd.h
r14022 r14046 36 36 #include <QSystemTrayIcon> 37 37 #endif 38 #include <QUuid>39 38 40 39 class VBoxSnapshotsWgt; … … 70 69 71 70 void fileMediaMgr(); 72 VBoxVMItem* getSelectedItem();73 #ifdef VBOX_GUI_WITH_SYSTRAY74 void iconActivated (QSystemTrayIcon::ActivationReason aReason);75 void showWindow();76 #endif77 71 void fileSettings(); 78 72 void fileExit(); … … 81 75 void vmSettings (const QString &aCategory = QString::null, 82 76 const QString &aControl = QString::null, 83 const QUuid & aMachineId = QUuid());84 void vmDelete (const QUuid & aMachineId = QUuid());85 void vmStart (const QUuid & aMachineId = QUuid());86 void vmDiscard (const QUuid & aMachineId = QUuid());87 void vmPause (bool, const QUuid & aMachineId = QUuid());88 void vmRefresh (const QUuid & aMachineId = QUuid());89 void vmShowLogs (const QUuid & aMachineId = QUuid());77 const QUuid & = QUuid_null); 78 void vmDelete (const QUuid & = QUuid_null); 79 void vmStart (const QUuid & = QUuid_null); 80 void vmDiscard (const QUuid & = QUuid_null); 81 void vmPause (bool, const QUuid & = QUuid_null); 82 void vmRefresh (const QUuid & = QUuid_null); 83 void vmShowLogs (const QUuid & = QUuid_null); 90 84 91 85 #ifdef VBOX_GUI_WITH_SYSTRAY 92 void refreshSysTray (bool a_bRetranslate = false);86 void refreshSysTray (bool aRetranslate = false); 93 87 #endif 88 94 89 void refreshVMList(); 95 90 void refreshVMItem (const QUuid &aID, bool aDetails, … … 98 93 99 94 void showContextMenu (const QPoint &aPoint); 95 96 #ifdef VBOX_GUI_WITH_SYSTRAY 97 void trayIconActivated (QSystemTrayIcon::ActivationReason aReason); 98 void showWindow(); 99 #endif 100 100 101 101 protected: … … 142 142 QAction *fileExitAction; 143 143 QAction *vmNewAction; 144 #ifdef VBOX_GUI_WITH_SYSTRAY145 QAction *trayShowWindowAction;146 QAction *trayExitAction;147 #endif148 144 QAction *vmConfigAction; 149 145 QAction *vmDeleteAction; … … 154 150 QAction *vmShowLogsAction; 155 151 152 #ifdef VBOX_GUI_WITH_SYSTRAY 153 QAction *mTrayShowWindowAction; 154 QAction *mTrayExitAction; 155 #endif 156 156 157 VBoxHelpActions mHelpActions; 157 158 158 159 #ifdef VBOX_GUI_WITH_SYSTRAY 159 160 /* The systray icon */ 160 QSystemTrayIcon * trayIcon;161 QMenu * trayIconMenu;161 QSystemTrayIcon *mTrayIcon; 162 QMenu *mTrayIconMenu; 162 163 #endif 163 164
Note:
See TracChangeset
for help on using the changeset viewer.