Changeset 103915 in vbox
- Timestamp:
- Mar 19, 2024 12:34:07 PM (11 months ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/softkeyboard
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/softkeyboard/UISoftKeyboard.cpp
r103869 r103915 3986 3986 UISoftKeyboard::UISoftKeyboard(QWidget *pParent, UIMachine *pMachine, 3987 3987 QWidget *pCenterWidget, QString strMachineName /* = QString() */) 3988 : QMainWindowWithRestorableGeometry AndRetranslateUi(pParent)3988 : QMainWindowWithRestorableGeometry(pParent) 3989 3989 , m_pMachine(pMachine) 3990 3990 , m_pCenterWidget(pCenterWidget) … … 4013 4013 loadSettings(); 4014 4014 configure(); 4015 retranslateUi();4016 4015 uiCommon().setHelpKeyword(this, "soft-keyb"); 4017 }4018 4019 void UISoftKeyboard::retranslateUi()4020 {4021 4016 } 4022 4017 … … 4082 4077 } 4083 4078 4084 return QMainWindowWithRestorableGeometry AndRetranslateUi::event(pEvent);4079 return QMainWindowWithRestorableGeometry::event(pEvent); 4085 4080 } 4086 4081 … … 4320 4315 m_pStatusBarWidget = new UISoftKeyboardStatusBarWidget; 4321 4316 statusBar()->addPermanentWidget(m_pStatusBarWidget); 4322 4323 retranslateUi();4324 4317 } 4325 4318 -
trunk/src/VBox/Frontends/VirtualBox/src/softkeyboard/UISoftKeyboard.h
r103869 r103915 37 37 /* GUI includes: */ 38 38 #include "QIWithRestorableGeometry.h" 39 #include "QIWithRetranslateUI.h"40 39 41 40 /* Forward declarations: */ … … 54 53 /* Type definitions: */ 55 54 typedef QIWithRestorableGeometry<QMainWindow> QMainWindowWithRestorableGeometry; 56 typedef QIWithRetranslateUI<QMainWindowWithRestorableGeometry> QMainWindowWithRestorableGeometryAndRetranslateUi;57 55 58 class UISoftKeyboard : public QMainWindowWithRestorableGeometry AndRetranslateUi56 class UISoftKeyboard : public QMainWindowWithRestorableGeometry 59 57 { 60 58 Q_OBJECT; … … 71 69 protected: 72 70 73 virtual void retranslateUi() RT_OVERRIDE;74 71 virtual bool shouldBeMaximized() const RT_OVERRIDE; 75 72 virtual void closeEvent(QCloseEvent *event) RT_OVERRIDE;
Note:
See TracChangeset
for help on using the changeset viewer.