Changeset 9056 in vbox for trunk/src/VBox/Frontends/VirtualBox4/include
- Timestamp:
- May 22, 2008 1:56:00 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 31151
- Location:
- trunk/src/VBox/Frontends/VirtualBox4/include
- Files:
-
- 1 added
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/include/QIDialogButtonBox.h
r8946 r9056 24 24 #define __QIDialogButtonBox_h__ 25 25 26 #include "QIWithRetranslateUI.h" 27 26 28 /* Qt includes */ 27 29 #include <QDialogButtonBox> 28 30 29 class QIDialogButtonBox: public Q DialogButtonBox31 class QIDialogButtonBox: public QIWithRetranslateUI<QDialogButtonBox> 30 32 { 31 33 public: 32 QIDialogButtonBox (QWidget *aParent = 0) :Q DialogButtonBox(aParent) {}33 QIDialogButtonBox (Qt::Orientation aOrientation, QWidget *aParent = 0) :Q DialogButtonBox (aOrientation, aParent) {}34 QIDialogButtonBox (QWidget *aParent = 0) :QIWithRetranslateUI<QDialogButtonBox> (aParent) {} 35 QIDialogButtonBox (Qt::Orientation aOrientation, QWidget *aParent = 0) :QIWithRetranslateUI<QDialogButtonBox> (aParent) { setOrientation (aOrientation); } 34 36 QIDialogButtonBox (StandardButtons aButtons, Qt::Orientation aOrientation = Qt::Horizontal, QWidget *aParent = 0); 35 37 … … 40 42 41 43 protected: 42 virtual void changeEvent (QEvent *aEvent); 44 43 45 void retranslateUi(); 44 46 }; -
trunk/src/VBox/Frontends/VirtualBox4/include/VBoxCloseVMDlg.h
r8332 r9056 24 24 #define __VBoxCloseVMDlg_h__ 25 25 26 #include <VBoxCloseVMDlg.gen.h> 27 #include <QIDialog.h> 26 #include "VBoxCloseVMDlg.gen.h" 27 #include "QIWithRetranslateUI.h" 28 #include "QIDialog.h" 28 29 29 class VBoxCloseVMDlg : public QIDialog, public Ui::VBoxCloseVMDlg 30 class VBoxCloseVMDlg : public QIWithRetranslateUI2<QIDialog>, 31 public Ui::VBoxCloseVMDlg 30 32 { 31 Q_OBJECT 33 Q_OBJECT; 32 34 33 35 public: 34 36 35 37 VBoxCloseVMDlg (QWidget *aParent); 38 39 protected: 40 41 void retranslateUi(); 36 42 }; 37 43 -
trunk/src/VBox/Frontends/VirtualBox4/include/VBoxConsoleWnd.h
r8946 r9056 25 25 26 26 #include "COMDefs.h" 27 #include "QIWithRetranslateUI.h" 27 28 28 29 /* Qt includes */ … … 54 55 class VBoxSwitchMenu; 55 56 56 class VBoxConsoleWnd : public Q MainWindow57 class VBoxConsoleWnd : public QIWithRetranslateUI2<QMainWindow> 57 58 { 58 Q_OBJECT 59 Q_OBJECT; 59 60 60 61 public: … … 97 98 #endif 98 99 99 virtual void changeEvent (QEvent *aEvent);100 100 void retranslateUi(); 101 101 -
trunk/src/VBox/Frontends/VirtualBox4/include/VBoxDefs.h
r8219 r9056 150 150 ShowWindowEventType, 151 151 #endif 152 ChangeGUILanguageEventType, 152 153 }; 153 154 -
trunk/src/VBox/Frontends/VirtualBox4/include/VBoxDownloaderWgt.h
r8946 r9056 25 25 26 26 #include "HappyHttp.h" 27 #include "QIWithRetranslateUI.h" 27 28 28 29 /* Qt includes */ … … 46 47 * into the VM console status bar. 47 48 */ 48 class VBoxDownloaderWgt : public Q Widget49 class VBoxDownloaderWgt : public QIWithRetranslateUI<QWidget> 49 50 { 50 Q_OBJECT 51 Q_OBJECT; 51 52 52 53 public: … … 59 60 60 61 protected: 61 virtual void changeEvent (QEvent *aEvent); 62 62 63 void retranslateUi(); 63 64 -
trunk/src/VBox/Frontends/VirtualBox4/include/VBoxGlobal.h
r8946 r9056 137 137 138 138 const bool mCanShow; 139 }; 140 141 class VBoxChangeGUILanguageEvent : public QEvent 142 { 143 public: 144 VBoxChangeGUILanguageEvent (QString aLangId) 145 : QEvent ((QEvent::Type) VBoxDefs::ChangeGUILanguageEventType) 146 , mLangId (aLangId) 147 {} 148 149 const QString mLangId; 139 150 }; 140 151 -
trunk/src/VBox/Frontends/VirtualBox4/include/VBoxSelectorWnd.h
r8946 r9056 26 26 #include "COMDefs.h" 27 27 28 #include "QIWithRetranslateUI.h" 28 29 #include "VBoxGlobal.h" 29 30 … … 44 45 class QUuid; 45 46 46 class VBoxSelectorWnd: public Q MainWindow47 class VBoxSelectorWnd: public QIWithRetranslateUI2<QMainWindow> 47 48 { 48 Q_OBJECT 49 Q_OBJECT; 49 50 50 51 public: … … 85 86 bool event (QEvent *e); 86 87 87 virtual void changeEvent (QEvent *aEvent);88 88 void retranslateUi(); 89 89 -
trunk/src/VBox/Frontends/VirtualBox4/include/VBoxSnapshotDetailsDlg.h
r8740 r9056 24 24 #define __VBoxSnapshotDetailsDlg_h__ 25 25 26 #include <VBoxSnapshotDetailsDlg.gen.h> 27 #include <COMDefs.h> 26 #include "VBoxSnapshotDetailsDlg.gen.h" 27 #include "QIWithRetranslateUI.h" 28 #include "COMDefs.h" 28 29 29 class VBoxSnapshotDetailsDlg : public QDialog, public Ui::VBoxSnapshotDetailsDlg 30 class VBoxSnapshotDetailsDlg : public QIWithRetranslateUI<QDialog>, 31 public Ui::VBoxSnapshotDetailsDlg 30 32 { 31 33 Q_OBJECT; … … 37 39 void getFromSnapshot (const CSnapshot &aSnapshot); 38 40 void putBackToSnapshot(); 41 42 protected: 43 44 void retranslateUi(); 39 45 40 46 private slots: -
trunk/src/VBox/Frontends/VirtualBox4/include/VBoxSnapshotsWgt.h
r8946 r9056 24 24 #define __VBoxSnapshotsWgt_h__ 25 25 26 #include <VBoxSnapshotsWgt.gen.h> 27 #include <VBoxGlobal.h> 26 #include "VBoxSnapshotsWgt.gen.h" 27 #include "VBoxGlobal.h" 28 #include "QIWithRetranslateUI.h" 29 30 /* Qt includes */ 28 31 #include <QUuid> 29 #include <COMDefs.h>30 32 31 33 class SnapshotWgtItem; … … 33 35 class QMenu; 34 36 35 class VBoxSnapshotsWgt : public QWidget, public Ui::VBoxSnapshotsWgt 37 class VBoxSnapshotsWgt : public QIWithRetranslateUI<QWidget>, 38 public Ui::VBoxSnapshotsWgt 36 39 { 37 40 Q_OBJECT; … … 43 46 void setMachine (const CMachine &aMachine); 44 47 48 protected: 45 49 46 virtual void changeEvent (QEvent *aEvent);47 50 void retranslateUi(); 48 51 -
trunk/src/VBox/Frontends/VirtualBox4/include/VBoxVMInformationDlg.h
r8946 r9056 24 24 #define __VBoxVMInformationDlg_h__ 25 25 26 #include <VBoxVMInformationDlg.gen.h> 27 #include <QIAbstractDialog.h> 28 #include <COMDefs.h> 26 #include "VBoxVMInformationDlg.gen.h" 27 #include "QIAbstractDialog.h" 28 #include "COMDefs.h" 29 #include "QIWithRetranslateUI.h" 29 30 30 31 class VBoxConsoleView; 31 32 class QTimer; 32 33 33 class VBoxVMInformationDlg : public QIAbstractDialog, public Ui::VBoxVMInformationDlg 34 class VBoxVMInformationDlg : public QIWithRetranslateUI2<QIAbstractDialog>, 35 public Ui::VBoxVMInformationDlg 34 36 { 35 Q_OBJECT 37 Q_OBJECT; 36 38 37 39 public: … … 51 53 protected: 52 54 53 virtual void changeEvent (QEvent *aEvent);54 55 void retranslateUi(); 55 56
Note:
See TracChangeset
for help on using the changeset viewer.