Changeset 71630 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Apr 3, 2018 4:37:08 PM (7 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 1 added
- 71 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk
r71563 r71630 25 25 VBOX_VIRTUALBOX_SRC := $(PATH_SUB_CURRENT) 26 26 VBOX_VIRTUALBOX_OUT_DIR := $(PATH_TARGET)/VirtualBox/misc 27 USES += qt5 27 28 28 29 … … 36 37 else 37 38 PROGRAMS += VirtualBox 39 ifdef VBOX_GUI_WITH_SHARED_LIBRARY 40 DLLS += VBoxGlobal 41 endif 38 42 endif 39 43 INSTALLS += VirtualBox.nls … … 96 100 # VirtualBox - GUI Application. 97 101 # 98 USES += qt599 102 VirtualBox_TEMPLATE := $(if $(VBOX_WITH_HARDENING),VBOXQTGUI,VBOXQTGUIEXE) 100 103 VirtualBox_NAME = VirtualBox … … 119 122 VirtualBox_DEFS.win += UNICODE QT_DLL 120 123 VirtualBox_DEFS += \ 124 $(if $(VBOX_GUI_WITH_SHARED_LIBRARY),VBOX_GUI_WITH_SHARED_LIBRARY) \ 121 125 $(if $(VBOX_WITH_ADDITIONS_AUTOUPDATE_UI),VBOX_WITH_ADDITIONS_AUTOUPDATE_UI) \ 122 126 $(if $(VBOX_WITH_UPDATE_REQUEST),VBOX_WITH_UPDATE_REQUEST) \ … … 163 167 ifdef VBOX_WITH_ICHAT_THEATER 164 168 VirtualBox_DEFS.darwin += VBOX_WITH_ICHAT_THEATER 169 endif 170 171 172 # 173 # VirtualBox - GUI Global Shared Library. 174 # 175 VBoxGlobal_TEMPLATE = VBOXQTGUI 176 VBoxGlobal_NAME = VBoxGlobal 177 VBoxGlobal_DEFS = 178 VBoxGlobal_DEFS += VBOX_GUI_LIBRARY 179 VBoxGlobal_DEFS.darwin = VBOX_WS_MAC 180 VBoxGlobal_DEFS.freebsd = VBOX_WS_X11 181 VBoxGlobal_DEFS.linux = VBOX_WS_X11 182 VBoxGlobal_DEFS.solaris = VBOX_WS_X11 183 VBoxGlobal_DEFS.win = VBOX_WS_WIN 184 VBoxGlobal_DEFS.debug = VBOX_CHECK_STATE # QT_FATAL_ASSERT 185 #VBoxGlobal_DEFS.win += UNICODE QT_DLL 186 VBoxGlobal_DEFS += \ 187 $(if $(VBOX_GUI_WITH_SHARED_LIBRARY),VBOX_GUI_WITH_SHARED_LIBRARY) \ 188 $(if $(VBOX_WITH_UPDATE_REQUEST),VBOX_WITH_UPDATE_REQUEST) \ 189 $(if $(VBOX_WITH_AUDIO_OSS),VBOX_WITH_AUDIO_OSS) \ 190 $(if $(VBOX_WITH_AUDIO_ALSA),VBOX_WITH_AUDIO_ALSA) \ 191 $(if $(VBOX_WITH_AUDIO_PULSE),VBOX_WITH_AUDIO_PULSE) \ 192 $(if $(VBOX_WITH_E1000),VBOX_WITH_E1000) \ 193 $(if $(VBOX_WITH_NETFLT)$(eq $(KBUILD_TARGET),freebsd),VBOX_WITH_NETFLT) \ 194 $(if $(VBOX_WITH_VDE),VBOX_WITH_VDE) \ 195 $(if $(VBOX_WITH_EXTPACK),VBOX_WITH_EXTPACK) \ 196 $(if $(VBOX_WITH_HARDENING),VBOXR3_HARDENED_DLL) \ 197 $(if $(VBOX_WITH_DRAG_AND_DROP),VBOX_WITH_DRAG_AND_DROP) \ 198 $(if $(VBOX_WITH_CRHGSMI),VBOX_WITH_CRHGSMI) \ 199 $(if $(VBOX_WITH_VIRTIO),VBOX_WITH_VIRTIO) \ 200 $(if $(VBOX_WITH_CROGL),VBOX_WITH_CROGL) \ 201 $(if $(VBOX_GUI_WITH_PIDFILE),VBOX_GUI_WITH_PIDFILE) \ 202 $(if $(VBOX_WITH_RAW_MODE),VBOX_WITH_RAW_MODE) \ 203 $(if $(VBOX_WITH_SDS),VBOX_WITH_SDS,) 204 ifdef VBOX_WITH_DEBUGGER_GUI 205 VBoxGlobal_DEFS += VBOX_WITH_DEBUGGER_GUI 206 if "$(KBUILD_TYPE)" != "release" 207 VBoxGlobal_DEFS += VBOX_WITH_DEBUGGER_GUI_MENU 208 endif 209 endif 210 ifdef VBOX_WITH_VIDEOHWACCEL 211 VBoxGlobal_DEFS += VBOX_WITH_VIDEOHWACCEL VBOX_GUI_USE_QGL 212 else ifdef VBOX_GUI_USE_QGL 213 VBoxGlobal_DEFS += VBOX_GUI_USE_QGL 214 endif 215 ifdef VBOX_WITH_LIBCURL 216 VBoxGlobal_DEFS += VBOX_GUI_WITH_NETWORK_MANAGER 217 VBOX_GUI_WITH_NETWORK_MANAGER := 1 218 endif 219 ifneq ($(KBUILD_TYPE),release) 220 VBoxGlobal_DEFS += VBOX_GUI_WITH_EXTRADATA_MANAGER_UI 221 endif 222 ifdef VBOX_WITH_ICHAT_THEATER 223 VBoxGlobal_DEFS.darwin += VBOX_WITH_ICHAT_THEATER 165 224 endif 166 225 … … 222 281 $(VBOX_GRAPHICS_INCS) 223 282 283 # 284 # VirtualBox - GUI Global Shared Library. 285 # Include folders. 286 # 287 VBoxGlobal_INCS = \ 288 $(VBOX_GUI_INC_DIRS) \ 289 $(VirtualBox_0_OUTDIR)/include 290 224 291 225 292 # … … 301 368 ifdef VBOX_WITH_CROGL 302 369 VirtualBox_LIBS += $(PATH_STAGE_LIB)/VBoxOGLTest$(VBOX_SUFF_LIB) 370 endif 371 372 # This one is global shared GUI library: 373 ifdef VBOX_GUI_WITH_SHARED_LIBRARY 374 VirtualBox_LIBS += $(PATH_STAGE_DLL)/VBoxGlobal$(VBOX_SUFF_DLL) 375 endif 376 377 378 # 379 # VirtualBox - GUI Global Shared Library. 380 # Libraries. 381 # 382 383 # Xinerama library required for multi-monitor support: 384 VBoxGlobal_LIBS.linux += Xinerama 385 VBoxGlobal_LIBS.solaris += Xinerama 386 VBoxGlobal_LIBS.freebsd += Xinerama 387 388 # VBox keyboard shared library for X11 hosts: 389 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris) 390 VBoxGlobal_LIBS += $(PATH_STAGE_DLL)/VBoxKeyboard$(VBOX_SUFF_DLL) 391 endif 392 393 # These are 2D Video Acceleration and 3D Acceleration related libs: 394 ifdef VBOX_WITH_CROGL 395 VBoxGlobal_LIBS += $(PATH_STAGE_LIB)/VBoxOGLTest$(VBOX_SUFF_LIB) 303 396 endif 304 397 … … 577 670 578 671 # 672 # VirtualBox - GUI Global Shared Library. 673 # Headers containing definitions of classes that use the Q_OBJECT macro. 674 # 675 VBoxGlobal_QT_MOCHDRS = \ 676 src/VBoxAboutDlg.h \ 677 src/VBoxLicenseViewer.h \ 678 src/extensions/QIArrowButtonPress.h \ 679 src/extensions/QIArrowSplitter.h \ 680 src/extensions/QIDialog.h \ 681 src/extensions/QIDialogButtonBox.h \ 682 src/extensions/QIFileDialog.h \ 683 src/extensions/QILabel.h \ 684 src/extensions/QIMainWindow.h \ 685 src/extensions/QIMessageBox.h \ 686 src/extensions/QIProcess.h \ 687 src/extensions/QIRichTextLabel.h \ 688 src/extensions/QIRichToolButton.h \ 689 src/extensions/QISplitter.h \ 690 src/extensions/QIStatusBarIndicator.h \ 691 src/extensions/QIToolButton.h \ 692 src/extensions/QIWidgetValidator.h \ 693 src/extradata/UIExtraDataDefs.h \ 694 src/extradata/UIExtraDataManager.h \ 695 src/globals/UIActionPool.h \ 696 src/globals/UIAnimationFramework.h \ 697 src/globals/UIDesktopWidgetWatchdog.h \ 698 src/globals/UIMainEventListener.h \ 699 src/globals/UIMessageCenter.h \ 700 src/globals/UIModalWindowManager.h \ 701 src/globals/UIPopupCenter.h \ 702 src/globals/UIShortcutPool.h \ 703 src/globals/UIThreadPool.h \ 704 src/globals/VBoxGlobal.h \ 705 src/globals/VBoxUtils.h \ 706 src/medium/UIMediumEnumerator.h \ 707 src/runtime/UIActionPoolRuntime.h \ 708 src/selector/UIActionPoolSelector.h \ 709 src/selector/UIVirtualBoxEventHandler.h \ 710 src/widgets/UIHostComboEditor.h \ 711 src/widgets/UIPopupBox.h \ 712 src/widgets/UIPopupPane.h \ 713 src/widgets/UIPopupPaneButtonPane.h \ 714 src/widgets/UIPopupPaneMessage.h \ 715 src/widgets/UIPopupPaneDetails.h \ 716 src/widgets/UIPopupStack.h \ 717 src/widgets/UIPopupStackViewport.h \ 718 src/widgets/UIProgressDialog.h \ 719 src/widgets/UISpecialControls.h \ 720 src/widgets/UIToolBar.h 721 722 ifdef VBOX_GUI_WITH_NETWORK_MANAGER 723 VBoxGlobal_QT_MOCHDRS += \ 724 src/net/UIDownloader.h \ 725 src/net/UIDownloaderAdditions.h \ 726 src/net/UIDownloaderExtensionPack.h \ 727 src/net/UIDownloaderUserManual.h \ 728 src/net/UINetworkCustomer.h \ 729 src/net/UINetworkManager.h \ 730 src/net/UINetworkManagerDialog.h \ 731 src/net/UINetworkManagerIndicator.h \ 732 src/net/UINetworkRequest.h \ 733 src/net/UINetworkRequestWidget.h \ 734 src/net/UINetworkReply.h \ 735 src/net/UIUpdateManager.h 736 endif 737 738 739 # 579 740 # VirtualBox - GUI Application. 580 741 # Sources containing local definitions of classes that use the Q_OBJECT macro. 581 742 # 582 743 VirtualBox_QT_MOCSRCS = \ 583 src/extensions/QIArrowSplitter.cpp \584 src/extensions/QISplitter.cpp \585 src/extradata/UIExtraDataManager.cpp \586 src/globals/UIActionPool.cpp \587 src/globals/UIMainEventListener.cpp \588 src/globals/UIThreadPool.cpp \589 744 src/logviewer/UIVMLogViewerFilterPanel.cpp \ 590 745 src/logviewer/UIVMLogViewerSearchPanel.cpp \ 591 746 src/logviewer/UIVMLogViewerTextEdit.cpp \ 592 src/medium/UIMediumEnumerator.cpp \593 src/runtime/UIActionPoolRuntime.cpp \594 747 src/runtime/UIAddDiskEncryptionPasswordDialog.cpp \ 595 748 src/runtime/UIConsoleEventHandler.cpp \ … … 602 755 src/runtime/guestctrl/UIGuestFileTable.cpp \ 603 756 src/runtime/guestctrl/UIHostFileTable.cpp \ 604 src/selector/UIActionPoolSelector.cpp \605 757 src/selector/UIDesktopPane.cpp \ 606 src/selector/UIVirtualBoxEventHandler.cpp \607 758 src/selector/UISnapshotDetailsWidget.cpp \ 608 759 src/selector/UISnapshotPane.cpp \ … … 616 767 src/widgets/UIMiniToolBar.cpp \ 617 768 src/widgets/UIPortForwardingTable.cpp \ 618 src/widgets/UIProgressDialog.cpp \619 769 src/widgets/UITabBar.cpp \ 620 770 src/wizards/importappliance/UIWizardImportApp.cpp 621 771 622 ifdef VBOX_GUI_WITH_NETWORK_MANAGER 772 VirtualBox_QT_MOCSRCS.darwin += \ 773 src/platform/darwin/UIWindowMenuManager.cpp 774 775 ifndef VBOX_GUI_WITH_SHARED_LIBRARY 623 776 VirtualBox_QT_MOCSRCS += \ 777 src/extensions/QISplitter.cpp \ 778 src/extensions/QIArrowSplitter.cpp \ 779 src/extradata/UIExtraDataManager.cpp \ 780 src/globals/UIActionPool.cpp \ 781 src/globals/UIMainEventListener.cpp \ 782 src/globals/UIThreadPool.cpp \ 783 src/medium/UIMediumEnumerator.cpp \ 784 src/runtime/UIActionPoolRuntime.cpp \ 785 src/selector/UIActionPoolSelector.cpp \ 786 src/selector/UIVirtualBoxEventHandler.cpp \ 787 src/widgets/UIProgressDialog.cpp 788 789 VirtualBox_QT_MOCSRCS.linux += \ 790 src/globals/UIDesktopWidgetWatchdog.cpp 791 VirtualBox_QT_MOCSRCS.solaris += \ 792 src/globals/UIDesktopWidgetWatchdog.cpp 793 VirtualBox_QT_MOCSRCS.freebsd += \ 794 src/globals/UIDesktopWidgetWatchdog.cpp 795 796 ifdef VBOX_GUI_WITH_NETWORK_MANAGER 797 VirtualBox_QT_MOCSRCS += \ 624 798 src/net/UINetworkReply.cpp \ 625 799 src/net/UIUpdateManager.cpp 626 endif 627 628 VirtualBox_QT_MOCSRCS.darwin += \ 629 src/platform/darwin/UIWindowMenuManager.cpp 630 VirtualBox_QT_MOCSRCS.linux += \ 800 endif 801 802 ifdef VBOX_WITH_XPCOM 803 VirtualBox_QT_MOCSRCS += \ 804 src/globals/COMDefs.cpp 805 endif 806 endif 807 808 809 # 810 # VirtualBox - GUI Global Shared Library. 811 # Sources. 812 # 813 VBoxGlobal_QT_MOCSRCS = \ 814 src/extensions/QISplitter.cpp \ 815 src/extensions/QIArrowSplitter.cpp \ 816 src/extradata/UIExtraDataManager.cpp \ 817 src/globals/UIActionPool.cpp \ 818 src/globals/UIMainEventListener.cpp \ 819 src/globals/UIThreadPool.cpp \ 820 src/medium/UIMediumEnumerator.cpp \ 821 src/runtime/UIActionPoolRuntime.cpp \ 822 src/selector/UIActionPoolSelector.cpp \ 823 src/selector/UIVirtualBoxEventHandler.cpp \ 824 src/widgets/UIProgressDialog.cpp 825 826 VBoxGlobal_QT_MOCSRCS.linux += \ 631 827 src/globals/UIDesktopWidgetWatchdog.cpp 632 V irtualBox_QT_MOCSRCS.solaris += \828 VBoxGlobal_QT_MOCSRCS.solaris += \ 633 829 src/globals/UIDesktopWidgetWatchdog.cpp 634 V irtualBox_QT_MOCSRCS.freebsd += \830 VBoxGlobal_QT_MOCSRCS.freebsd += \ 635 831 src/globals/UIDesktopWidgetWatchdog.cpp 636 832 833 ifdef VBOX_GUI_WITH_NETWORK_MANAGER 834 VBoxGlobal_QT_MOCSRCS += \ 835 src/net/UINetworkReply.cpp \ 836 src/net/UIUpdateManager.cpp 837 endif 838 637 839 ifdef VBOX_WITH_XPCOM 638 V irtualBox_QT_MOCSRCS += \840 VBoxGlobal_QT_MOCSRCS += \ 639 841 src/globals/COMDefs.cpp 640 842 endif … … 647 849 VirtualBox_SOURCES = \ 648 850 src/main.cpp \ 649 src/VBoxAboutDlg.cpp \650 src/VBoxLicenseViewer.cpp \651 851 src/UITakeSnapshotDialog.cpp \ 652 src/converter/UIConverter.cpp \653 src/converter/UIConverterBackendCOM.cpp \654 src/converter/UIConverterBackendGlobal.cpp \655 852 src/extensions/QIAdvancedSlider.cpp \ 656 src/extensions/QIArrowButtonPress.cpp \657 src/extensions/QIArrowButtonSwitch.cpp \658 src/extensions/QIArrowSplitter.cpp \659 853 src/extensions/QIComboBox.cpp \ 660 src/extensions/QIDialog.cpp \661 src/extensions/QIDialogButtonBox.cpp \662 src/extensions/QIFileDialog.cpp \663 854 src/extensions/QIFlowLayout.cpp \ 664 src/extensions/QILabel.cpp \665 855 src/extensions/QILabelSeparator.cpp \ 666 856 src/extensions/QILineEdit.cpp \ 667 857 src/extensions/QIMainDialog.cpp \ 668 src/extensions/QIMainWindow.cpp \669 858 src/extensions/QIManagerDialog.cpp \ 670 859 src/extensions/QIMenu.cpp \ 671 src/extensions/QIMessageBox.cpp \672 src/extensions/QIProcess.cpp \673 src/extensions/QIRichTextLabel.cpp \674 src/extensions/QIRichToolButton.cpp \675 src/extensions/QISplitter.cpp \676 860 src/extensions/QIStatusBar.cpp \ 677 src/extensions/QIStatusBarIndicator.cpp \678 861 src/extensions/QITableView.cpp \ 679 src/extensions/QIToolButton.cpp \680 862 src/extensions/QITreeView.cpp \ 681 863 src/extensions/QITreeWidget.cpp \ 682 src/extensions/QIWidgetValidator.cpp \683 864 src/extensions/graphics/QIGraphicsView.cpp \ 684 865 src/extensions/graphics/QIGraphicsWidget.cpp \ 685 src/extradata/UIExtraDataDefs.cpp \686 src/extradata/UIExtraDataManager.cpp \687 src/globals/UIDefs.cpp \688 src/globals/COMDefs.cpp \689 src/globals/UIActionPool.cpp \690 src/globals/UIAnimationFramework.cpp \691 src/globals/UIDesktopWidgetWatchdog.cpp \692 src/globals/UIIconPool.cpp \693 866 src/globals/UIImageTools.cpp \ 694 src/globals/UIMainEventListener.cpp \695 src/globals/UIMessageCenter.cpp \696 src/globals/UIErrorString.cpp \697 src/globals/UIModalWindowManager.cpp \698 src/globals/UIPopupCenter.cpp \699 src/globals/UIShortcutPool.cpp \700 867 src/globals/UIStarter.cpp \ 701 src/globals/UIThreadPool.cpp \702 src/globals/VBoxGlobal.cpp \703 868 src/hostnetwork/UIHostNetworkDetailsWidget.cpp \ 704 869 src/hostnetwork/UIHostNetworkManager.cpp \ … … 713 878 src/logviewer/UIVMLogViewerTextEdit.cpp \ 714 879 src/logviewer/UIVMLogViewerWidget.cpp \ 715 src/medium/UIMediumDefs.cpp \716 src/medium/UIMedium.cpp \717 880 src/medium/UIMediumDetailsWidget.cpp \ 718 src/medium/UIMediumEnumerator.cpp \719 881 src/medium/UIMediumManager.cpp \ 720 882 src/objects/UIRichTextString.cpp \ 721 src/runtime/UIActionPoolRuntime.cpp \722 883 src/runtime/UIAddDiskEncryptionPasswordDialog.cpp \ 723 884 src/runtime/UIConsoleEventHandler.cpp \ … … 768 929 src/runtime/seamless/UIMachineViewSeamless.cpp \ 769 930 src/runtime/seamless/UIMachineWindowSeamless.cpp \ 770 src/selector/UIActionPoolSelector.cpp \771 931 src/selector/UIDesktopPane.cpp \ 772 932 src/selector/UIVMItem.cpp \ 773 src/selector/UIVirtualBoxEventHandler.cpp \774 933 src/selector/UISelectorWindow.cpp \ 775 934 src/selector/UISnapshotDetailsWidget.cpp \ … … 795 954 src/selector/graphics/details/UIGDetailsElements.cpp \ 796 955 src/selector/graphics/details/UIGMachinePreview.cpp \ 797 src/settings/UISettingsDefs.cpp \798 956 src/settings/UISettingsDialog.cpp \ 799 957 src/settings/UISettingsDialogSpecific.cpp \ … … 828 986 src/widgets/UIFilePathSelector.cpp \ 829 987 src/widgets/UIEmptyFilePathSelector.cpp \ 830 src/widgets/UIHostComboEditor.cpp \831 988 src/widgets/UIHotKeyEditor.cpp \ 832 989 src/widgets/UILineTextEdit.cpp \ 833 990 src/widgets/UIMediumSizeEditor.cpp \ 834 991 src/widgets/UIMenuBar.cpp \ 835 src/widgets/UIPopupBox.cpp \836 src/widgets/UIPopupPane.cpp \837 src/widgets/UIPopupPaneMessage.cpp \838 src/widgets/UIPopupPaneDetails.cpp \839 src/widgets/UIPopupPaneButtonPane.cpp \840 src/widgets/UIPopupStack.cpp \841 src/widgets/UIPopupStackViewport.cpp \842 992 src/widgets/UIPortForwardingTable.cpp \ 843 src/widgets/UIProgressDialog.cpp \844 993 src/widgets/UISlidingWidget.cpp \ 845 src/widgets/UISpecialControls.cpp \846 994 src/widgets/UITabBar.cpp \ 847 src/widgets/UIToolBar.cpp \848 995 src/widgets/VBoxGuestRAMSlider.cpp \ 849 996 src/widgets/VBoxMediaComboBox.cpp \ … … 897 1044 ifdef VBOX_GUI_WITH_NETWORK_MANAGER 898 1045 VirtualBox_SOURCES += \ 899 src/net/UINetworkManager.cpp \900 src/net/UINetworkManagerDialog.cpp \901 src/net/UINetworkManagerIndicator.cpp \902 src/net/UINetworkRequest.cpp \903 src/net/UINetworkRequestWidget.cpp \904 src/net/UINetworkReply.cpp \905 src/net/UINetworkCustomer.cpp \906 src/net/UIDownloader.cpp \907 src/net/UIDownloaderAdditions.cpp \908 src/net/UIDownloaderExtensionPack.cpp \909 src/net/UIDownloaderUserManual.cpp \910 src/net/UIUpdateDefs.cpp \911 src/net/UIUpdateManager.cpp \912 1046 src/settings/global/UIGlobalSettingsProxy.cpp \ 913 1047 src/settings/global/UIGlobalSettingsUpdate.cpp … … 921 1055 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris) # X11 922 1056 VirtualBox_SOURCES += \ 923 src/platform/x11/UIDesktopServices_x11.cpp \ 924 src/platform/x11/VBoxX11Helper.cpp \ 925 src/platform/x11/XKeyboard-new.cpp 1057 src/platform/x11/UIDesktopServices_x11.cpp 926 1058 endif 927 1059 … … 929 1061 src/platform/win/VirtualBox.rc \ 930 1062 src/platform/win/UIDesktopServices_win.cpp \ 931 src/platform/win/VBoxUtils-win.cpp \932 1063 src/platform/win/WinKeyboard.cpp 933 1064 … … 968 1099 endif 969 1100 1101 ifndef VBOX_GUI_WITH_SHARED_LIBRARY 1102 VirtualBox_SOURCES += \ 1103 src/VBoxAboutDlg.cpp \ 1104 src/VBoxLicenseViewer.cpp \ 1105 src/extensions/QIArrowButtonPress.cpp \ 1106 src/extensions/QIArrowButtonSwitch.cpp \ 1107 src/extensions/QIArrowSplitter.cpp \ 1108 src/extensions/QIDialog.cpp \ 1109 src/extensions/QIDialogButtonBox.cpp \ 1110 src/extensions/QIFileDialog.cpp \ 1111 src/extensions/QILabel.cpp \ 1112 src/extensions/QIMainWindow.cpp \ 1113 src/extensions/QIMessageBox.cpp \ 1114 src/extensions/QIProcess.cpp \ 1115 src/extensions/QIRichTextLabel.cpp \ 1116 src/extensions/QIRichToolButton.cpp \ 1117 src/extensions/QISplitter.cpp \ 1118 src/extensions/QIStatusBarIndicator.cpp \ 1119 src/extensions/QIToolButton.cpp \ 1120 src/extensions/QIWidgetValidator.cpp \ 1121 src/extradata/UIExtraDataDefs.cpp \ 1122 src/extradata/UIExtraDataManager.cpp \ 1123 src/converter/UIConverter.cpp \ 1124 src/converter/UIConverterBackendCOM.cpp \ 1125 src/converter/UIConverterBackendGlobal.cpp \ 1126 src/globals/COMDefs.cpp \ 1127 src/globals/UIActionPool.cpp \ 1128 src/globals/UIAnimationFramework.cpp \ 1129 src/globals/UIDefs.cpp \ 1130 src/globals/UIDesktopWidgetWatchdog.cpp \ 1131 src/globals/UIErrorString.cpp \ 1132 src/globals/UIIconPool.cpp \ 1133 src/globals/UIMainEventListener.cpp \ 1134 src/globals/UIMessageCenter.cpp \ 1135 src/globals/UIModalWindowManager.cpp \ 1136 src/globals/UIPopupCenter.cpp \ 1137 src/globals/UIShortcutPool.cpp \ 1138 src/globals/UIThreadPool.cpp \ 1139 src/globals/VBoxGlobal.cpp \ 1140 src/medium/UIMedium.cpp \ 1141 src/medium/UIMediumDefs.cpp \ 1142 src/medium/UIMediumEnumerator.cpp \ 1143 src/runtime/UIActionPoolRuntime.cpp \ 1144 src/selector/UIActionPoolSelector.cpp \ 1145 src/selector/UIVirtualBoxEventHandler.cpp \ 1146 src/settings/UISettingsDefs.cpp \ 1147 src/widgets/UIHostComboEditor.cpp \ 1148 src/widgets/UIPopupBox.cpp \ 1149 src/widgets/UIPopupPane.cpp \ 1150 src/widgets/UIPopupPaneButtonPane.cpp \ 1151 src/widgets/UIPopupPaneMessage.cpp \ 1152 src/widgets/UIPopupPaneDetails.cpp \ 1153 src/widgets/UIPopupStack.cpp \ 1154 src/widgets/UIPopupStackViewport.cpp \ 1155 src/widgets/UIProgressDialog.cpp \ 1156 src/widgets/UISpecialControls.cpp \ 1157 src/widgets/UIToolBar.cpp 1158 1159 ifdef VBOX_GUI_WITH_NETWORK_MANAGER 1160 VirtualBox_SOURCES += \ 1161 src/net/UIDownloader.cpp \ 1162 src/net/UIDownloaderAdditions.cpp \ 1163 src/net/UIDownloaderExtensionPack.cpp \ 1164 src/net/UIDownloaderUserManual.cpp \ 1165 src/net/UINetworkCustomer.cpp \ 1166 src/net/UINetworkManager.cpp \ 1167 src/net/UINetworkManagerDialog.cpp \ 1168 src/net/UINetworkManagerIndicator.cpp \ 1169 src/net/UINetworkRequest.cpp \ 1170 src/net/UINetworkRequestWidget.cpp \ 1171 src/net/UINetworkReply.cpp \ 1172 src/net/UIUpdateDefs.cpp \ 1173 src/net/UIUpdateManager.cpp 1174 endif 1175 1176 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris) # X11 1177 VirtualBox_SOURCES += \ 1178 src/platform/x11/VBoxX11Helper.cpp \ 1179 src/platform/x11/XKeyboard-new.cpp 1180 endif 1181 1182 VirtualBox_SOURCES.win += \ 1183 src/platform/win/VBoxUtils-win.cpp 1184 endif 1185 1186 1187 # 1188 # VirtualBox - GUI Global Shared Library. 1189 # Sources. 1190 # 1191 VBoxGlobal_SOURCES = \ 1192 src/VBoxAboutDlg.cpp \ 1193 src/VBoxLicenseViewer.cpp \ 1194 src/extensions/QIArrowButtonPress.cpp \ 1195 src/extensions/QIArrowButtonSwitch.cpp \ 1196 src/extensions/QIArrowSplitter.cpp \ 1197 src/extensions/QIDialog.cpp \ 1198 src/extensions/QIDialogButtonBox.cpp \ 1199 src/extensions/QIFileDialog.cpp \ 1200 src/extensions/QILabel.cpp \ 1201 src/extensions/QIMainWindow.cpp \ 1202 src/extensions/QIMessageBox.cpp \ 1203 src/extensions/QIProcess.cpp \ 1204 src/extensions/QIRichTextLabel.cpp \ 1205 src/extensions/QIRichToolButton.cpp \ 1206 src/extensions/QISplitter.cpp \ 1207 src/extensions/QIStatusBarIndicator.cpp \ 1208 src/extensions/QIToolButton.cpp \ 1209 src/extensions/QIWidgetValidator.cpp \ 1210 src/extradata/UIExtraDataDefs.cpp \ 1211 src/extradata/UIExtraDataManager.cpp \ 1212 src/converter/UIConverter.cpp \ 1213 src/converter/UIConverterBackendCOM.cpp \ 1214 src/converter/UIConverterBackendGlobal.cpp \ 1215 src/globals/COMDefs.cpp \ 1216 src/globals/UIActionPool.cpp \ 1217 src/globals/UIAnimationFramework.cpp \ 1218 src/globals/UIDefs.cpp \ 1219 src/globals/UIDesktopWidgetWatchdog.cpp \ 1220 src/globals/UIErrorString.cpp \ 1221 src/globals/UIIconPool.cpp \ 1222 src/globals/UIMainEventListener.cpp \ 1223 src/globals/UIMessageCenter.cpp \ 1224 src/globals/UIModalWindowManager.cpp \ 1225 src/globals/UIPopupCenter.cpp \ 1226 src/globals/UIShortcutPool.cpp \ 1227 src/globals/UIThreadPool.cpp \ 1228 src/globals/VBoxGlobal.cpp \ 1229 src/medium/UIMedium.cpp \ 1230 src/medium/UIMediumDefs.cpp \ 1231 src/medium/UIMediumEnumerator.cpp \ 1232 src/runtime/UIActionPoolRuntime.cpp \ 1233 src/selector/UIActionPoolSelector.cpp \ 1234 src/selector/UIVirtualBoxEventHandler.cpp \ 1235 src/settings/UISettingsDefs.cpp \ 1236 src/widgets/UIHostComboEditor.cpp \ 1237 src/widgets/UIPopupBox.cpp \ 1238 src/widgets/UIPopupPane.cpp \ 1239 src/widgets/UIPopupPaneButtonPane.cpp \ 1240 src/widgets/UIPopupPaneMessage.cpp \ 1241 src/widgets/UIPopupPaneDetails.cpp \ 1242 src/widgets/UIPopupStack.cpp \ 1243 src/widgets/UIPopupStackViewport.cpp \ 1244 src/widgets/UIProgressDialog.cpp \ 1245 src/widgets/UISpecialControls.cpp \ 1246 src/widgets/UIToolBar.cpp 1247 1248 ifdef VBOX_GUI_WITH_NETWORK_MANAGER 1249 VBoxGlobal_SOURCES += \ 1250 src/net/UIDownloader.cpp \ 1251 src/net/UIDownloaderAdditions.cpp \ 1252 src/net/UIDownloaderExtensionPack.cpp \ 1253 src/net/UIDownloaderUserManual.cpp \ 1254 src/net/UINetworkCustomer.cpp \ 1255 src/net/UINetworkManager.cpp \ 1256 src/net/UINetworkManagerDialog.cpp \ 1257 src/net/UINetworkManagerIndicator.cpp \ 1258 src/net/UINetworkRequest.cpp \ 1259 src/net/UINetworkRequestWidget.cpp \ 1260 src/net/UINetworkReply.cpp \ 1261 src/net/UIUpdateDefs.cpp \ 1262 src/net/UIUpdateManager.cpp 1263 endif 1264 1265 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris) # X11 1266 VBoxGlobal_SOURCES += \ 1267 src/platform/x11/VBoxX11Helper.cpp \ 1268 src/platform/x11/XKeyboard-new.cpp 1269 endif 1270 1271 VBoxGlobal_SOURCES.win += \ 1272 src/platform/win/VBoxUtils-win.cpp 1273 970 1274 971 1275 # … … 1000 1304 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL) 1001 1305 VirtualBox_QT_MODULES += OpenGL 1306 endif 1307 1308 1309 # 1310 # VirtualBox - GUI Global Shared Library. 1311 # The Qt modules we're using. 1312 # (The include directory and lib/framework for each module will be added by the Qt unit.) 1313 # 1314 VBoxGlobal_QT_MODULES = Core Gui Widgets 1315 VBoxGlobal_QT_MODULES.linux += X11Extras 1316 VBoxGlobal_QT_MODULES.solaris += X11Extras 1317 VBoxGlobal_QT_MODULES.freebsd += X11Extras 1318 VBoxGlobal_QT_MODULES.darwin += MacExtras 1319 VBoxGlobal_QT_MODULES.win += WinExtras 1320 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL) 1321 VBoxGlobal_QT_MODULES += OpenGL 1002 1322 endif 1003 1323 … … 1061 1381 # 1062 1382 VirtualBox_SOURCES += $(VirtualBox_0_OUTDIR)/include/COMWrappers.cpp 1383 1384 # 1385 # VirtualBox - GUI Global Shared Library. 1386 # Build generated COM wrappers as part of app. 1387 # 1388 VBoxGlobal_SOURCES += $(VirtualBox_0_OUTDIR)/include/COMWrappers.cpp 1063 1389 1064 1390 ## @todo kmk doesn't remake optional outputs when they are missing... -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxAboutDlg.h
r71553 r71630 25 25 #include "QIDialog.h" 26 26 #include "QIWithRetranslateUI.h" 27 #include "UILibraryDefs.h" 27 28 28 29 /* Forward declarations: */ … … 33 34 /** QIDialog extension 34 35 * used to show the About-VirtualBox dialog. */ 35 class VBoxAboutDlg : public QIWithRetranslateUI2<QIDialog>36 class SHARED_LIBRARY_STUFF VBoxAboutDlg : public QIWithRetranslateUI2<QIDialog> 36 37 { 37 38 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxLicenseViewer.h
r71552 r71630 24 24 /* GUI includes: */ 25 25 #include "QIWithRetranslateUI.h" 26 #include "UILibraryDefs.h" 26 27 27 28 /* Forward declarations: */ … … 30 31 31 32 /** QDialog subclass used to show a user license under linux. */ 32 class VBoxLicenseViewer : public QIWithRetranslateUI2<QDialog>33 class SHARED_LIBRARY_STUFF VBoxLicenseViewer : public QIWithRetranslateUI2<QDialog> 33 34 { 34 35 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/converter/UIConverter.h
r71427 r71630 24 24 /** High-level interface for different conversions between GUI classes. 25 25 * @todo Replace singleton with static template interface. */ 26 class UIConverter26 class SHARED_LIBRARY_STUFF UIConverter 27 27 { 28 28 public: -
trunk/src/VBox/Frontends/VirtualBox/src/converter/UIConverterBackend.h
r71427 r71630 27 27 /* GUI includes: */ 28 28 #include "UIDefs.h" 29 #include "UILibraryDefs.h" 29 30 #include "UIExtraDataDefs.h" 30 31 … … 72 73 73 74 /* Declare global canConvert specializations: */ 74 template<> bool canConvert<SizeSuffix>();75 template<> bool canConvert<StorageSlot>();76 template<> bool canConvert<UIExtraDataMetaDefs::MenuType>();77 template<> bool canConvert<UIExtraDataMetaDefs::MenuApplicationActionType>();78 template<> bool canConvert<UIExtraDataMetaDefs::MenuHelpActionType>();79 template<> bool canConvert<UIExtraDataMetaDefs::RuntimeMenuMachineActionType>();80 template<> bool canConvert<UIExtraDataMetaDefs::RuntimeMenuViewActionType>();81 template<> bool canConvert<UIExtraDataMetaDefs::RuntimeMenuInputActionType>();82 template<> bool canConvert<UIExtraDataMetaDefs::RuntimeMenuDevicesActionType>();75 template<> SHARED_LIBRARY_STUFF bool canConvert<SizeSuffix>(); 76 template<> SHARED_LIBRARY_STUFF bool canConvert<StorageSlot>(); 77 template<> SHARED_LIBRARY_STUFF bool canConvert<UIExtraDataMetaDefs::MenuType>(); 78 template<> SHARED_LIBRARY_STUFF bool canConvert<UIExtraDataMetaDefs::MenuApplicationActionType>(); 79 template<> SHARED_LIBRARY_STUFF bool canConvert<UIExtraDataMetaDefs::MenuHelpActionType>(); 80 template<> SHARED_LIBRARY_STUFF bool canConvert<UIExtraDataMetaDefs::RuntimeMenuMachineActionType>(); 81 template<> SHARED_LIBRARY_STUFF bool canConvert<UIExtraDataMetaDefs::RuntimeMenuViewActionType>(); 82 template<> SHARED_LIBRARY_STUFF bool canConvert<UIExtraDataMetaDefs::RuntimeMenuInputActionType>(); 83 template<> SHARED_LIBRARY_STUFF bool canConvert<UIExtraDataMetaDefs::RuntimeMenuDevicesActionType>(); 83 84 #ifdef VBOX_WITH_DEBUGGER_GUI 84 template<> bool canConvert<UIExtraDataMetaDefs::RuntimeMenuDebuggerActionType>();85 template<> SHARED_LIBRARY_STUFF bool canConvert<UIExtraDataMetaDefs::RuntimeMenuDebuggerActionType>(); 85 86 #endif /* VBOX_WITH_DEBUGGER_GUI */ 86 87 #ifdef VBOX_WS_MAC 87 template<> bool canConvert<UIExtraDataMetaDefs::MenuWindowActionType>();88 template<> SHARED_LIBRARY_STUFF bool canConvert<UIExtraDataMetaDefs::MenuWindowActionType>(); 88 89 #endif /* VBOX_WS_MAC */ 89 template<> bool canConvert<ToolTypeMachine>();90 template<> bool canConvert<ToolTypeGlobal>();91 template<> bool canConvert<UIVisualStateType>();92 template<> bool canConvert<DetailsElementType>();93 template<> bool canConvert<PreviewUpdateIntervalType>();94 template<> bool canConvert<EventHandlingType>();95 template<> bool canConvert<GUIFeatureType>();96 template<> bool canConvert<GlobalSettingsPageType>();97 template<> bool canConvert<MachineSettingsPageType>();98 template<> bool canConvert<WizardType>();99 template<> bool canConvert<IndicatorType>();100 template<> bool canConvert<MachineCloseAction>();101 template<> bool canConvert<MouseCapturePolicy>();102 template<> bool canConvert<GuruMeditationHandlerType>();103 template<> bool canConvert<ScalingOptimizationType>();90 template<> SHARED_LIBRARY_STUFF bool canConvert<ToolTypeMachine>(); 91 template<> SHARED_LIBRARY_STUFF bool canConvert<ToolTypeGlobal>(); 92 template<> SHARED_LIBRARY_STUFF bool canConvert<UIVisualStateType>(); 93 template<> SHARED_LIBRARY_STUFF bool canConvert<DetailsElementType>(); 94 template<> SHARED_LIBRARY_STUFF bool canConvert<PreviewUpdateIntervalType>(); 95 template<> SHARED_LIBRARY_STUFF bool canConvert<EventHandlingType>(); 96 template<> SHARED_LIBRARY_STUFF bool canConvert<GUIFeatureType>(); 97 template<> SHARED_LIBRARY_STUFF bool canConvert<GlobalSettingsPageType>(); 98 template<> SHARED_LIBRARY_STUFF bool canConvert<MachineSettingsPageType>(); 99 template<> SHARED_LIBRARY_STUFF bool canConvert<WizardType>(); 100 template<> SHARED_LIBRARY_STUFF bool canConvert<IndicatorType>(); 101 template<> SHARED_LIBRARY_STUFF bool canConvert<MachineCloseAction>(); 102 template<> SHARED_LIBRARY_STUFF bool canConvert<MouseCapturePolicy>(); 103 template<> SHARED_LIBRARY_STUFF bool canConvert<GuruMeditationHandlerType>(); 104 template<> SHARED_LIBRARY_STUFF bool canConvert<ScalingOptimizationType>(); 104 105 #ifndef VBOX_WS_MAC 105 template<> bool canConvert<MiniToolbarAlignment>();106 template<> SHARED_LIBRARY_STUFF bool canConvert<MiniToolbarAlignment>(); 106 107 #endif 107 template<> bool canConvert<InformationElementType>();108 template<> bool canConvert<MaxGuestResolutionPolicy>();108 template<> SHARED_LIBRARY_STUFF bool canConvert<InformationElementType>(); 109 template<> SHARED_LIBRARY_STUFF bool canConvert<MaxGuestResolutionPolicy>(); 109 110 110 111 111 112 /* Declare COM canConvert specializations: */ 112 template<> bool canConvert<KMachineState>();113 template<> bool canConvert<KSessionState>();114 template<> bool canConvert<KParavirtProvider>();115 template<> bool canConvert<KDeviceType>();116 template<> bool canConvert<KClipboardMode>();117 template<> bool canConvert<KDnDMode>();118 template<> bool canConvert<KPointingHIDType>();119 template<> bool canConvert<KMediumType>();120 template<> bool canConvert<KMediumVariant>();121 template<> bool canConvert<KNetworkAttachmentType>();122 template<> bool canConvert<KNetworkAdapterType>();123 template<> bool canConvert<KNetworkAdapterPromiscModePolicy>();124 template<> bool canConvert<KPortMode>();125 template<> bool canConvert<KUSBControllerType>();126 template<> bool canConvert<KUSBDeviceState>();127 template<> bool canConvert<KUSBDeviceFilterAction>();128 template<> bool canConvert<KAudioDriverType>();129 template<> bool canConvert<KAudioControllerType>();130 template<> bool canConvert<KAuthType>();131 template<> bool canConvert<KStorageBus>();132 template<> bool canConvert<KStorageControllerType>();133 template<> bool canConvert<KChipsetType>();134 template<> bool canConvert<KNATProtocol>();113 template<> SHARED_LIBRARY_STUFF bool canConvert<KMachineState>(); 114 template<> SHARED_LIBRARY_STUFF bool canConvert<KSessionState>(); 115 template<> SHARED_LIBRARY_STUFF bool canConvert<KParavirtProvider>(); 116 template<> SHARED_LIBRARY_STUFF bool canConvert<KDeviceType>(); 117 template<> SHARED_LIBRARY_STUFF bool canConvert<KClipboardMode>(); 118 template<> SHARED_LIBRARY_STUFF bool canConvert<KDnDMode>(); 119 template<> SHARED_LIBRARY_STUFF bool canConvert<KPointingHIDType>(); 120 template<> SHARED_LIBRARY_STUFF bool canConvert<KMediumType>(); 121 template<> SHARED_LIBRARY_STUFF bool canConvert<KMediumVariant>(); 122 template<> SHARED_LIBRARY_STUFF bool canConvert<KNetworkAttachmentType>(); 123 template<> SHARED_LIBRARY_STUFF bool canConvert<KNetworkAdapterType>(); 124 template<> SHARED_LIBRARY_STUFF bool canConvert<KNetworkAdapterPromiscModePolicy>(); 125 template<> SHARED_LIBRARY_STUFF bool canConvert<KPortMode>(); 126 template<> SHARED_LIBRARY_STUFF bool canConvert<KUSBControllerType>(); 127 template<> SHARED_LIBRARY_STUFF bool canConvert<KUSBDeviceState>(); 128 template<> SHARED_LIBRARY_STUFF bool canConvert<KUSBDeviceFilterAction>(); 129 template<> SHARED_LIBRARY_STUFF bool canConvert<KAudioDriverType>(); 130 template<> SHARED_LIBRARY_STUFF bool canConvert<KAudioControllerType>(); 131 template<> SHARED_LIBRARY_STUFF bool canConvert<KAuthType>(); 132 template<> SHARED_LIBRARY_STUFF bool canConvert<KStorageBus>(); 133 template<> SHARED_LIBRARY_STUFF bool canConvert<KStorageControllerType>(); 134 template<> SHARED_LIBRARY_STUFF bool canConvert<KChipsetType>(); 135 template<> SHARED_LIBRARY_STUFF bool canConvert<KNATProtocol>(); 135 136 136 137 137 138 /* Declare global conversion specializations: */ 138 template<> QString toString(const SizeSuffix &sizeSuffix);139 template<> S izeSuffix fromString<SizeSuffix>(const QString &strSizeSuffix);140 template<> QString toString(const StorageSlot &storageSlot);141 template<> S torageSlot fromString<StorageSlot>(const QString &strStorageSlot);142 template<> QString toInternalString(const UIExtraDataMetaDefs::MenuType &menuType);143 template<> UIExtraDataMetaDefs::MenuType fromInternalString<UIExtraDataMetaDefs::MenuType>(const QString &strMenuType);144 template<> QString toInternalString(const UIExtraDataMetaDefs::MenuApplicationActionType &menuApplicationActionType);145 template<> UIExtraDataMetaDefs::MenuApplicationActionType fromInternalString<UIExtraDataMetaDefs::MenuApplicationActionType>(const QString &strMenuApplicationActionType);146 template<> QString toInternalString(const UIExtraDataMetaDefs::MenuHelpActionType &menuHelpActionType);147 template<> UIExtraDataMetaDefs::MenuHelpActionType fromInternalString<UIExtraDataMetaDefs::MenuHelpActionType>(const QString &strMenuHelpActionType);148 template<> QString toInternalString(const UIExtraDataMetaDefs::RuntimeMenuMachineActionType &runtimeMenuMachineActionType);149 template<> UIExtraDataMetaDefs::RuntimeMenuMachineActionType fromInternalString<UIExtraDataMetaDefs::RuntimeMenuMachineActionType>(const QString &strRuntimeMenuMachineActionType);150 template<> QString toInternalString(const UIExtraDataMetaDefs::RuntimeMenuViewActionType &runtimeMenuViewActionType);151 template<> UIExtraDataMetaDefs::RuntimeMenuViewActionType fromInternalString<UIExtraDataMetaDefs::RuntimeMenuViewActionType>(const QString &strRuntimeMenuViewActionType);152 template<> QString toInternalString(const UIExtraDataMetaDefs::RuntimeMenuInputActionType &runtimeMenuInputActionType);153 template<> UIExtraDataMetaDefs::RuntimeMenuInputActionType fromInternalString<UIExtraDataMetaDefs::RuntimeMenuInputActionType>(const QString &strRuntimeMenuInputActionType);154 template<> QString toInternalString(const UIExtraDataMetaDefs::RuntimeMenuDevicesActionType &runtimeMenuDevicesActionType);155 template<> UIExtraDataMetaDefs::RuntimeMenuDevicesActionType fromInternalString<UIExtraDataMetaDefs::RuntimeMenuDevicesActionType>(const QString &strRuntimeMenuDevicesActionType);139 template<> SHARED_LIBRARY_STUFF QString toString(const SizeSuffix &sizeSuffix); 140 template<> SHARED_LIBRARY_STUFF SizeSuffix fromString<SizeSuffix>(const QString &strSizeSuffix); 141 template<> SHARED_LIBRARY_STUFF QString toString(const StorageSlot &storageSlot); 142 template<> SHARED_LIBRARY_STUFF StorageSlot fromString<StorageSlot>(const QString &strStorageSlot); 143 template<> SHARED_LIBRARY_STUFF QString toInternalString(const UIExtraDataMetaDefs::MenuType &menuType); 144 template<> SHARED_LIBRARY_STUFF UIExtraDataMetaDefs::MenuType fromInternalString<UIExtraDataMetaDefs::MenuType>(const QString &strMenuType); 145 template<> SHARED_LIBRARY_STUFF QString toInternalString(const UIExtraDataMetaDefs::MenuApplicationActionType &menuApplicationActionType); 146 template<> SHARED_LIBRARY_STUFF UIExtraDataMetaDefs::MenuApplicationActionType fromInternalString<UIExtraDataMetaDefs::MenuApplicationActionType>(const QString &strMenuApplicationActionType); 147 template<> SHARED_LIBRARY_STUFF QString toInternalString(const UIExtraDataMetaDefs::MenuHelpActionType &menuHelpActionType); 148 template<> SHARED_LIBRARY_STUFF UIExtraDataMetaDefs::MenuHelpActionType fromInternalString<UIExtraDataMetaDefs::MenuHelpActionType>(const QString &strMenuHelpActionType); 149 template<> SHARED_LIBRARY_STUFF QString toInternalString(const UIExtraDataMetaDefs::RuntimeMenuMachineActionType &runtimeMenuMachineActionType); 150 template<> SHARED_LIBRARY_STUFF UIExtraDataMetaDefs::RuntimeMenuMachineActionType fromInternalString<UIExtraDataMetaDefs::RuntimeMenuMachineActionType>(const QString &strRuntimeMenuMachineActionType); 151 template<> SHARED_LIBRARY_STUFF QString toInternalString(const UIExtraDataMetaDefs::RuntimeMenuViewActionType &runtimeMenuViewActionType); 152 template<> SHARED_LIBRARY_STUFF UIExtraDataMetaDefs::RuntimeMenuViewActionType fromInternalString<UIExtraDataMetaDefs::RuntimeMenuViewActionType>(const QString &strRuntimeMenuViewActionType); 153 template<> SHARED_LIBRARY_STUFF QString toInternalString(const UIExtraDataMetaDefs::RuntimeMenuInputActionType &runtimeMenuInputActionType); 154 template<> SHARED_LIBRARY_STUFF UIExtraDataMetaDefs::RuntimeMenuInputActionType fromInternalString<UIExtraDataMetaDefs::RuntimeMenuInputActionType>(const QString &strRuntimeMenuInputActionType); 155 template<> SHARED_LIBRARY_STUFF QString toInternalString(const UIExtraDataMetaDefs::RuntimeMenuDevicesActionType &runtimeMenuDevicesActionType); 156 template<> SHARED_LIBRARY_STUFF UIExtraDataMetaDefs::RuntimeMenuDevicesActionType fromInternalString<UIExtraDataMetaDefs::RuntimeMenuDevicesActionType>(const QString &strRuntimeMenuDevicesActionType); 156 157 #ifdef VBOX_WITH_DEBUGGER_GUI 157 template<> QString toInternalString(const UIExtraDataMetaDefs::RuntimeMenuDebuggerActionType &runtimeMenuDebuggerActionType);158 template<> UIExtraDataMetaDefs::RuntimeMenuDebuggerActionType fromInternalString<UIExtraDataMetaDefs::RuntimeMenuDebuggerActionType>(const QString &strRuntimeMenuDebuggerActionType);158 template<> SHARED_LIBRARY_STUFF QString toInternalString(const UIExtraDataMetaDefs::RuntimeMenuDebuggerActionType &runtimeMenuDebuggerActionType); 159 template<> SHARED_LIBRARY_STUFF UIExtraDataMetaDefs::RuntimeMenuDebuggerActionType fromInternalString<UIExtraDataMetaDefs::RuntimeMenuDebuggerActionType>(const QString &strRuntimeMenuDebuggerActionType); 159 160 #endif /* VBOX_WITH_DEBUGGER_GUI */ 160 161 #ifdef VBOX_WS_MAC 161 template<> QString toInternalString(const UIExtraDataMetaDefs::MenuWindowActionType &menuWindowActionType);162 template<> UIExtraDataMetaDefs::MenuWindowActionType fromInternalString<UIExtraDataMetaDefs::MenuWindowActionType>(const QString &strMenuWindowActionType);162 template<> SHARED_LIBRARY_STUFF QString toInternalString(const UIExtraDataMetaDefs::MenuWindowActionType &menuWindowActionType); 163 template<> SHARED_LIBRARY_STUFF UIExtraDataMetaDefs::MenuWindowActionType fromInternalString<UIExtraDataMetaDefs::MenuWindowActionType>(const QString &strMenuWindowActionType); 163 164 #endif /* VBOX_WS_MAC */ 164 template<> QString toInternalString(const ToolTypeMachine &enmToolTypeMachine);165 template<> ToolTypeMachine fromInternalString<ToolTypeMachine>(const QString &strToolTypeMachine);166 template<> QString toInternalString(const ToolTypeGlobal &enmToolTypeGlobal);167 template<> ToolTypeGlobal fromInternalString<ToolTypeGlobal>(const QString &strToolTypeGlobal);168 template<> QString toInternalString(const UIVisualStateType &visualStateType);169 template<> UIVisualStateType fromInternalString<UIVisualStateType>(const QString &strVisualStateType);170 template<> QString toString(const DetailsElementType &detailsElementType);171 template<> DetailsElementType fromString<DetailsElementType>(const QString &strDetailsElementType);172 template<> QString toInternalString(const DetailsElementType &detailsElementType);173 template<> DetailsElementType fromInternalString<DetailsElementType>(const QString &strDetailsElementType);174 template<> QIcon toIcon(const DetailsElementType &detailsElementType);175 template<> QString toInternalString(const PreviewUpdateIntervalType &previewUpdateIntervalType);176 template<> PreviewUpdateIntervalType fromInternalString<PreviewUpdateIntervalType>(const QString &strPreviewUpdateIntervalType);177 template<> int toInternalInteger(const PreviewUpdateIntervalType &previewUpdateIntervalType);178 template<> PreviewUpdateIntervalType fromInternalInteger<PreviewUpdateIntervalType>(const int &iPreviewUpdateIntervalType);179 template<> EventHandlingType fromInternalString<EventHandlingType>(const QString &strEventHandlingType);180 template<> QString toInternalString(const GUIFeatureType &guiFeatureType);181 template<> GUIFeatureType fromInternalString<GUIFeatureType>(const QString &strGuiFeatureType);182 template<> QString toInternalString(const GlobalSettingsPageType &globalSettingsPageType);183 template<> GlobalSettingsPageType fromInternalString<GlobalSettingsPageType>(const QString &strGlobalSettingsPageType);184 template<> QPixmap toWarningPixmap(const GlobalSettingsPageType &globalSettingsPageType);185 template<> QString toInternalString(const MachineSettingsPageType &machineSettingsPageType);186 template<> MachineSettingsPageType fromInternalString<MachineSettingsPageType>(const QString &strMachineSettingsPageType);187 template<> QPixmap toWarningPixmap(const MachineSettingsPageType &machineSettingsPageType);188 template<> QString toInternalString(const WizardType &wizardType);189 template<> WizardType fromInternalString<WizardType>(const QString &strWizardType);190 template<> QString toInternalString(const IndicatorType &indicatorType);191 template<> IndicatorType fromInternalString<IndicatorType>(const QString &strIndicatorType);192 template<> QString toString(const IndicatorType &indicatorType);193 template<> QIcon toIcon(const IndicatorType &indicatorType);194 template<> QString toInternalString(const MachineCloseAction &machineCloseAction);195 template<> MachineCloseAction fromInternalString<MachineCloseAction>(const QString &strMachineCloseAction);196 template<> QString toInternalString(const MouseCapturePolicy &mouseCapturePolicy);197 template<> MouseCapturePolicy fromInternalString<MouseCapturePolicy>(const QString &strMouseCapturePolicy);198 template<> QString toInternalString(const GuruMeditationHandlerType &guruMeditationHandlerType);199 template<> GuruMeditationHandlerType fromInternalString<GuruMeditationHandlerType>(const QString &strGuruMeditationHandlerType);200 template<> QString toInternalString(const ScalingOptimizationType &optimizationType);201 template<> S calingOptimizationType fromInternalString<ScalingOptimizationType>(const QString &strOptimizationType);165 template<> SHARED_LIBRARY_STUFF QString toInternalString(const ToolTypeMachine &enmToolTypeMachine); 166 template<> SHARED_LIBRARY_STUFF ToolTypeMachine fromInternalString<ToolTypeMachine>(const QString &strToolTypeMachine); 167 template<> SHARED_LIBRARY_STUFF QString toInternalString(const ToolTypeGlobal &enmToolTypeGlobal); 168 template<> SHARED_LIBRARY_STUFF ToolTypeGlobal fromInternalString<ToolTypeGlobal>(const QString &strToolTypeGlobal); 169 template<> SHARED_LIBRARY_STUFF QString toInternalString(const UIVisualStateType &visualStateType); 170 template<> SHARED_LIBRARY_STUFF UIVisualStateType fromInternalString<UIVisualStateType>(const QString &strVisualStateType); 171 template<> SHARED_LIBRARY_STUFF QString toString(const DetailsElementType &detailsElementType); 172 template<> SHARED_LIBRARY_STUFF DetailsElementType fromString<DetailsElementType>(const QString &strDetailsElementType); 173 template<> SHARED_LIBRARY_STUFF QString toInternalString(const DetailsElementType &detailsElementType); 174 template<> SHARED_LIBRARY_STUFF DetailsElementType fromInternalString<DetailsElementType>(const QString &strDetailsElementType); 175 template<> SHARED_LIBRARY_STUFF QIcon toIcon(const DetailsElementType &detailsElementType); 176 template<> SHARED_LIBRARY_STUFF QString toInternalString(const PreviewUpdateIntervalType &previewUpdateIntervalType); 177 template<> SHARED_LIBRARY_STUFF PreviewUpdateIntervalType fromInternalString<PreviewUpdateIntervalType>(const QString &strPreviewUpdateIntervalType); 178 template<> SHARED_LIBRARY_STUFF int toInternalInteger(const PreviewUpdateIntervalType &previewUpdateIntervalType); 179 template<> SHARED_LIBRARY_STUFF PreviewUpdateIntervalType fromInternalInteger<PreviewUpdateIntervalType>(const int &iPreviewUpdateIntervalType); 180 template<> SHARED_LIBRARY_STUFF EventHandlingType fromInternalString<EventHandlingType>(const QString &strEventHandlingType); 181 template<> SHARED_LIBRARY_STUFF QString toInternalString(const GUIFeatureType &guiFeatureType); 182 template<> SHARED_LIBRARY_STUFF GUIFeatureType fromInternalString<GUIFeatureType>(const QString &strGuiFeatureType); 183 template<> SHARED_LIBRARY_STUFF QString toInternalString(const GlobalSettingsPageType &globalSettingsPageType); 184 template<> SHARED_LIBRARY_STUFF GlobalSettingsPageType fromInternalString<GlobalSettingsPageType>(const QString &strGlobalSettingsPageType); 185 template<> SHARED_LIBRARY_STUFF QPixmap toWarningPixmap(const GlobalSettingsPageType &globalSettingsPageType); 186 template<> SHARED_LIBRARY_STUFF QString toInternalString(const MachineSettingsPageType &machineSettingsPageType); 187 template<> SHARED_LIBRARY_STUFF MachineSettingsPageType fromInternalString<MachineSettingsPageType>(const QString &strMachineSettingsPageType); 188 template<> SHARED_LIBRARY_STUFF QPixmap toWarningPixmap(const MachineSettingsPageType &machineSettingsPageType); 189 template<> SHARED_LIBRARY_STUFF QString toInternalString(const WizardType &wizardType); 190 template<> SHARED_LIBRARY_STUFF WizardType fromInternalString<WizardType>(const QString &strWizardType); 191 template<> SHARED_LIBRARY_STUFF QString toInternalString(const IndicatorType &indicatorType); 192 template<> SHARED_LIBRARY_STUFF IndicatorType fromInternalString<IndicatorType>(const QString &strIndicatorType); 193 template<> SHARED_LIBRARY_STUFF QString toString(const IndicatorType &indicatorType); 194 template<> SHARED_LIBRARY_STUFF QIcon toIcon(const IndicatorType &indicatorType); 195 template<> SHARED_LIBRARY_STUFF QString toInternalString(const MachineCloseAction &machineCloseAction); 196 template<> SHARED_LIBRARY_STUFF MachineCloseAction fromInternalString<MachineCloseAction>(const QString &strMachineCloseAction); 197 template<> SHARED_LIBRARY_STUFF QString toInternalString(const MouseCapturePolicy &mouseCapturePolicy); 198 template<> SHARED_LIBRARY_STUFF MouseCapturePolicy fromInternalString<MouseCapturePolicy>(const QString &strMouseCapturePolicy); 199 template<> SHARED_LIBRARY_STUFF QString toInternalString(const GuruMeditationHandlerType &guruMeditationHandlerType); 200 template<> SHARED_LIBRARY_STUFF GuruMeditationHandlerType fromInternalString<GuruMeditationHandlerType>(const QString &strGuruMeditationHandlerType); 201 template<> SHARED_LIBRARY_STUFF QString toInternalString(const ScalingOptimizationType &optimizationType); 202 template<> SHARED_LIBRARY_STUFF ScalingOptimizationType fromInternalString<ScalingOptimizationType>(const QString &strOptimizationType); 202 203 #ifndef VBOX_WS_MAC 203 template<> QString toInternalString(const MiniToolbarAlignment &miniToolbarAlignment);204 template<> MiniToolbarAlignment fromInternalString<MiniToolbarAlignment>(const QString &strMiniToolbarAlignment);204 template<> SHARED_LIBRARY_STUFF QString toInternalString(const MiniToolbarAlignment &miniToolbarAlignment); 205 template<> SHARED_LIBRARY_STUFF MiniToolbarAlignment fromInternalString<MiniToolbarAlignment>(const QString &strMiniToolbarAlignment); 205 206 #endif 206 template<> QString toString(const InformationElementType &informationElementType);207 template<> InformationElementType fromString<InformationElementType>(const QString &strInformationElementType);208 template<> QString toInternalString(const InformationElementType &informationElementType);209 template<> InformationElementType fromInternalString<InformationElementType>(const QString &strInformationElementType);210 template<> QIcon toIcon(const InformationElementType &informationElementType);211 template<> QString toInternalString(const MaxGuestResolutionPolicy &enmMaxGuestResolutionPolicy);212 template<> MaxGuestResolutionPolicy fromInternalString<MaxGuestResolutionPolicy>(const QString &strMaxGuestResolutionPolicy);207 template<> SHARED_LIBRARY_STUFF QString toString(const InformationElementType &informationElementType); 208 template<> SHARED_LIBRARY_STUFF InformationElementType fromString<InformationElementType>(const QString &strInformationElementType); 209 template<> SHARED_LIBRARY_STUFF QString toInternalString(const InformationElementType &informationElementType); 210 template<> SHARED_LIBRARY_STUFF InformationElementType fromInternalString<InformationElementType>(const QString &strInformationElementType); 211 template<> SHARED_LIBRARY_STUFF QIcon toIcon(const InformationElementType &informationElementType); 212 template<> SHARED_LIBRARY_STUFF QString toInternalString(const MaxGuestResolutionPolicy &enmMaxGuestResolutionPolicy); 213 template<> SHARED_LIBRARY_STUFF MaxGuestResolutionPolicy fromInternalString<MaxGuestResolutionPolicy>(const QString &strMaxGuestResolutionPolicy); 213 214 214 215 215 216 /* Declare COM conversion specializations: */ 216 template<> QColor toColor(const KMachineState &state);217 template<> QIcon toIcon(const KMachineState &state);218 template<> QString toString(const KMachineState &state);219 template<> QString toString(const KSessionState &state);220 template<> QString toString(const KParavirtProvider &type);221 template<> QString toString(const KDeviceType &type);222 template<> QString toString(const KClipboardMode &mode);223 template<> QString toString(const KDnDMode &mode);224 template<> QString toString(const KPointingHIDType &type);225 template<> QString toString(const KMediumType &type);226 template<> QString toString(const KMediumVariant &variant);227 template<> QString toString(const KNetworkAttachmentType &type);228 template<> QString toString(const KNetworkAdapterType &type);229 template<> QString toString(const KNetworkAdapterPromiscModePolicy &policy);230 template<> QString toString(const KPortMode &mode);231 template<> QString toString(const KUSBControllerType &type);232 template<> QString toString(const KUSBDeviceState &state);233 template<> QString toString(const KUSBDeviceFilterAction &action);234 template<> QString toString(const KAudioDriverType &type);235 template<> QString toString(const KAudioControllerType &type);236 template<> QString toString(const KAuthType &type);237 template<> QString toString(const KStorageBus &bus);238 template<> QString toString(const KStorageControllerType &type);239 template<> QString toString(const KChipsetType &type);240 template<> QString toString(const KNATProtocol &protocol);241 template<> QString toInternalString(const KNATProtocol &protocol);242 template<> KNATProtocol fromInternalString<KNATProtocol>(const QString &strProtocol);243 template<> KPortMode fromString<KPortMode>(const QString &strMode);244 template<> KUSBDeviceFilterAction fromString<KUSBDeviceFilterAction>(const QString &strAction);245 template<> KAudioDriverType fromString<KAudioDriverType>(const QString &strType);246 template<> KAudioControllerType fromString<KAudioControllerType>(const QString &strType);247 template<> KAuthType fromString<KAuthType>(const QString &strType);248 template<> KStorageControllerType fromString<KStorageControllerType>(const QString &strType);217 template<> SHARED_LIBRARY_STUFF QColor toColor(const KMachineState &state); 218 template<> SHARED_LIBRARY_STUFF QIcon toIcon(const KMachineState &state); 219 template<> SHARED_LIBRARY_STUFF QString toString(const KMachineState &state); 220 template<> SHARED_LIBRARY_STUFF QString toString(const KSessionState &state); 221 template<> SHARED_LIBRARY_STUFF QString toString(const KParavirtProvider &type); 222 template<> SHARED_LIBRARY_STUFF QString toString(const KDeviceType &type); 223 template<> SHARED_LIBRARY_STUFF QString toString(const KClipboardMode &mode); 224 template<> SHARED_LIBRARY_STUFF QString toString(const KDnDMode &mode); 225 template<> SHARED_LIBRARY_STUFF QString toString(const KPointingHIDType &type); 226 template<> SHARED_LIBRARY_STUFF QString toString(const KMediumType &type); 227 template<> SHARED_LIBRARY_STUFF QString toString(const KMediumVariant &variant); 228 template<> SHARED_LIBRARY_STUFF QString toString(const KNetworkAttachmentType &type); 229 template<> SHARED_LIBRARY_STUFF QString toString(const KNetworkAdapterType &type); 230 template<> SHARED_LIBRARY_STUFF QString toString(const KNetworkAdapterPromiscModePolicy &policy); 231 template<> SHARED_LIBRARY_STUFF QString toString(const KPortMode &mode); 232 template<> SHARED_LIBRARY_STUFF QString toString(const KUSBControllerType &type); 233 template<> SHARED_LIBRARY_STUFF QString toString(const KUSBDeviceState &state); 234 template<> SHARED_LIBRARY_STUFF QString toString(const KUSBDeviceFilterAction &action); 235 template<> SHARED_LIBRARY_STUFF QString toString(const KAudioDriverType &type); 236 template<> SHARED_LIBRARY_STUFF QString toString(const KAudioControllerType &type); 237 template<> SHARED_LIBRARY_STUFF QString toString(const KAuthType &type); 238 template<> SHARED_LIBRARY_STUFF QString toString(const KStorageBus &bus); 239 template<> SHARED_LIBRARY_STUFF QString toString(const KStorageControllerType &type); 240 template<> SHARED_LIBRARY_STUFF QString toString(const KChipsetType &type); 241 template<> SHARED_LIBRARY_STUFF QString toString(const KNATProtocol &protocol); 242 template<> SHARED_LIBRARY_STUFF QString toInternalString(const KNATProtocol &protocol); 243 template<> SHARED_LIBRARY_STUFF KNATProtocol fromInternalString<KNATProtocol>(const QString &strProtocol); 244 template<> SHARED_LIBRARY_STUFF KPortMode fromString<KPortMode>(const QString &strMode); 245 template<> SHARED_LIBRARY_STUFF KUSBDeviceFilterAction fromString<KUSBDeviceFilterAction>(const QString &strAction); 246 template<> SHARED_LIBRARY_STUFF KAudioDriverType fromString<KAudioDriverType>(const QString &strType); 247 template<> SHARED_LIBRARY_STUFF KAudioControllerType fromString<KAudioControllerType>(const QString &strType); 248 template<> SHARED_LIBRARY_STUFF KAuthType fromString<KAuthType>(const QString &strType); 249 template<> SHARED_LIBRARY_STUFF KStorageControllerType fromString<KStorageControllerType>(const QString &strType); 249 250 250 251 -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIArrowButtonPress.h
r71393 r71630 22 22 #include "QIRichToolButton.h" 23 23 #include "QIWithRetranslateUI.h" 24 #include "UILibraryDefs.h" 24 25 25 26 /** QIRichToolButton extension 26 27 * representing arrow tool-button with text-label, 27 28 * can be used as back/next buttons in various places. */ 28 class QIArrowButtonPress : public QIWithRetranslateUI<QIRichToolButton>29 class SHARED_LIBRARY_STUFF QIArrowButtonPress : public QIWithRetranslateUI<QIRichToolButton> 29 30 { 30 31 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIArrowButtonSwitch.h
r71394 r71630 24 24 /* GUI includes: */ 25 25 #include "QIRichToolButton.h" 26 #include "UILibraryDefs.h" 26 27 27 28 /** QIRichToolButton extension 28 29 * representing arrow tool-button with text-label, 29 30 * can be used as collaps/expand switch in various places. */ 30 class QIArrowButtonSwitch : public QIRichToolButton31 class SHARED_LIBRARY_STUFF QIArrowButtonSwitch : public QIRichToolButton 31 32 { 32 33 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIArrowSplitter.h
r71395 r71630 24 24 /* GUI includes: */ 25 25 #include "QIWithRetranslateUI.h" 26 #include "UILibraryDefs.h" 26 27 27 28 /* Forward declarations: */ … … 37 38 /** QWidget extension 38 39 * allowing to toggle visibility for any other child widget. */ 39 class QIArrowSplitter : public QIWithRetranslateUI<QWidget>40 class SHARED_LIBRARY_STUFF QIArrowSplitter : public QIWithRetranslateUI<QWidget> 40 41 { 41 42 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIDialog.h
r71396 r71630 23 23 #include <QPointer> 24 24 25 /* GUI includes: */ 26 #include "UILibraryDefs.h" 27 25 28 /* Forward declarations: */ 26 29 class QEventLoop; … … 28 31 /** QDialog extension providing the GUI with 29 32 * the advanced capabilities like delayed show. */ 30 class QIDialog : public QDialog33 class SHARED_LIBRARY_STUFF QIDialog : public QDialog 31 34 { 32 35 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIDialogButtonBox.h
r71348 r71630 25 25 /* GUI includes: */ 26 26 #include "QIWithRetranslateUI.h" 27 #include "UILibraryDefs.h" 27 28 28 29 /* Forward declarations: */ … … 32 33 33 34 /** QDialogButtonBox subclass extending standard functionality. */ 34 class QIDialogButtonBox : public QIWithRetranslateUI<QDialogButtonBox>35 class SHARED_LIBRARY_STUFF QIDialogButtonBox : public QIWithRetranslateUI<QDialogButtonBox> 35 36 { 36 37 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIFileDialog.h
r71392 r71630 22 22 #include <QFileDialog> 23 23 24 /* GUI includes: */ 25 #include "UILibraryDefs.h" 26 24 27 /** QFileDialog subclass simplifying access to it's static stuff. */ 25 class QIFileDialog : public QFileDialog28 class SHARED_LIBRARY_STUFF QIFileDialog : public QFileDialog 26 29 { 27 30 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QILabel.h
r71399 r71630 26 26 #include <QLabel> 27 27 28 /* GUI includes: */ 29 #include "UILibraryDefs.h" 30 28 31 /** QLabel subclass extending it with advanced functionality. */ 29 class QILabel : public QLabel32 class SHARED_LIBRARY_STUFF QILabel : public QLabel 30 33 { 31 34 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIMainWindow.h
r71400 r71630 22 22 #include <QMainWindow> 23 23 24 /* GUI includes: */ 25 #include "UILibraryDefs.h" 26 24 27 /** QMainWindow extension providing GUI 25 28 * with the extended geometry management support. */ 26 class QIMainWindow : public QMainWindow29 class SHARED_LIBRARY_STUFF QIMainWindow : public QMainWindow 27 30 { 28 31 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIMessageBox.h
r71401 r71630 24 24 /* GUI includes: */ 25 25 #include "QIDialog.h" 26 #include "UILibraryDefs.h" 26 27 27 28 /* Forward declarations: */ … … 78 79 79 80 /** QIDialog extension representing GUI alerts. */ 80 class QIMessageBox : public QIDialog81 class SHARED_LIBRARY_STUFF QIMessageBox : public QIDialog 81 82 { 82 83 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIProcess.h
r71402 r71630 22 22 #include <QProcess> 23 23 24 /* GUI includes: */ 25 #include "UILibraryDefs.h" 26 24 27 /** QProcess extension for VBox GUI needs. */ 25 class QIProcess : public QProcess28 class SHARED_LIBRARY_STUFF QIProcess : public QProcess 26 29 { 27 30 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIRichTextLabel.h
r71403 r71630 22 22 #include <QTextEdit> 23 23 24 /* GUI includes: */ 25 #include "UILibraryDefs.h" 26 24 27 /** QLabel analog to reflect rich-text, 25 28 ** based on private QTextEdit functionality. */ 26 class QIRichTextLabel : public QWidget29 class SHARED_LIBRARY_STUFF QIRichTextLabel : public QWidget 27 30 { 28 31 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIRichToolButton.h
r71404 r71630 22 22 #include <QWidget> 23 23 24 /* GUI includes: */ 25 #include "UILibraryDefs.h" 26 24 27 /* Forward declarations: */ 25 28 class QLabel; … … 29 32 /** QWidget extension 30 33 * representing tool-button with separate text-label. */ 31 class QIRichToolButton : public QWidget34 class SHARED_LIBRARY_STUFF QIRichToolButton : public QWidget 32 35 { 33 36 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QISplitter.h
r71407 r71630 22 22 #include <QSplitter> 23 23 24 /* GUI includes: */ 25 #include "UILibraryDefs.h" 26 24 27 /* Forward declarations: */ 25 28 class QSplitterHandle; 26 29 27 30 /** QSplitter subclass with extended functionality. */ 28 class QISplitter : public QSplitter31 class SHARED_LIBRARY_STUFF QISplitter : public QSplitter 29 32 { 30 33 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIStatusBarIndicator.h
r71408 r71630 24 24 #include <QWidget> 25 25 26 /* GUI includes: */ 27 #include "UILibraryDefs.h" 28 26 29 /* Forward declarations: */ 27 30 class QIcon; … … 33 36 34 37 /** QWidget extension used as status-bar indicator. */ 35 class QIStatusBarIndicator : public QWidget38 class SHARED_LIBRARY_STUFF QIStatusBarIndicator : public QWidget 36 39 { 37 40 Q_OBJECT; … … 70 73 71 74 /** QIStatusBarIndicator extension used as status-bar state indicator. */ 72 class QIStateStatusBarIndicator : public QIStatusBarIndicator75 class SHARED_LIBRARY_STUFF QIStateStatusBarIndicator : public QIStatusBarIndicator 73 76 { 74 77 Q_OBJECT; … … 112 115 113 116 /** QIStatusBarIndicator extension used as status-bar state indicator. */ 114 class QITextStatusBarIndicator : public QIStatusBarIndicator117 class SHARED_LIBRARY_STUFF QITextStatusBarIndicator : public QIStatusBarIndicator 115 118 { 116 119 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIToolButton.h
r71346 r71630 22 22 #include <QToolButton> 23 23 24 /* GUI includes: */ 25 #include "UILibraryDefs.h" 26 24 27 /** QToolButton subclass with extended functionality. */ 25 class QIToolButton : public QToolButton28 class SHARED_LIBRARY_STUFF QIToolButton : public QToolButton 26 29 { 27 30 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIWidgetValidator.h
r71410 r71630 24 24 #include <QValidator> 25 25 26 /* GUI includes: */ 27 #include "UILibraryDefs.h" 28 26 29 /* Forward declarations: */ 27 30 class QPixmap; … … 32 35 /** QObject extension, 33 36 * providing passed QObject with validation routine. */ 34 class QObjectValidator : public QObject37 class SHARED_LIBRARY_STUFF QObjectValidator : public QObject 35 38 { 36 39 Q_OBJECT; … … 71 74 /** QObject extension, 72 75 * which can group various QObjectValidator instances to operate on. */ 73 class QObjectValidatorGroup : public QObject76 class SHARED_LIBRARY_STUFF QObjectValidatorGroup : public QObject 74 77 { 75 78 Q_OBJECT; … … 115 118 116 119 /** Page validator prototype. */ 117 class UIPageValidator : public QObject120 class SHARED_LIBRARY_STUFF UIPageValidator : public QObject 118 121 { 119 122 Q_OBJECT; … … 176 179 /** QValidator extension, 177 180 * for long number validations. */ 178 class QIULongValidator : public QValidator181 class SHARED_LIBRARY_STUFF QIULongValidator : public QValidator 179 182 { 180 183 public: -
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataDefs.h
r71523 r71630 23 23 #include <QObject> 24 24 25 /* GUI includes: */ 26 #include "UILibraryDefs.h" 27 25 28 /* Other VBox includes: */ 26 29 #include <iprt/cdefs.h> … … 33 36 * @{ */ 34 37 /** Holds event handling type. */ 35 extern const char *GUI_EventHandlingType;38 SHARED_LIBRARY_STUFF extern const char *GUI_EventHandlingType; 36 39 /** @} */ 37 40 … … 39 42 * @{ */ 40 43 /** Holds the list of supressed messages for the Message/Popup center frameworks. */ 41 extern const char *GUI_SuppressMessages;44 SHARED_LIBRARY_STUFF extern const char *GUI_SuppressMessages; 42 45 /** Holds the list of messages for the Message/Popup center frameworks with inverted check-box state. */ 43 extern const char *GUI_InvertMessageOption;46 SHARED_LIBRARY_STUFF extern const char *GUI_InvertMessageOption; 44 47 #if !defined(VBOX_BLEEDING_EDGE) && !defined(DEBUG) 45 48 /** Holds version for which user wants to prevent BETA build warning. */ 46 extern const char *GUI_PreventBetaWarning;49 SHARED_LIBRARY_STUFF extern const char *GUI_PreventBetaWarning; 47 50 #endif 48 51 /** @} */ … … 52 55 * @{ */ 53 56 /** Holds whether Application Update functionality enabled. */ 54 extern const char *GUI_PreventApplicationUpdate;57 SHARED_LIBRARY_STUFF extern const char *GUI_PreventApplicationUpdate; 55 58 /** Holds Application Update data. */ 56 extern const char *GUI_UpdateDate;59 SHARED_LIBRARY_STUFF extern const char *GUI_UpdateDate; 57 60 /** Holds Application Update check counter. */ 58 extern const char *GUI_UpdateCheckCount;61 SHARED_LIBRARY_STUFF extern const char *GUI_UpdateCheckCount; 59 62 /** @} */ 60 63 #endif /* VBOX_GUI_WITH_NETWORK_MANAGER */ … … 63 66 * @{ */ 64 67 /** Holds whether legacy progress handling method is requested. */ 65 extern const char *GUI_Progress_LegacyMode;68 SHARED_LIBRARY_STUFF extern const char *GUI_Progress_LegacyMode; 66 69 /** @} */ 67 70 … … 69 72 * @{ */ 70 73 /** Holds GUI feature list. */ 71 extern const char *GUI_Customizations;74 SHARED_LIBRARY_STUFF extern const char *GUI_Customizations; 72 75 /** Holds restricted Global Settings pages. */ 73 extern const char *GUI_RestrictedGlobalSettingsPages;76 SHARED_LIBRARY_STUFF extern const char *GUI_RestrictedGlobalSettingsPages; 74 77 /** Holds restricted Machine Settings pages. */ 75 extern const char *GUI_RestrictedMachineSettingsPages;78 SHARED_LIBRARY_STUFF extern const char *GUI_RestrictedMachineSettingsPages; 76 79 /** @} */ 77 80 … … 79 82 * @{ */ 80 83 /** Holds whether host screen-saver should be disabled. */ 81 extern const char *GUI_HostScreenSaverDisabled;84 SHARED_LIBRARY_STUFF extern const char *GUI_HostScreenSaverDisabled; 82 85 /** @} */ 83 86 … … 85 88 * @{ */ 86 89 /** Holds GUI language ID. */ 87 extern const char *GUI_LanguageID;90 SHARED_LIBRARY_STUFF extern const char *GUI_LanguageID; 88 91 /** @} */ 89 92 … … 91 94 * @{ */ 92 95 /** Holds maximum guest-screen resolution policy/value. */ 93 extern const char *GUI_MaxGuestResolution;96 SHARED_LIBRARY_STUFF extern const char *GUI_MaxGuestResolution; 94 97 /** Holds whether hovered machine-window should be activated. */ 95 extern const char *GUI_ActivateHoveredMachineWindow;98 SHARED_LIBRARY_STUFF extern const char *GUI_ActivateHoveredMachineWindow; 96 99 /** @} */ 97 100 … … 99 102 * @{ */ 100 103 /** Holds Selector UI shortcut overrides. */ 101 extern const char *GUI_Input_SelectorShortcuts;104 SHARED_LIBRARY_STUFF extern const char *GUI_Input_SelectorShortcuts; 102 105 /** Holds Runtime UI shortcut overrides. */ 103 extern const char *GUI_Input_MachineShortcuts;106 SHARED_LIBRARY_STUFF extern const char *GUI_Input_MachineShortcuts; 104 107 /** Holds Runtime UI host-key combination. */ 105 extern const char *GUI_Input_HostKeyCombination;108 SHARED_LIBRARY_STUFF extern const char *GUI_Input_HostKeyCombination; 106 109 /** Holds whether Runtime UI auto-capture is enabled. */ 107 extern const char *GUI_Input_AutoCapture;110 SHARED_LIBRARY_STUFF extern const char *GUI_Input_AutoCapture; 108 111 /** Holds Runtime UI remapped scan codes. */ 109 extern const char *GUI_RemapScancodes;112 SHARED_LIBRARY_STUFF extern const char *GUI_RemapScancodes; 110 113 /** @} */ 111 114 … … 113 116 * @{ */ 114 117 /** Holds VBox proxy settings. */ 115 extern const char *GUI_ProxySettings;118 SHARED_LIBRARY_STUFF extern const char *GUI_ProxySettings; 116 119 /** @} */ 117 120 … … 119 122 * @{ */ 120 123 /** Holds recent folder for hard-drives. */ 121 extern const char *GUI_RecentFolderHD;124 SHARED_LIBRARY_STUFF extern const char *GUI_RecentFolderHD; 122 125 /** Holds recent folder for optical-disks. */ 123 extern const char *GUI_RecentFolderCD;126 SHARED_LIBRARY_STUFF extern const char *GUI_RecentFolderCD; 124 127 /** Holds recent folder for floppy-disks. */ 125 extern const char *GUI_RecentFolderFD;128 SHARED_LIBRARY_STUFF extern const char *GUI_RecentFolderFD; 126 129 /** Holds recent folder for VISO creation content. */ 127 extern const char *GUI_RecentFolderVISOContent;130 SHARED_LIBRARY_STUFF extern const char *GUI_RecentFolderVISOContent; 128 131 /** Holds the list of recently used hard-drives. */ 129 extern const char *GUI_RecentListHD;132 SHARED_LIBRARY_STUFF extern const char *GUI_RecentListHD; 130 133 /** Holds the list of recently used optical-disks. */ 131 extern const char *GUI_RecentListCD;134 SHARED_LIBRARY_STUFF extern const char *GUI_RecentListCD; 132 135 /** Holds the list of recently used floppy-disks. */ 133 extern const char *GUI_RecentListFD;136 SHARED_LIBRARY_STUFF extern const char *GUI_RecentListFD; 134 137 /** @} */ 135 138 … … 137 140 * @{ */ 138 141 /** Holds selector-window geometry. */ 139 extern const char *GUI_LastSelectorWindowPosition;142 SHARED_LIBRARY_STUFF extern const char *GUI_LastSelectorWindowPosition; 140 143 /** Holds selector-window splitter hints. */ 141 extern const char *GUI_SplitterSizes;144 SHARED_LIBRARY_STUFF extern const char *GUI_SplitterSizes; 142 145 /** Holds whether selector-window tool-bar visible. */ 143 extern const char *GUI_Toolbar;146 SHARED_LIBRARY_STUFF extern const char *GUI_Toolbar; 144 147 /** Holds whether selector-window tool-bar text visible. */ 145 extern const char *GUI_Toolbar_Text;148 SHARED_LIBRARY_STUFF extern const char *GUI_Toolbar_Text; 146 149 /** Holds the selector-window machine tools order. */ 147 extern const char *GUI_Toolbar_MachineTools_Order;150 SHARED_LIBRARY_STUFF extern const char *GUI_Toolbar_MachineTools_Order; 148 151 /** Holds the selector-window global tools order. */ 149 extern const char *GUI_Toolbar_GlobalTools_Order;152 SHARED_LIBRARY_STUFF extern const char *GUI_Toolbar_GlobalTools_Order; 150 153 /** Holds whether selector-window status-bar visible. */ 151 extern const char *GUI_Statusbar;154 SHARED_LIBRARY_STUFF extern const char *GUI_Statusbar; 152 155 /** Prefix used by composite extra-data keys, 153 156 * which holds selector-window chooser-pane' groups definitions. */ 154 extern const char *GUI_GroupDefinitions;157 SHARED_LIBRARY_STUFF extern const char *GUI_GroupDefinitions; 155 158 /** Holds last item chosen in selector-window chooser-pane. */ 156 extern const char *GUI_LastItemSelected;159 SHARED_LIBRARY_STUFF extern const char *GUI_LastItemSelected; 157 160 /** Holds selector-window details-pane' elements. */ 158 extern const char *GUI_DetailsPageBoxes;161 SHARED_LIBRARY_STUFF extern const char *GUI_DetailsPageBoxes; 159 162 /** Holds selector-window details-pane' preview update interval. */ 160 extern const char *GUI_PreviewUpdate;163 SHARED_LIBRARY_STUFF extern const char *GUI_PreviewUpdate; 161 164 /** @} */ 162 165 … … 164 167 * @{ */ 165 168 /** Holds whether Snapshot Manager details expanded. */ 166 extern const char *GUI_SnapshotManager_Details_Expanded;169 SHARED_LIBRARY_STUFF extern const char *GUI_SnapshotManager_Details_Expanded; 167 170 /** @} */ 168 171 … … 170 173 * @{ */ 171 174 /** Holds whether Virtual Media Manager details expanded. */ 172 extern const char *GUI_VirtualMediaManager_Details_Expanded;175 SHARED_LIBRARY_STUFF extern const char *GUI_VirtualMediaManager_Details_Expanded; 173 176 /** @} */ 174 177 … … 176 179 * @{ */ 177 180 /** Holds whether Host Network Manager details expanded. */ 178 extern const char *GUI_HostNetworkManager_Details_Expanded;181 SHARED_LIBRARY_STUFF extern const char *GUI_HostNetworkManager_Details_Expanded; 179 182 /** @} */ 180 183 … … 183 186 * @{ */ 184 187 /** Holds extra-data manager geometry. */ 185 extern const char *GUI_ExtraDataManager_Geometry;188 SHARED_LIBRARY_STUFF extern const char *GUI_ExtraDataManager_Geometry; 186 189 /** Holds extra-data manager splitter hints. */ 187 extern const char *GUI_ExtraDataManager_SplitterHints;190 SHARED_LIBRARY_STUFF extern const char *GUI_ExtraDataManager_SplitterHints; 188 191 /** @} */ 189 192 #endif /* VBOX_GUI_WITH_EXTRADATA_MANAGER_UI */ … … 192 195 * @{ */ 193 196 /** Holds wizard types for which descriptions should be hidden. */ 194 extern const char *GUI_HideDescriptionForWizards;197 SHARED_LIBRARY_STUFF extern const char *GUI_HideDescriptionForWizards; 195 198 /** @} */ 196 199 … … 198 201 * @{ */ 199 202 /** Holds whether machine shouldn't be shown in selector-window chooser-pane. */ 200 extern const char *GUI_HideFromManager;203 SHARED_LIBRARY_STUFF extern const char *GUI_HideFromManager; 201 204 /** Holds whether machine shouldn't be shown in selector-window details-pane. */ 202 extern const char *GUI_HideDetails;205 SHARED_LIBRARY_STUFF extern const char *GUI_HideDetails; 203 206 /** Holds whether machine reconfiguration disabled. */ 204 extern const char *GUI_PreventReconfiguration;207 SHARED_LIBRARY_STUFF extern const char *GUI_PreventReconfiguration; 205 208 /** Holds whether machine snapshot operations disabled. */ 206 extern const char *GUI_PreventSnapshotOperations;209 SHARED_LIBRARY_STUFF extern const char *GUI_PreventSnapshotOperations; 207 210 /** Holds whether this machine is first time started. */ 208 extern const char *GUI_FirstRun;211 SHARED_LIBRARY_STUFF extern const char *GUI_FirstRun; 209 212 /** Except Mac OS X: Holds redefined machine-window icon names. */ 210 extern const char *GUI_MachineWindowIcons;213 SHARED_LIBRARY_STUFF extern const char *GUI_MachineWindowIcons; 211 214 #ifndef VBOX_WS_MAC 212 215 /** Except Mac OS X: Holds redefined machine-window name postfix. */ 213 extern const char *GUI_MachineWindowNamePostfix;216 SHARED_LIBRARY_STUFF extern const char *GUI_MachineWindowNamePostfix; 214 217 #endif 215 218 /** Prefix used by composite extra-data keys, 216 219 * which holds normal machine-window geometry per screen-index. */ 217 extern const char *GUI_LastNormalWindowPosition;220 SHARED_LIBRARY_STUFF extern const char *GUI_LastNormalWindowPosition; 218 221 /** Prefix used by composite extra-data keys, 219 222 * which holds scaled machine-window geometry per screen-index. */ 220 extern const char *GUI_LastScaleWindowPosition;223 SHARED_LIBRARY_STUFF extern const char *GUI_LastScaleWindowPosition; 221 224 /** Holds machine-window geometry maximized state flag. */ 222 extern const char *GUI_Geometry_State_Max;225 SHARED_LIBRARY_STUFF extern const char *GUI_Geometry_State_Max; 223 226 #ifndef VBOX_WS_MAC 224 227 /** Holds Runtime UI menu-bar availability status. */ 225 extern const char *GUI_MenuBar_Enabled;228 SHARED_LIBRARY_STUFF extern const char *GUI_MenuBar_Enabled; 226 229 #endif 227 230 /** Holds Runtime UI menu-bar context-menu availability status. */ 228 extern const char *GUI_MenuBar_ContextMenu_Enabled;231 SHARED_LIBRARY_STUFF extern const char *GUI_MenuBar_ContextMenu_Enabled; 229 232 /** Holds restricted Runtime UI menu types. */ 230 extern const char *GUI_RestrictedRuntimeMenus;233 SHARED_LIBRARY_STUFF extern const char *GUI_RestrictedRuntimeMenus; 231 234 /** Holds restricted Runtime UI action types for 'Application' menu. */ 232 extern const char *GUI_RestrictedRuntimeApplicationMenuActions;235 SHARED_LIBRARY_STUFF extern const char *GUI_RestrictedRuntimeApplicationMenuActions; 233 236 /** Holds restricted Runtime UI action types for Machine menu. */ 234 extern const char *GUI_RestrictedRuntimeMachineMenuActions;237 SHARED_LIBRARY_STUFF extern const char *GUI_RestrictedRuntimeMachineMenuActions; 235 238 /** Holds restricted Runtime UI action types for View menu. */ 236 extern const char *GUI_RestrictedRuntimeViewMenuActions;239 SHARED_LIBRARY_STUFF extern const char *GUI_RestrictedRuntimeViewMenuActions; 237 240 /** Holds restricted Runtime UI action types for Input menu. */ 238 extern const char *GUI_RestrictedRuntimeInputMenuActions;241 SHARED_LIBRARY_STUFF extern const char *GUI_RestrictedRuntimeInputMenuActions; 239 242 /** Holds restricted Runtime UI action types for Devices menu. */ 240 extern const char *GUI_RestrictedRuntimeDevicesMenuActions;243 SHARED_LIBRARY_STUFF extern const char *GUI_RestrictedRuntimeDevicesMenuActions; 241 244 #ifdef VBOX_WITH_DEBUGGER_GUI 242 245 /** Holds restricted Runtime UI action types for Debugger menu. */ 243 extern const char *GUI_RestrictedRuntimeDebuggerMenuActions;246 SHARED_LIBRARY_STUFF extern const char *GUI_RestrictedRuntimeDebuggerMenuActions; 244 247 #endif 245 248 #ifdef VBOX_WS_MAC 246 249 /** Mac OS X: Holds restricted Runtime UI action types for 'Window' menu. */ 247 extern const char *GUI_RestrictedRuntimeWindowMenuActions;250 SHARED_LIBRARY_STUFF extern const char *GUI_RestrictedRuntimeWindowMenuActions; 248 251 #endif 249 252 /** Holds restricted Runtime UI action types for Help menu. */ 250 extern const char *GUI_RestrictedRuntimeHelpMenuActions;253 SHARED_LIBRARY_STUFF extern const char *GUI_RestrictedRuntimeHelpMenuActions; 251 254 /** Holds restricted Runtime UI visual-states. */ 252 extern const char *GUI_RestrictedVisualStates;255 SHARED_LIBRARY_STUFF extern const char *GUI_RestrictedVisualStates; 253 256 /** Holds whether full screen visual-state is requested. */ 254 extern const char *GUI_Fullscreen;257 SHARED_LIBRARY_STUFF extern const char *GUI_Fullscreen; 255 258 /** Holds whether seamless visual-state is requested. */ 256 extern const char *GUI_Seamless;259 SHARED_LIBRARY_STUFF extern const char *GUI_Seamless; 257 260 /** Holds whether scaled visual-state is requested. */ 258 extern const char *GUI_Scale;261 SHARED_LIBRARY_STUFF extern const char *GUI_Scale; 259 262 #ifdef VBOX_WS_X11 260 263 /** Holds whether legacy full-screen mode is requested. */ 261 extern const char *GUI_Fullscreen_LegacyMode;264 SHARED_LIBRARY_STUFF extern const char *GUI_Fullscreen_LegacyMode; 262 265 /** Holds whether internal machine-window names should be unique. */ 263 extern const char *GUI_DistinguishMachineWindowGroups;266 SHARED_LIBRARY_STUFF extern const char *GUI_DistinguishMachineWindowGroups; 264 267 #endif /* VBOX_WS_X11 */ 265 268 /** Holds whether guest-screen auto-resize according machine-window size is enabled. */ 266 extern const char *GUI_AutoresizeGuest;269 SHARED_LIBRARY_STUFF extern const char *GUI_AutoresizeGuest; 267 270 /** Prefix used by composite extra-data keys, 268 271 * which holds last guest-screen visibility status per screen-index. */ 269 extern const char *GUI_LastVisibilityStatusForGuestScreen;272 SHARED_LIBRARY_STUFF extern const char *GUI_LastVisibilityStatusForGuestScreen; 270 273 /** Prefix used by composite extra-data keys, 271 274 * which holds last guest-screen size-hint per screen-index. */ 272 extern const char *GUI_LastGuestSizeHint;275 SHARED_LIBRARY_STUFF extern const char *GUI_LastGuestSizeHint; 273 276 /** Prefix used by composite extra-data keys, 274 277 * which holds host-screen index per guest-screen index. */ 275 extern const char *GUI_VirtualScreenToHostScreen;278 SHARED_LIBRARY_STUFF extern const char *GUI_VirtualScreenToHostScreen; 276 279 /** Holds whether automatic mounting/unmounting of guest-screens enabled. */ 277 extern const char *GUI_AutomountGuestScreens;280 SHARED_LIBRARY_STUFF extern const char *GUI_AutomountGuestScreens; 278 281 #ifdef VBOX_WITH_VIDEOHWACCEL 279 282 /** Holds whether 2D acceleration should use linear sretch. */ 280 extern const char *GUI_Accelerate2D_StretchLinear;283 SHARED_LIBRARY_STUFF extern const char *GUI_Accelerate2D_StretchLinear; 281 284 /** Holds whether 2D acceleration should use YV12 pixel format. */ 282 extern const char *GUI_Accelerate2D_PixformatYV12;285 SHARED_LIBRARY_STUFF extern const char *GUI_Accelerate2D_PixformatYV12; 283 286 /** Holds whether 2D acceleration should use UYVY pixel format. */ 284 extern const char *GUI_Accelerate2D_PixformatUYVY;287 SHARED_LIBRARY_STUFF extern const char *GUI_Accelerate2D_PixformatUYVY; 285 288 /** Holds whether 2D acceleration should use YUY2 pixel format. */ 286 extern const char *GUI_Accelerate2D_PixformatYUY2;289 SHARED_LIBRARY_STUFF extern const char *GUI_Accelerate2D_PixformatYUY2; 287 290 /** Holds whether 2D acceleration should use AYUV pixel format. */ 288 extern const char *GUI_Accelerate2D_PixformatAYUV;291 SHARED_LIBRARY_STUFF extern const char *GUI_Accelerate2D_PixformatAYUV; 289 292 #endif /* VBOX_WITH_VIDEOHWACCEL */ 290 293 #ifndef VBOX_WS_MAC 291 294 /** Holds whether mini-toolbar is enabled for full and seamless screens. */ 292 extern const char *GUI_ShowMiniToolBar;295 SHARED_LIBRARY_STUFF extern const char *GUI_ShowMiniToolBar; 293 296 /** Holds whether mini-toolbar should auto-hide itself. */ 294 extern const char *GUI_MiniToolBarAutoHide;297 SHARED_LIBRARY_STUFF extern const char *GUI_MiniToolBarAutoHide; 295 298 /** Holds mini-toolbar alignment. */ 296 extern const char *GUI_MiniToolBarAlignment;299 SHARED_LIBRARY_STUFF extern const char *GUI_MiniToolBarAlignment; 297 300 #endif /* !VBOX_WS_MAC */ 298 301 /** Holds Runtime UI status-bar availability status. */ 299 extern const char *GUI_StatusBar_Enabled;302 SHARED_LIBRARY_STUFF extern const char *GUI_StatusBar_Enabled; 300 303 /** Holds Runtime UI status-bar context-menu availability status. */ 301 extern const char *GUI_StatusBar_ContextMenu_Enabled;304 SHARED_LIBRARY_STUFF extern const char *GUI_StatusBar_ContextMenu_Enabled; 302 305 /** Holds restricted Runtime UI status-bar indicators. */ 303 extern const char *GUI_RestrictedStatusBarIndicators;306 SHARED_LIBRARY_STUFF extern const char *GUI_RestrictedStatusBarIndicators; 304 307 /** Holds Runtime UI status-bar indicator order. */ 305 extern const char *GUI_StatusBar_IndicatorOrder;308 SHARED_LIBRARY_STUFF extern const char *GUI_StatusBar_IndicatorOrder; 306 309 #ifdef VBOX_WS_MAC 307 310 /** Mac OS X: Holds whether Dock icon should be updated at runtime. */ 308 extern const char *GUI_RealtimeDockIconUpdateEnabled;311 SHARED_LIBRARY_STUFF extern const char *GUI_RealtimeDockIconUpdateEnabled; 309 312 /** Mac OS X: Holds guest-screen which Dock icon should reflect at runtime. */ 310 extern const char *GUI_RealtimeDockIconUpdateMonitor;313 SHARED_LIBRARY_STUFF extern const char *GUI_RealtimeDockIconUpdateMonitor; 311 314 /** Mac OS X: Holds whether Dock icon should have overlay disabled. */ 312 extern const char *GUI_DockIconDisableOverlay;315 SHARED_LIBRARY_STUFF extern const char *GUI_DockIconDisableOverlay; 313 316 #endif /* VBOX_WS_MAC */ 314 317 /** Holds whether machine should pass CAD to guest. */ 315 extern const char *GUI_PassCAD;318 SHARED_LIBRARY_STUFF extern const char *GUI_PassCAD; 316 319 /** Holds the mouse capture policy. */ 317 extern const char *GUI_MouseCapturePolicy;320 SHARED_LIBRARY_STUFF extern const char *GUI_MouseCapturePolicy; 318 321 /** Holds redefined guru-meditation handler type. */ 319 extern const char *GUI_GuruMeditationHandler;322 SHARED_LIBRARY_STUFF extern const char *GUI_GuruMeditationHandler; 320 323 /** Holds whether machine should perform HID LEDs synchronization. */ 321 extern const char *GUI_HidLedsSync;324 SHARED_LIBRARY_STUFF extern const char *GUI_HidLedsSync; 322 325 /** Holds the scale-factor. */ 323 extern const char *GUI_ScaleFactor;326 SHARED_LIBRARY_STUFF extern const char *GUI_ScaleFactor; 324 327 /** Holds the scaling optimization type. */ 325 extern const char *GUI_Scaling_Optimization;328 SHARED_LIBRARY_STUFF extern const char *GUI_Scaling_Optimization; 326 329 /** @} */ 327 330 … … 329 332 * @{ */ 330 333 /** Holds information-window geometry. */ 331 extern const char *GUI_InformationWindowGeometry;334 SHARED_LIBRARY_STUFF extern const char *GUI_InformationWindowGeometry; 332 335 /** Holds information-window elements. */ 333 extern const char *GUI_InformationWindowElements;336 SHARED_LIBRARY_STUFF extern const char *GUI_InformationWindowElements; 334 337 extern const char *GUI_GuestSessionManagerTabSplitterHints; 335 338 extern const char *GUI_GuestFileManagerTabSplitterHints; … … 339 342 * @{ */ 340 343 /** Holds default machine close action. */ 341 extern const char *GUI_DefaultCloseAction;344 SHARED_LIBRARY_STUFF extern const char *GUI_DefaultCloseAction; 342 345 /** Holds restricted machine close actions. */ 343 extern const char *GUI_RestrictedCloseActions;346 SHARED_LIBRARY_STUFF extern const char *GUI_RestrictedCloseActions; 344 347 /** Holds last machine close action. */ 345 extern const char *GUI_LastCloseAction;348 SHARED_LIBRARY_STUFF extern const char *GUI_LastCloseAction; 346 349 /** Holds machine close hook script name as simple string. */ 347 extern const char *GUI_CloseActionHook;350 SHARED_LIBRARY_STUFF extern const char *GUI_CloseActionHook; 348 351 /** @} */ 349 352 … … 352 355 * @{ */ 353 356 /** Holds whether debugger UI enabled. */ 354 extern const char *GUI_Dbg_Enabled;357 SHARED_LIBRARY_STUFF extern const char *GUI_Dbg_Enabled; 355 358 /** Holds whether debugger UI should be auto-shown. */ 356 extern const char *GUI_Dbg_AutoShow;359 SHARED_LIBRARY_STUFF extern const char *GUI_Dbg_AutoShow; 357 360 /** @} */ 358 361 #endif /* VBOX_WITH_DEBUGGER_GUI */ … … 361 364 * @{ */ 362 365 /** Holds log-viewer geometry. */ 363 extern const char *GUI_LogWindowGeometry;366 SHARED_LIBRARY_STUFF extern const char *GUI_LogWindowGeometry; 364 367 /** @} */ 365 368 } … … 367 370 368 371 /** Extra-data meta definitions. */ 369 class UIExtraDataMetaDefs : public QObject372 class SHARED_LIBRARY_STUFF UIExtraDataMetaDefs : public QObject 370 373 { 371 374 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.h
r71580 r71630 44 44 * providing GUI with corresponding extra-data values, 45 45 * and notifying it whenever any of those values changed. */ 46 class UIExtraDataManager : public QObject46 class SHARED_LIBRARY_STUFF UIExtraDataManager : public QObject 47 47 { 48 48 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/globals/COMDefs.h
r70114 r71630 83 83 #include <QMetaType> 84 84 85 /* GUI includes: */ 86 #include "UILibraryDefs.h" 87 85 88 /* 86 89 * Additional COM / XPCOM defines and includes … … 104 107 105 108 /** Represents extended error information */ 106 class COMErrorInfo109 class SHARED_LIBRARY_STUFF COMErrorInfo 107 110 { 108 111 public: … … 187 190 * from. Provides common functionality for all COM wrappers. 188 191 */ 189 class COMBase192 class SHARED_LIBRARY_STUFF COMBase 190 193 { 191 194 public: -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIActionPool.h
r71582 r71630 26 26 #include "QIWithRetranslateUI.h" 27 27 #include "UIExtraDataDefs.h" 28 #include "UILibraryDefs.h" 28 29 29 30 /* Forward declarations: */ … … 101 102 102 103 /** QMenu extension. */ 103 class UIMenu : public QMenu104 class SHARED_LIBRARY_STUFF UIMenu : public QMenu 104 105 { 105 106 Q_OBJECT; … … 145 146 146 147 /** Abstract QAction extension. */ 147 class UIAction : public QAction148 class SHARED_LIBRARY_STUFF UIAction : public QAction 148 149 { 149 150 Q_OBJECT; … … 225 226 226 227 /** Abstract UIAction extension for 'Menu' action type. */ 227 class UIActionMenu : public UIAction228 class SHARED_LIBRARY_STUFF UIActionMenu : public UIAction 228 229 { 229 230 Q_OBJECT; … … 256 257 257 258 /** Abstract UIAction extension for 'Simple' action type. */ 258 class UIActionSimple : public UIAction259 class SHARED_LIBRARY_STUFF UIActionSimple : public UIAction 259 260 { 260 261 Q_OBJECT; … … 284 285 285 286 /** Abstract UIAction extension for 'Toggle' action type. */ 286 class UIActionToggle : public UIAction287 class SHARED_LIBRARY_STUFF UIActionToggle : public UIAction 287 288 { 288 289 Q_OBJECT; … … 316 317 317 318 /** Abstract UIAction extension for 'Polymorphic' action type. */ 318 class UIActionPolymorphic : public UIAction319 class SHARED_LIBRARY_STUFF UIActionPolymorphic : public UIAction 319 320 { 320 321 Q_OBJECT; … … 355 356 356 357 /** Abstract UIAction extension for 'Polymorphic Menu' action type. */ 357 class UIActionPolymorphicMenu : public UIAction358 class SHARED_LIBRARY_STUFF UIActionPolymorphicMenu : public UIAction 358 359 { 359 360 Q_OBJECT; … … 416 417 /** Abstract QObject extension 417 418 * representing action-pool interface and factory. */ 418 class UIActionPool : public QIWithRetranslateUI3<QObject>419 class SHARED_LIBRARY_STUFF UIActionPool : public QIWithRetranslateUI3<QObject> 419 420 { 420 421 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIAnimationFramework.h
r71425 r71630 22 22 #include <QObject> 23 23 24 /* GUI includes: */ 25 #include "UILibraryDefs.h" 26 24 27 /* Forward declaration: */ 25 28 class QPropertyAnimation; … … 29 32 30 33 /** QObject subclass used as animation factory. */ 31 class UIAnimation : public QObject34 class SHARED_LIBRARY_STUFF UIAnimation : public QObject 32 35 { 33 36 Q_OBJECT; … … 111 114 112 115 /** QObject subclass used as animation loop factory. */ 113 class UIAnimationLoop : public QObject116 class SHARED_LIBRARY_STUFF UIAnimationLoop : public QObject 114 117 { 115 118 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIDefs.h
r71428 r71630 22 22 #include <QEvent> 23 23 #include <QStringList> 24 25 /* GUI includes: */ 26 #include "UILibraryDefs.h" 24 27 25 28 /* COM includes: */ … … 77 80 78 81 /** Default guest additions image name. */ 79 extern const char* GUI_GuestAdditionsName;82 SHARED_LIBRARY_STUFF extern const char* GUI_GuestAdditionsName; 80 83 /** Default extension pack name. */ 81 extern const char* GUI_ExtPackName;84 SHARED_LIBRARY_STUFF extern const char* GUI_ExtPackName; 82 85 83 86 /** Allowed VBox file extensions. */ 84 extern QStringList VBoxFileExts;87 SHARED_LIBRARY_STUFF extern QStringList VBoxFileExts; 85 88 /** Allowed VBox Extension Pack file extensions. */ 86 extern QStringList VBoxExtPackFileExts;89 SHARED_LIBRARY_STUFF extern QStringList VBoxExtPackFileExts; 87 90 /** Allowed OVF file extensions. */ 88 extern QStringList OVFFileExts;91 SHARED_LIBRARY_STUFF extern QStringList OVFFileExts; 89 92 /** Allowed OPC file extensions. */ 90 extern QStringList OPCFileExts;93 SHARED_LIBRARY_STUFF extern QStringList OPCFileExts; 91 94 } 92 95 using namespace UIDefs /* if header included */; -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIDesktopWidgetWatchdog.h
r71429 r71630 26 26 #endif 27 27 28 /* GUI includes: */ 29 #include "UILibraryDefs.h" 30 28 31 /* Forward declarations: */ 29 32 class QScreen; … … 31 34 /** Singleton QObject extension used as desktop-widget 32 35 * watchdog aware of the host-screen geometry changes. */ 33 class UIDesktopWidgetWatchdog : public QObject36 class SHARED_LIBRARY_STUFF UIDesktopWidgetWatchdog : public QObject 34 37 { 35 38 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIErrorString.h
r71436 r71630 22 22 #include <QString> 23 23 24 /* GUI includes: */ 25 #include "UILibraryDefs.h" 26 24 27 /* Other VBox includes: */ 25 28 #include <VBox/com/defs.h> … … 33 36 34 37 /** Namespace simplifying COM error formatting. */ 35 class UIErrorString38 class SHARED_LIBRARY_STUFF UIErrorString 36 39 { 37 40 public: -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIIconPool.h
r71452 r71630 24 24 #include <QHash> 25 25 26 /* GUI includes: */ 27 #include "UILibraryDefs.h" 28 26 29 /* Forward declarations: */ 27 30 class CMachine; … … 30 33 /** Interface which provides GUI with static API 31 34 * allowing to dynamically compose icons at runtime. */ 32 class UIIconPool35 class SHARED_LIBRARY_STUFF UIIconPool 33 36 { 34 37 public: … … 103 106 /** UIIconPool interface extension used as general GUI icon-pool. 104 107 * Provides GUI with guest OS types pixmap cache. */ 105 class UIIconPoolGeneral : public UIIconPool108 class SHARED_LIBRARY_STUFF UIIconPoolGeneral : public UIIconPool 106 109 { 107 110 public: -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMainEventListener.h
r71454 r71630 22 22 #include <QList> 23 23 #include <QObject> 24 25 /* GUI includes: */ 26 #include "UILibraryDefs.h" 24 27 25 28 /* COM includes: */ … … 58 61 59 62 /** Main event listener. */ 60 class UIMainEventListener : public QObject63 class SHARED_LIBRARY_STUFF UIMainEventListener : public QObject 61 64 { 62 65 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.h
r71459 r71630 23 23 24 24 /* GUI includes: */ 25 #include "UILibraryDefs.h" 25 26 #include "UIMediumDefs.h" 26 27 … … 52 53 /** Singleton QObject extension 53 54 * providing GUI with corresponding messages. */ 54 class UIMessageCenter : public QObject55 class SHARED_LIBRARY_STUFF UIMessageCenter : public QObject 55 56 { 56 57 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIModalWindowManager.h
r71375 r71630 24 24 #include <QList> 25 25 26 /* GUI includes: */ 27 #include "UILibraryDefs.h" 28 26 29 /** QObject subclass which contains a stack(s) of guarded-pointer(s) to the current top-level 27 30 * modal-window(s) which could be used to determine parents for new top-level modal-dialog(s). */ 28 class UIModalWindowManager : public QObject31 class SHARED_LIBRARY_STUFF UIModalWindowManager : public QObject 29 32 { 30 33 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIPopupCenter.h
r71489 r71630 25 25 26 26 /* GUI includes: */ 27 #include "UILibraryDefs.h" 27 28 #include "UIMediumDefs.h" 28 29 … … 57 58 /** Singleton QObject extension 58 59 * providing GUI with various popup messages. */ 59 class UIPopupCenter: public QObject60 class SHARED_LIBRARY_STUFF UIPopupCenter: public QObject 60 61 { 61 62 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIShortcutPool.h
r71525 r71630 24 24 /* GUI includes: */ 25 25 #include "QIWithRetranslateUI.h" 26 #include "UILibraryDefs.h" 26 27 27 28 /* Forward declarations: */ … … 33 34 34 35 /** Shortcut descriptor prototype. */ 35 class UIShortcut36 class SHARED_LIBRARY_STUFF UIShortcut 36 37 { 37 38 public: … … 85 86 86 87 /** QObject extension used as shortcut pool singleton. */ 87 class UIShortcutPool : public QIWithRetranslateUI3<QObject>88 class SHARED_LIBRARY_STUFF UIShortcutPool : public QIWithRetranslateUI3<QObject> 88 89 { 89 90 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIThreadPool.h
r71526 r71630 28 28 #include <QWaitCondition> 29 29 30 /* GUI includes: */ 31 #include "UILibraryDefs.h" 32 30 33 /* Forward declarations: */ 31 34 class UITask; … … 35 38 /** QObject extension used as worker-thread pool. 36 39 * Schedules COM-related GUI tasks to multiple worker-threads. */ 37 class UIThreadPool : public QObject40 class SHARED_LIBRARY_STUFF UIThreadPool : public QObject 38 41 { 39 42 Q_OBJECT; … … 114 117 /** QObject extension used as worker-thread task interface. 115 118 * Describes task to be executed by the UIThreadWorker object. */ 116 class UITask : public QObject119 class SHARED_LIBRARY_STUFF UITask : public QObject 117 120 { 118 121 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.h
r71461 r71630 25 25 /* GUI includes: */ 26 26 #include "UIDefs.h" 27 #include "UILibraryDefs.h" 27 28 #include "UIMediumDefs.h" 28 29 #ifdef VBOX_WS_X11 … … 58 59 59 60 /** QObject subclass containing common GUI functionality. */ 60 class VBoxGlobal : public QObject61 class SHARED_LIBRARY_STUFF VBoxGlobal : public QObject 61 62 { 62 63 Q_OBJECT -
trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxUtils.h
r71551 r71630 25 25 26 26 /* GUI includes: */ 27 #include "UILibraryDefs.h" 27 28 #ifdef VBOX_WS_MAC 28 29 # include "VBoxUtils-darwin.h" … … 35 36 /** QObject subclass, 36 37 * allowing to apply string-property value for a certain QObject. */ 37 class QObjectPropertySetter : public QObject38 class SHARED_LIBRARY_STUFF QObjectPropertySetter : public QObject 38 39 { 39 40 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/medium/UIMedium.h
r69568 r71630 24 24 25 25 /* GUI includes: */ 26 #include "UILibraryDefs.h" 26 27 #include "UIMediumDefs.h" 27 28 … … 79 80 * from the accessible medium. The real KMediumState_NotCreated state is not necessary because 80 81 * this class is only used with created (existing) mediums. */ 81 class UIMedium82 class SHARED_LIBRARY_STUFF UIMedium 82 83 { 83 84 public: -
trunk/src/VBox/Frontends/VirtualBox/src/medium/UIMediumDefs.h
r70111 r71630 22 22 #include <QString> 23 23 24 /* GUI includes: */ 25 #include "UILibraryDefs.h" 26 24 27 /* COM includes: */ 25 28 #include "COMEnums.h" … … 43 46 44 47 /** Converts global medium type (KDeviceType) to local (UIMediumType). */ 45 UIMediumType mediumTypeToLocal(KDeviceType globalType);48 SHARED_LIBRARY_STUFF UIMediumType mediumTypeToLocal(KDeviceType globalType); 46 49 47 50 /** Convert local medium type (UIMediumType) to global (KDeviceType). */ 48 KDeviceType mediumTypeToGlobal(UIMediumType localType);51 SHARED_LIBRARY_STUFF KDeviceType mediumTypeToGlobal(UIMediumType localType); 49 52 } 50 53 /* Using this namespace globally: */ -
trunk/src/VBox/Frontends/VirtualBox/src/medium/UIMediumEnumerator.h
r69500 r71630 24 24 25 25 /* GUI includes: */ 26 #include "UILibraryDefs.h" 26 27 #include "UIMedium.h" 27 28 #include "QIWithRetranslateUI.h" … … 36 37 /* Medium-enumerator prototype. 37 38 * Manages access to medium information using thread-pool interface. */ 38 class UIMediumEnumerator : public QIWithRetranslateUI3<QObject>39 class SHARED_LIBRARY_STUFF UIMediumEnumerator : public QIWithRetranslateUI3<QObject> 39 40 { 40 41 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/net/UIDownloader.h
r71434 r71630 24 24 25 25 /* GUI includes: */ 26 #include "UILibraryDefs.h" 26 27 #include "UINetworkCustomer.h" 27 28 #include "UINetworkDefs.h" … … 33 34 /** Downloader interface. 34 35 * UINetworkCustomer class extension which allows background http downloading. */ 35 class UIDownloader : public UINetworkCustomer36 class SHARED_LIBRARY_STUFF UIDownloader : public UINetworkCustomer 36 37 { 37 38 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/net/UIDownloaderAdditions.h
r71434 r71630 26 26 27 27 /** UIDownloader extension for background additions downloading. */ 28 class UIDownloaderAdditions : public UIDownloader28 class SHARED_LIBRARY_STUFF UIDownloaderAdditions : public UIDownloader 29 29 { 30 30 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/net/UIDownloaderExtensionPack.h
r71434 r71630 26 26 27 27 /** UIDownloader extension for background extension-pack downloading. */ 28 class UIDownloaderExtensionPack : public UIDownloader28 class SHARED_LIBRARY_STUFF UIDownloaderExtensionPack : public UIDownloader 29 29 { 30 30 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/net/UIDownloaderUserManual.h
r71434 r71630 23 23 24 24 /** UIDownloader extension for background user-manual downloading. */ 25 class UIDownloaderUserManual : public UIDownloader25 class SHARED_LIBRARY_STUFF UIDownloaderUserManual : public UIDownloader 26 26 { 27 27 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/net/UINetworkCustomer.h
r71466 r71630 23 23 24 24 /* GUI includes: */ 25 #include "UILibraryDefs.h" 25 26 #include "UINetworkDefs.h" 26 27 … … 30 31 31 32 /** Interface to access UINetworkManager protected functionality. */ 32 class UINetworkCustomer : public QObject33 class SHARED_LIBRARY_STUFF UINetworkCustomer : public QObject 33 34 { 34 35 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/net/UINetworkManager.h
r71466 r71630 24 24 25 25 /* GUI inludes: */ 26 #include "UILibraryDefs.h" 26 27 #include "UINetworkDefs.h" 27 28 … … 36 37 /** QObject class extension. 37 38 * Providing network access for VirtualBox application purposes. */ 38 class UINetworkManager : public QObject39 class SHARED_LIBRARY_STUFF UINetworkManager : public QObject 39 40 { 40 41 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/net/UINetworkManagerDialog.h
r71466 r71630 26 26 /* GUI includes: */ 27 27 #include "QIWithRetranslateUI.h" 28 #include "UILibraryDefs.h" 28 29 29 30 /* Forward declarations: */ … … 36 37 37 38 /** QMainWindow reimplementation to reflect network-requests. */ 38 class UINetworkManagerDialog : public QIWithRetranslateUI<QMainWindow>39 class SHARED_LIBRARY_STUFF UINetworkManagerDialog : public QIWithRetranslateUI<QMainWindow> 39 40 { 40 41 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/net/UINetworkManagerIndicator.h
r71466 r71630 26 26 #include "QIStatusBarIndicator.h" 27 27 #include "QIWithRetranslateUI.h" 28 #include "UILibraryDefs.h" 28 29 29 30 /* Forward declarations: */ … … 41 42 42 43 /** QIStateStatusBarIndicator extension for network-manager indicator. */ 43 class UINetworkManagerIndicator : public QIWithRetranslateUI<QIStateStatusBarIndicator>44 class SHARED_LIBRARY_STUFF UINetworkManagerIndicator : public QIWithRetranslateUI<QIStateStatusBarIndicator> 44 45 { 45 46 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/net/UINetworkReply.h
r71466 r71630 24 24 25 25 /* GUI includes: */ 26 #include "UILibraryDefs.h" 26 27 #include "UINetworkDefs.h" 27 28 … … 31 32 /** QObject extension 32 33 * used as network-reply interface. */ 33 class UINetworkReply : public QObject34 class SHARED_LIBRARY_STUFF UINetworkReply : public QObject 34 35 { 35 36 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/net/UINetworkRequest.h
r71466 r71630 24 24 25 25 /* GUI inludes: */ 26 #include "UILibraryDefs.h" 26 27 #include "UINetworkDefs.h" 27 28 #include "UINetworkReply.h" … … 35 36 36 37 /** QObject extension used as network-request container. */ 37 class UINetworkRequest : public QObject38 class SHARED_LIBRARY_STUFF UINetworkRequest : public QObject 38 39 { 39 40 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/net/UINetworkRequestWidget.h
r71466 r71630 21 21 /* GUI inludes: */ 22 22 #include "QIWithRetranslateUI.h" 23 #include "UILibraryDefs.h" 23 24 #include "UIPopupBox.h" 24 25 … … 34 35 35 36 /** UIPopupBox reimplementation to reflect network-request status. */ 36 class UINetworkRequestWidget : public QIWithRetranslateUI<UIPopupBox>37 class SHARED_LIBRARY_STUFF UINetworkRequestWidget : public QIWithRetranslateUI<UIPopupBox> 37 38 { 38 39 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/net/UIUpdateDefs.h
r71528 r71630 23 23 24 24 /* GUI includes: */ 25 #include "UILibraryDefs.h" 25 26 #include "UIVersion.h" 26 27 … … 41 42 42 43 /** Class used to encode/decode update data. */ 43 class VBoxUpdateData44 class SHARED_LIBRARY_STUFF VBoxUpdateData 44 45 { 45 46 public: -
trunk/src/VBox/Frontends/VirtualBox/src/net/UIUpdateManager.h
r71461 r71630 22 22 #include <QObject> 23 23 24 /* GUI includes: */ 25 #include "UILibraryDefs.h" 26 24 27 /* Forward declarations: */ 25 28 class UIUpdateQueue; … … 27 30 /** Singleton to perform new version checks 28 31 * and update of various VirtualBox parts. */ 29 class UIUpdateManager : public QObject32 class SHARED_LIBRARY_STUFF UIUpdateManager : public QObject 30 33 { 31 34 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/platform/x11/VBoxX11Helper.h
r71544 r71630 19 19 #define ___VBoxX11Helpers_h___ 20 20 21 /* GUI includes: */ 22 #include "UILibraryDefs.h" 23 21 24 22 25 /** X11: Known Window Manager types. */ … … 34 37 35 38 /** X11: Determines and returns whether the compositing manager is running. */ 36 bool X11IsCompositingManagerRunning();39 SHARED_LIBRARY_STUFF bool X11IsCompositingManagerRunning(); 37 40 38 41 /** X11: Determines and returns current Window Manager type. */ 39 X11WMType X11WindowManagerType();42 SHARED_LIBRARY_STUFF X11WMType X11WindowManagerType(); 40 43 41 44 /** X11: Inits the screen saver save/restore mechanism. */ 42 void X11ScreenSaverSettingsInit();45 SHARED_LIBRARY_STUFF void X11ScreenSaverSettingsInit(); 43 46 /** X11: Saves screen saver settings. */ 44 void X11ScreenSaverSettingsSave();47 SHARED_LIBRARY_STUFF void X11ScreenSaverSettingsSave(); 45 48 /** X11: Restores previously saved screen saver settings. */ 46 void X11ScreenSaverSettingsRestore();49 SHARED_LIBRARY_STUFF void X11ScreenSaverSettingsRestore(); 47 50 48 51 -
trunk/src/VBox/Frontends/VirtualBox/src/platform/x11/XKeyboard.h
r71540 r71630 19 19 #define ___XKeyboard_h___ 20 20 21 /* GUI includes: */ 22 #include "UILibraryDefs.h" 23 21 24 /* Forward declarations: */ 22 25 class QString; … … 24 27 25 28 /** Initializes the X keyboard subsystem. */ 26 void initMappedX11Keyboard(Display *pDisplay, const QString &remapScancodes);29 SHARED_LIBRARY_STUFF void initMappedX11Keyboard(Display *pDisplay, const QString &remapScancodes); 27 30 28 31 /** Handles native XKey events. */ 29 unsigned handleXKeyEvent(Display *pDisplay, unsigned int iDetail);32 SHARED_LIBRARY_STUFF unsigned handleXKeyEvent(Display *pDisplay, unsigned int iDetail); 30 33 31 34 /** Handles log requests from initXKeyboard after release logging is started. */ 32 void doXKeyboardLogging(Display *pDisplay);35 SHARED_LIBRARY_STUFF void doXKeyboardLogging(Display *pDisplay); 33 36 34 37 /** Wraps for the XkbKeycodeToKeysym(3) API which falls back to the deprecated XKeycodeToKeysym(3) if it is unavailable. */ 35 unsigned long wrapXkbKeycodeToKeysym(Display *pDisplay, unsigned char cCode,36 unsigned int cGroup, unsigned int cIndex);38 SHARED_LIBRARY_STUFF unsigned long wrapXkbKeycodeToKeysym(Display *pDisplay, unsigned char cCode, 39 unsigned int cGroup, unsigned int cIndex); 37 40 38 41 #endif /* !___XKeyboard_h___ */ -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIActionPoolRuntime.h
r71624 r71630 26 26 #include "UIActionPool.h" 27 27 #include "UIExtraDataDefs.h" 28 #include "UILibraryDefs.h" 28 29 29 30 /* Forward declarations: */ … … 138 139 /** UIActionPool extension 139 140 * representing action-pool singleton for Runtime UI. */ 140 class UIActionPoolRuntime : public UIActionPool141 class SHARED_LIBRARY_STUFF UIActionPoolRuntime : public UIActionPool 141 142 { 142 143 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/selector/UIActionPoolSelector.h
r71621 r71630 21 21 /* GUI includes: */ 22 22 #include "UIActionPool.h" 23 #include "UILibraryDefs.h" 23 24 24 25 … … 113 114 /** UIActionPool extension 114 115 * representing action-pool singleton for Selector UI. */ 115 class UIActionPoolSelector : public UIActionPool116 class SHARED_LIBRARY_STUFF UIActionPoolSelector : public UIActionPool 116 117 { 117 118 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/selector/UIVirtualBoxEventHandler.h
r71571 r71630 22 22 #include <QObject> 23 23 24 /* GUI includes: */ 25 #include "UILibraryDefs.h" 26 24 27 /* COM includes: */ 25 28 #include "COMEnums.h" … … 30 33 /** Singleton QObject extension 31 34 * providing GUI with the CVirtualBoxClient and CVirtualBox event-sources. */ 32 class UIVirtualBoxEventHandler : public QObject35 class SHARED_LIBRARY_STUFF UIVirtualBoxEventHandler : public QObject 33 36 { 34 37 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDefs.h
r71524 r71630 24 24 #include <QString> 25 25 26 /* GUI includes: */ 27 #include "UILibraryDefs.h" 28 26 29 /* COM includes: */ 27 30 #include "COMEnums.h" … … 47 50 48 51 /** Determines configuration access level for passed @a enmSessionState and @a enmMachineState. */ 49 ConfigurationAccessLevel configurationAccessLevel(KSessionState enmSessionState,50 KMachineState enmMachineState);52 SHARED_LIBRARY_STUFF ConfigurationAccessLevel configurationAccessLevel(KSessionState enmSessionState, 53 KMachineState enmMachineState); 51 54 } 52 55 -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIHostComboEditor.h
r71451 r71630 27 27 /* GUI includes: */ 28 28 #include "QIWithRetranslateUI.h" 29 #include "UILibraryDefs.h" 29 30 30 31 /* Forward declarations: */ … … 44 45 { 45 46 /** Translates passed @a iKeyCode to string. */ 46 QString toString(int iKeyCode);47 SHARED_LIBRARY_STUFF QString toString(int iKeyCode); 47 48 48 49 /** Returns whether passed @a iKeyCode is valid. */ 49 bool isValidKey(int iKeyCode);50 SHARED_LIBRARY_STUFF bool isValidKey(int iKeyCode); 50 51 51 52 /** Translates passed @a iKeyCode in host platform 52 53 * encoding to the corresponding set 1 PC scan code. 53 54 * @note Non-modifier keys will return zero. */ 54 unsigned modifierToSet1ScanCode(int iKeyCode);55 SHARED_LIBRARY_STUFF unsigned modifierToSet1ScanCode(int iKeyCode); 55 56 56 57 #if defined(VBOX_WS_WIN) 57 58 /** Distinguishes modifier VKey by @a wParam and @a lParam. */ 58 int distinguishModifierVKey(int wParam, int lParam);59 SHARED_LIBRARY_STUFF int distinguishModifierVKey(int wParam, int lParam); 59 60 #elif defined(VBOX_WS_X11) 60 61 /** Retranslates key names. */ 61 void retranslateKeyNames();62 SHARED_LIBRARY_STUFF void retranslateKeyNames(); 62 63 #endif 63 64 } … … 69 70 { 70 71 /** Returns host-combo modifier index. */ 71 int hostComboModifierIndex();72 SHARED_LIBRARY_STUFF int hostComboModifierIndex(); 72 73 /** Returns host-combo modifier name. */ 73 QString hostComboModifierName();74 SHARED_LIBRARY_STUFF QString hostComboModifierName(); 74 75 /** Returns host-combo cached key. */ 75 QString hostComboCacheKey();76 SHARED_LIBRARY_STUFF QString hostComboCacheKey(); 76 77 77 78 /** Translates passed @strKeyCombo to readable string. */ 78 QString toReadableString(const QString &strKeyCombo);79 SHARED_LIBRARY_STUFF QString toReadableString(const QString &strKeyCombo); 79 80 /** Translates passed @strKeyCombo to key codes list. */ 80 QList<int> toKeyCodeList(const QString &strKeyCombo);81 SHARED_LIBRARY_STUFF QList<int> toKeyCodeList(const QString &strKeyCombo); 81 82 82 83 /** Returns a sequence of the set 1 PC scan codes for all 83 84 * modifiers contained in the (host platform format) sequence passed. */ 84 QList<unsigned> modifiersToScanCodes(const QString &strKeyCombo);85 SHARED_LIBRARY_STUFF QList<unsigned> modifiersToScanCodes(const QString &strKeyCombo); 85 86 86 87 /** Returns whether passed @a strKeyCombo is valid. */ 87 bool isValidKeyCombo(const QString &strKeyCombo);88 SHARED_LIBRARY_STUFF bool isValidKeyCombo(const QString &strKeyCombo); 88 89 } 89 90 90 91 91 92 /** Host-combo QString wrapper. */ 92 class UIHostComboWrapper93 class SHARED_LIBRARY_STUFF UIHostComboWrapper 93 94 { 94 95 public: … … 111 112 112 113 /** Host-combo editor widget. */ 113 class UIHostComboEditor : public QIWithRetranslateUI<QWidget>114 class SHARED_LIBRARY_STUFF UIHostComboEditor : public QIWithRetranslateUI<QWidget> 114 115 { 115 116 Q_OBJECT; … … 154 155 155 156 /** Host-combo editor widget private stuff. */ 156 class UIHostComboEditorPrivate : public QLineEdit157 class SHARED_LIBRARY_STUFF UIHostComboEditorPrivate : public QLineEdit 157 158 { 158 159 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIPopupBox.h
r71484 r71630 23 23 #include <QWidget> 24 24 25 /* GUI includes: */ 26 #include "UILibraryDefs.h" 27 25 28 /* Forward declarations: */ 26 29 class QEvent; … … 38 41 /** QWidget extension, 39 42 * wrapping content-widget with nice collapsable frame. */ 40 class UIPopupBox : public QWidget43 class SHARED_LIBRARY_STUFF UIPopupBox : public QWidget 41 44 { 42 45 Q_OBJECT; … … 174 177 /** QObject extension, 175 178 * provides a container to organize groups of popup-boxes. */ 176 class UIPopupBoxGroup : public QObject179 class SHARED_LIBRARY_STUFF UIPopupBoxGroup : public QObject 177 180 { 178 181 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIPopupPane.h
r71490 r71630 25 25 /* GUI includes: */ 26 26 #include "QIWithRetranslateUI.h" 27 #include "UILibraryDefs.h" 27 28 28 29 /* Forward declaration: */ … … 42 43 43 44 /** QWidget extension used as popup-center pane prototype. */ 44 class UIPopupPane : public QIWithRetranslateUI<QWidget>45 class SHARED_LIBRARY_STUFF UIPopupPane : public QIWithRetranslateUI<QWidget> 45 46 { 46 47 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIPopupPaneButtonPane.h
r71513 r71630 23 23 #include <QMap> 24 24 25 /* GUI includes: */ 26 #include "UILibraryDefs.h" 27 25 28 /* Forward declarations: */ 26 29 class QHBoxLayout; … … 31 34 32 35 /** QWidget extension providing GUI with popup-pane button-pane prototype class. */ 33 class UIPopupPaneButtonPane : public QWidget36 class SHARED_LIBRARY_STUFF UIPopupPaneButtonPane : public QWidget 34 37 { 35 38 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIPopupPaneDetails.h
r71515 r71630 22 22 #include <QWidget> 23 23 24 /* GUI includes: */ 25 #include "UILibraryDefs.h" 26 24 27 /* Forward declarations: */ 25 28 class QTextEdit; … … 27 30 28 31 /** QWidget extension providing GUI with popup-pane details-pane prototype class. */ 29 class UIPopupPaneDetails : public QWidget32 class SHARED_LIBRARY_STUFF UIPopupPaneDetails : public QWidget 30 33 { 31 34 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIPopupPaneMessage.h
r71515 r71630 22 22 #include <QWidget> 23 23 24 /* GUI includes: */ 25 #include "UILibraryDefs.h" 26 24 27 /* Forward declarations: */ 25 28 class QLabel; … … 27 30 28 31 /** QWidget extension providing GUI with popup-pane message-pane prototype class. */ 29 class UIPopupPaneMessage : public QWidget32 class SHARED_LIBRARY_STUFF UIPopupPaneMessage : public QWidget 30 33 { 31 34 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIPopupStack.h
r71521 r71630 24 24 25 25 /* GUI includes: */ 26 #include "UILibraryDefs.h" 26 27 #include "UIPopupCenter.h" 27 28 … … 37 38 38 39 /** QWidget extension providing GUI with popup-stack prototype class. */ 39 class UIPopupStack : public QWidget40 class SHARED_LIBRARY_STUFF UIPopupStack : public QWidget 40 41 { 41 42 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIPopupStackViewport.h
r71521 r71630 23 23 #include <QMap> 24 24 25 /* GUI includes: */ 26 #include "UILibraryDefs.h" 27 25 28 /* Forward declaration: */ 26 29 class QSize; … … 29 32 30 33 /** QWidget extension providing GUI with popup-stack viewport prototype class. */ 31 class UIPopupStackViewport : public QWidget34 class SHARED_LIBRARY_STUFF UIPopupStackViewport : public QWidget 32 35 { 33 36 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIProgressDialog.h
r71578 r71630 22 22 #include "QIDialog.h" 23 23 #include "QIWithRetranslateUI.h" 24 #include "UILibraryDefs.h" 24 25 25 26 /* Forward declarations: */ … … 38 39 * @note The CProgress instance is passed as a non-const reference to the constructor (to memorize COM errors if they happen), 39 40 * and therefore must not be destroyed before the created UIProgressDialog instance is destroyed. */ 40 class UIProgressDialog : public QIWithRetranslateUI2<QIDialog>41 class SHARED_LIBRARY_STUFF UIProgressDialog : public QIWithRetranslateUI2<QIDialog> 41 42 { 42 43 Q_OBJECT; … … 170 171 * before the created UIProgress instance is destroyed. 171 172 * @todo To be moved to separate files. */ 172 class UIProgress : public QObject173 class SHARED_LIBRARY_STUFF UIProgress : public QObject 173 174 { 174 175 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UISpecialControls.h
r71577 r71630 27 27 /* GUI includes: */ 28 28 #include "QIWithRetranslateUI.h" 29 #include "UILibraryDefs.h" 29 30 #ifdef VBOX_DARWIN_USE_NATIVE_CONTROLS 30 31 # include "UICocoaSpecialControls.h" … … 42 43 43 44 /** QAbstractButton subclass, used as mini cancel button. */ 44 class UIMiniCancelButton : public QAbstractButton45 class SHARED_LIBRARY_STUFF UIMiniCancelButton : public QAbstractButton 45 46 { 46 47 Q_OBJECT; … … 73 74 74 75 /** QAbstractButton subclass, used as mini cancel button. */ 75 class UIHelpButton : public QPushButton76 class SHARED_LIBRARY_STUFF UIHelpButton : public QPushButton 76 77 { 77 78 Q_OBJECT; … … 102 103 103 104 /** QAbstractButton subclass, used as mini cancel button. */ 104 class UIMiniCancelButton : public QIWithRetranslateUI<QIToolButton>105 class SHARED_LIBRARY_STUFF UIMiniCancelButton : public QIWithRetranslateUI<QIToolButton> 105 106 { 106 107 Q_OBJECT; … … 119 120 120 121 /** QAbstractButton subclass, used as mini cancel button. */ 121 class UIHelpButton : public QIWithRetranslateUI<QPushButton>122 class SHARED_LIBRARY_STUFF UIHelpButton : public QIWithRetranslateUI<QPushButton> 122 123 { 123 124 Q_OBJECT; -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIToolBar.h
r71527 r71630 22 22 #include <QToolBar> 23 23 24 /* GUI includes: */ 25 #include "UILibraryDefs.h" 26 24 27 /* Forward declarations: */ 25 28 class QMainWindow; … … 27 30 /** QToolBar extension 28 31 * with few settings presets. */ 29 class UIToolBar : public QToolBar32 class SHARED_LIBRARY_STUFF UIToolBar : public QToolBar 30 33 { 31 34 Q_OBJECT;
Note:
See TracChangeset
for help on using the changeset viewer.