- Timestamp:
- Mar 21, 2024 2:04:52 AM (12 months ago)
- svn:sync-xref-src-repo-rev:
- 162357
- Location:
- trunk
- Files:
-
- 83 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/com/microatl.h
r99828 r103977 130 130 return _aInterfaces; \ 131 131 } \ 132 virtual ULONG STDMETHODCALLTYPE AddRef(void) throw() = 0; \133 virtual ULONG STDMETHODCALLTYPE Release(void) throw() = 0; \134 STDMETHOD(QueryInterface)(REFIID, void **) throw() = 0;132 virtual ULONG STDMETHODCALLTYPE AddRef(void) throw() RT_OVERRIDE = 0; \ 133 virtual ULONG STDMETHODCALLTYPE Release(void) throw() RT_OVERRIDE = 0; \ 134 STDMETHOD(QueryInterface)(REFIID, void **) throw() RT_OVERRIDE = 0; 135 135 136 136 struct _ATL_OBJMAP_ENTRY -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxLicenseViewer.h
r98103 r103977 72 72 73 73 /** Executes the dialog. */ 74 int exec() ;74 int exec() RT_OVERRIDE; 75 75 76 76 /** Handles scroll-bar moving by a certain @a iValue. */ -
trunk/src/VBox/Frontends/VirtualBox/src/activity/overview/UIVMActivityOverviewWidget.cpp
r103943 r103977 383 383 QVariant data(const QModelIndex &index, int role) const RT_OVERRIDE; 384 384 void clearData(); 385 QVariant headerData(int section, Qt::Orientation orientation, int role) const ;385 QVariant headerData(int section, Qt::Orientation orientation, int role) const RT_OVERRIDE; 386 386 void setColumnCaptions(const QMap<int, QString>& captions); 387 387 void setColumnVisible(const QMap<int, bool>& columnVisible); -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIArrowSplitter.h
r98103 r103977 66 66 67 67 /** Returns minimum size-hint. */ 68 QSize minimumSizeHint() const ;68 QSize minimumSizeHint() const RT_OVERRIDE; 69 69 70 70 /** Defines the @a strName for the switch-button. */ -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIDialog.h
r100871 r103977 54 54 55 55 /** Defines whether the dialog is @a fVisible. */ 56 void setVisible(bool fVisible) ;56 void setVisible(bool fVisible) RT_OVERRIDE; 57 57 58 58 public slots: -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIMainDialog.h
r98103 r103977 78 78 79 79 /** Defines whether the dialog is @a fVisible. */ 80 virtual void setVisible(bool fVisible) ;80 virtual void setVisible(bool fVisible) RT_OVERRIDE; 81 81 82 82 protected: -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIStatusBarIndicator.h
r98103 r103977 66 66 67 67 /** Returns size-hint. */ 68 virtual QSize sizeHint() const { return m_size.isValid() ? m_size : QWidget::sizeHint(); }68 virtual QSize sizeHint() const RT_OVERRIDE { return m_size.isValid() ? m_size : QWidget::sizeHint(); } 69 69 70 70 protected: -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QITreeView.h
r98103 r103977 135 135 136 136 /** Returns child rectangle. */ 137 QRect visualRect(const QModelIndex &index) const { return QTreeView::visualRect(index); }137 QRect visualRect(const QModelIndex &index) const RT_OVERRIDE { return QTreeView::visualRect(index); } 138 138 139 139 protected slots: 140 140 141 141 /** Handles index changed from @a previous to @a current.*/ 142 void currentChanged(const QModelIndex ¤t, const QModelIndex &previous) ;142 void currentChanged(const QModelIndex ¤t, const QModelIndex &previous) RT_OVERRIDE; 143 143 144 144 protected: -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIFileSystemModel.h
r103803 r103977 199 199 200 200 QVariant data(const QModelIndex &index, int role) const RT_OVERRIDE; 201 bool setData(const QModelIndex &index, const QVariant &value, int role) ;201 bool setData(const QModelIndex &index, const QVariant &value, int role) RT_OVERRIDE; 202 202 203 203 Qt::ItemFlags flags(const QModelIndex &index) const RT_OVERRIDE; -
trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIFileManager.h
r101020 r103977 112 112 protected: 113 113 114 v oid retranslateUi();114 virtual void retranslateUi() RT_OVERRIDE; 115 115 116 116 private slots: -
trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIFileManagerTable.h
r103803 r103977 208 208 }; 209 209 210 void retranslateUi() ;210 void retranslateUi() RT_OVERRIDE; 211 211 void updateCurrentLocationEdit(const QString& strLocation); 212 212 /* @p index is for model not for 'proxy' model */ -
trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIGuestProcessControlWidget.h
r103803 r103977 65 65 protected: 66 66 67 v oid retranslateUi();67 virtual void retranslateUi() RT_OVERRIDE; 68 68 69 69 private slots: -
trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser/UIHelpViewer.cpp
r103803 r103977 131 131 132 132 void prepare(); 133 v oid retranslateUi();133 virtual void retranslateUi() RT_OVERRIDE; 134 134 UISearchLineEdit *m_pSearchLineEdit; 135 135 QIToolButton *m_pNextButton; -
trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser/UIHelpViewer.h
r101571 r103977 93 93 void sltSelectPreviousMatch(); 94 94 void sltSelectNextMatch(); 95 virtual void reload() /* overload */;95 virtual void reload() RT_OVERRIDE; 96 96 97 97 protected: … … 130 130 }; 131 131 132 v oid retranslateUi();132 virtual void retranslateUi() RT_OVERRIDE; 133 133 bool isRectInside(const QRect &rect, int iMargin) const; 134 134 void moveFindWidgetIn(int iMargin); -
trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerFilterWidget.cpp
r103923 r103977 86 86 /* Override the mousePressEvent to control how selection is done: */ 87 87 virtual void mousePressEvent(QMouseEvent * event) RT_OVERRIDE; 88 virtual void mouseReleaseEvent(QMouseEvent *) {}88 virtual void mouseReleaseEvent(QMouseEvent *) RT_OVERRIDE {} 89 89 virtual void paintEvent(QPaintEvent *event) RT_OVERRIDE; 90 90 -
trunk/src/VBox/Frontends/VirtualBox/src/manager/details/UIDetailsElements.h
r103803 r103977 101 101 102 102 /** Performs translation. */ 103 virtual void retranslateUi() ;103 virtual void retranslateUi() RT_OVERRIDE; 104 104 105 105 /** Updates appearance. */ 106 virtual void updateAppearance() ;106 virtual void updateAppearance() RT_OVERRIDE; 107 107 108 108 /** Creates update task. */ … … 143 143 144 144 /** Performs translation. */ 145 virtual void retranslateUi() ;145 virtual void retranslateUi() RT_OVERRIDE; 146 146 147 147 /** Returns minimum width hint. */ 148 int minimumWidthHint() const ;148 int minimumWidthHint() const RT_OVERRIDE; 149 149 /** Returns minimum height hint. 150 150 * @param fClosed allows to specify whether the hint should 151 151 * be calculated for the closed element. */ 152 int minimumHeightHintForElement(bool fClosed) const ;152 int minimumHeightHintForElement(bool fClosed) const RT_OVERRIDE; 153 153 154 154 /** Updates appearance. */ 155 void updateAppearance() ;155 void updateAppearance() RT_OVERRIDE; 156 156 157 157 /** Holds the instance of VM preview. */ -
trunk/src/VBox/Frontends/VirtualBox/src/medium/UIMediumItem.h
r98103 r103977 111 111 112 112 /** Returns whether <i>this</i> item is less than @a other one. */ 113 bool operator<(const QTreeWidgetItem &other) const ;113 bool operator<(const QTreeWidgetItem &other) const RT_OVERRIDE; 114 114 /** Returns whether the medium can be modified. For 115 115 * simplicity's sake this returns false if one of the attached vms is not -
trunk/src/VBox/Frontends/VirtualBox/src/medium/viso/UIVisoCreator.cpp
r103651 r103977 86 86 private: 87 87 88 void prepare() ;88 void prepare() RT_OVERRIDE; 89 89 void prepareConnections(); 90 90 -
trunk/src/VBox/Frontends/VirtualBox/src/networking/UIDownloader.h
r98103 r103977 112 112 113 113 /** Returns description of the current network operation. */ 114 virtual QString description() const ;114 virtual QString description() const RT_OVERRIDE; 115 115 116 116 /** Handles network-reply progress for @a iReceived bytes of @a iTotal. */ -
trunk/src/VBox/Frontends/VirtualBox/src/notificationcenter/UINotificationObject.h
r98103 r103977 111 111 virtual bool isDone() const RT_OVERRIDE; 112 112 /** Returns object name. */ 113 virtual QString name() const /* override final */;113 virtual QString name() const RT_OVERRIDE RT_FINAL; 114 114 /** Returns object details. */ 115 virtual QString details() const /* override final */;116 /** Returns object internal name. */ 117 virtual QString internalName() const /* override final */;118 /** Returns object help keyword. */ 119 virtual QString helpKeyword() const /* override final */;120 /** Handles notification-object being added. */ 121 virtual void handle() /* override final */;115 virtual QString details() const RT_OVERRIDE RT_FINAL; 116 /** Returns object internal name. */ 117 virtual QString internalName() const RT_OVERRIDE RT_FINAL; 118 /** Returns object help keyword. */ 119 virtual QString helpKeyword() const RT_OVERRIDE RT_FINAL; 120 /** Handles notification-object being added. */ 121 virtual void handle() RT_OVERRIDE RT_FINAL; 122 122 123 123 /** Returns whether message with passed @a strInternalName is suppressed. */ … … 175 175 virtual bool isDone() const RT_OVERRIDE; 176 176 /** Returns object internal name. */ 177 virtual QString internalName() const /* override final */;178 /** Returns object help keyword. */ 179 virtual QString helpKeyword() const /* override final */;180 /** Handles notification-object being added. */ 181 virtual void handle() /* override final */;177 virtual QString internalName() const RT_OVERRIDE RT_FINAL; 178 /** Returns object help keyword. */ 179 virtual QString helpKeyword() const RT_OVERRIDE RT_FINAL; 180 /** Handles notification-object being added. */ 181 virtual void handle() RT_OVERRIDE RT_FINAL; 182 182 183 183 public slots: 184 184 185 185 /** Stops the progress and notifies model about closing. */ 186 virtual void close() /* override final */;186 virtual void close() RT_OVERRIDE RT_FINAL; 187 187 188 188 private slots: … … 245 245 virtual bool isDone() const RT_OVERRIDE; 246 246 /** Returns object internal name. */ 247 virtual QString internalName() const /* override final */;248 /** Returns object help keyword. */ 249 virtual QString helpKeyword() const /* override final */;250 /** Handles notification-object being added. */ 251 virtual void handle() /* override final */;247 virtual QString internalName() const RT_OVERRIDE RT_FINAL; 248 /** Returns object help keyword. */ 249 virtual QString helpKeyword() const RT_OVERRIDE RT_FINAL; 250 /** Handles notification-object being added. */ 251 virtual void handle() RT_OVERRIDE RT_FINAL; 252 252 253 253 public slots: 254 254 255 255 /** Stops the downloader and notifies model about closing. */ 256 virtual void close() /* override final */;256 virtual void close() RT_OVERRIDE RT_FINAL; 257 257 258 258 private slots: -
trunk/src/VBox/Frontends/VirtualBox/src/platform/darwin/UIWindowMenuManager.cpp
r98103 r103977 60 60 61 61 /** Handles translation event. */ 62 v oid retranslateUi();62 virtual void retranslateUi(); 63 63 64 64 /** Updates toggle action states according to passed @a pActiveWindow. */ -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIDnDMIMEData.h
r103803 r103977 100 100 /** @name Overridden functions of QMimeData. 101 101 * @{ */ 102 virtual QStringList formats(void) const ;102 virtual QStringList formats(void) const RT_OVERRIDE; 103 103 104 virtual bool hasFormat(const QString &mimeType) const ;104 virtual bool hasFormat(const QString &mimeType) const RT_OVERRIDE; 105 105 106 106 virtual QVariant retrieveData(const QString &strMIMEType, QMetaType metaType) const RT_OVERRIDE; -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBuffer.cpp
r103538 r103977 171 171 void FinalRelease(); 172 172 173 STDMETHOD(COMGETTER(Width))(ULONG *puWidth) ;174 STDMETHOD(COMGETTER(Height))(ULONG *puHeight) ;175 STDMETHOD(COMGETTER(BitsPerPixel))(ULONG *puBitsPerPixel) ;176 STDMETHOD(COMGETTER(BytesPerLine))(ULONG *puBytesPerLine) ;177 STDMETHOD(COMGETTER(PixelFormat))(BitmapFormat_T *puPixelFormat) ;178 STDMETHOD(COMGETTER(HeightReduction))(ULONG *puHeightReduction) ;179 STDMETHOD(COMGETTER(Overlay))(IFramebufferOverlay **ppOverlay) ;180 STDMETHOD(COMGETTER(WinId))(LONG64 *pWinId) ;181 STDMETHOD(COMGETTER(Capabilities))(ComSafeArrayOut(FramebufferCapabilities_T, aCapabilities)) ;173 STDMETHOD(COMGETTER(Width))(ULONG *puWidth) RT_OVERRIDE; 174 STDMETHOD(COMGETTER(Height))(ULONG *puHeight) RT_OVERRIDE; 175 STDMETHOD(COMGETTER(BitsPerPixel))(ULONG *puBitsPerPixel) RT_OVERRIDE; 176 STDMETHOD(COMGETTER(BytesPerLine))(ULONG *puBytesPerLine) RT_OVERRIDE; 177 STDMETHOD(COMGETTER(PixelFormat))(BitmapFormat_T *puPixelFormat) RT_OVERRIDE; 178 STDMETHOD(COMGETTER(HeightReduction))(ULONG *puHeightReduction) RT_OVERRIDE; 179 STDMETHOD(COMGETTER(Overlay))(IFramebufferOverlay **ppOverlay) RT_OVERRIDE; 180 STDMETHOD(COMGETTER(WinId))(LONG64 *pWinId) RT_OVERRIDE; 181 STDMETHOD(COMGETTER(Capabilities))(ComSafeArrayOut(FramebufferCapabilities_T, aCapabilities)) RT_OVERRIDE; 182 182 183 183 /** EMT callback: Notifies frame-buffer about guest-screen size change. … … 189 189 * @note Any EMT callback is subsequent. No any other EMT callback can be called until this one processed. 190 190 * @note Calls to this and #setMarkAsUnused method are synchronized (from GUI side). */ 191 STDMETHOD(NotifyChange)(ULONG uScreenId, ULONG uX, ULONG uY, ULONG uWidth, ULONG uHeight) ;191 STDMETHOD(NotifyChange)(ULONG uScreenId, ULONG uX, ULONG uY, ULONG uWidth, ULONG uHeight) RT_OVERRIDE; 192 192 193 193 /** EMT callback: Notifies frame-buffer about guest-screen update. … … 198 198 * @note Any EMT callback is subsequent. No any other EMT callback can be called until this one processed. 199 199 * @note Calls to this and #setMarkAsUnused method are synchronized (from GUI side). */ 200 STDMETHOD(NotifyUpdate)(ULONG uX, ULONG uY, ULONG uWidth, ULONG uHeight) ;200 STDMETHOD(NotifyUpdate)(ULONG uX, ULONG uY, ULONG uWidth, ULONG uHeight) RT_OVERRIDE; 201 201 202 202 /** EMT callback: Notifies frame-buffer about guest-screen update. … … 208 208 * @note Any EMT callback is subsequent. No any other EMT callback can be called until this one processed. 209 209 * @note Calls to this and #setMarkAsUnused method are synchronized (from GUI side). */ 210 STDMETHOD(NotifyUpdateImage)(ULONG uX, ULONG uY, ULONG uWidth, ULONG uHeight, ComSafeArrayIn(BYTE, image)) ;210 STDMETHOD(NotifyUpdateImage)(ULONG uX, ULONG uY, ULONG uWidth, ULONG uHeight, ComSafeArrayIn(BYTE, image)) RT_OVERRIDE; 211 211 212 212 /** EMT callback: Returns whether the frame-buffer implementation is willing to support a given video-mode. … … 217 217 * @note Any EMT callback is subsequent. No any other EMT callback can be called until this one processed. 218 218 * @note Calls to this and #setMarkAsUnused method are synchronized (from GUI side). */ 219 STDMETHOD(VideoModeSupported)(ULONG uWidth, ULONG uHeight, ULONG uBPP, BOOL *pbSupported) ;219 STDMETHOD(VideoModeSupported)(ULONG uWidth, ULONG uHeight, ULONG uBPP, BOOL *pbSupported) RT_OVERRIDE; 220 220 221 221 /** EMT callback which is not used in current implementation. */ 222 STDMETHOD(GetVisibleRegion)(BYTE *pRectangles, ULONG uCount, ULONG *puCountCopied) ;222 STDMETHOD(GetVisibleRegion)(BYTE *pRectangles, ULONG uCount, ULONG *puCountCopied) RT_OVERRIDE; 223 223 /** EMT callback: Suggests new visible-region to this frame-buffer. 224 224 * @param pRectangles Pointer to the RTRECT array. … … 226 226 * @note Any EMT callback is subsequent. No any other EMT callback can be called until this one processed. 227 227 * @note Calls to this and #setMarkAsUnused method are synchronized (from GUI side). */ 228 STDMETHOD(SetVisibleRegion)(BYTE *pRectangles, ULONG uCount) ;228 STDMETHOD(SetVisibleRegion)(BYTE *pRectangles, ULONG uCount) RT_OVERRIDE; 229 229 230 230 /** EMT callback which is not used in current implementation. */ 231 STDMETHOD(ProcessVHWACommand)(BYTE *pCommand, LONG enmCmd, BOOL fGuestCmd) ;231 STDMETHOD(ProcessVHWACommand)(BYTE *pCommand, LONG enmCmd, BOOL fGuestCmd) RT_OVERRIDE; 232 232 233 233 /** EMT callback: Notifies frame-buffer about 3D backend event. … … 236 236 * @note Any EMT callback is subsequent. No any other EMT callback can be called until this one processed. 237 237 * @note Calls to this and #setMarkAsUnused method are synchronized (from GUI side). */ 238 STDMETHOD(Notify3DEvent)(ULONG uType, ComSafeArrayIn(BYTE, data)) ;238 STDMETHOD(Notify3DEvent)(ULONG uType, ComSafeArrayIn(BYTE, data)) RT_OVERRIDE; 239 239 240 240 /** Locks frame-buffer access. */ -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIIndicatorsPool.cpp
r103085 r103977 686 686 687 687 /** Handles state change. */ 688 void setState(int iState) 688 void setState(int iState) RT_OVERRIDE 689 689 { 690 690 /* Update animation state: */ … … 919 919 920 920 /** Handles state change. */ 921 void setState(int iState) 921 void setState(int iState) RT_OVERRIDE 922 922 { 923 923 if ((iState & UIMouseStateType_MouseAbsoluteDisabled) && … … 1012 1012 1013 1013 /** Retranslation routine. */ 1014 v oid retranslateUi()1014 virtual void retranslateUi() RT_OVERRIDE 1015 1015 { 1016 1016 sltUpdateAppearance(); -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIIndicatorsPool.h
r103803 r103977 111 111 112 112 /** Context-menu event handler. */ 113 void contextMenuEvent(QContextMenuEvent *pEvent) ;113 void contextMenuEvent(QContextMenuEvent *pEvent) RT_OVERRIDE; 114 114 115 115 /** Returns position for passed @a indicatorType. */ -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.h
r103803 r103977 181 181 void setMouseHandler(UIMouseHandler *pMouseHandler); 182 182 void addMachineWindow(UIMachineWindow *pMachineWindow); 183 void retranslateUi() ;183 void retranslateUi() RT_OVERRIDE; 184 184 #ifdef VBOX_WS_MAC 185 185 bool isDockIconPreviewEnabled() const { return m_fIsDockIconEnabled; } … … 222 222 223 223 /* Handler: Event-filter stuff: */ 224 bool eventFilter(QObject *pWatched, QEvent *pEvent) ;224 bool eventFilter(QObject *pWatched, QEvent *pEvent) RT_OVERRIDE; 225 225 226 226 private slots: -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineWindow.h
r100064 r103977 135 135 136 136 /* Translate stuff: */ 137 void retranslateUi() ;137 void retranslateUi() RT_OVERRIDE; 138 138 139 139 /** Handles any Qt @a pEvent. */ … … 146 146 147 147 /** Close event handler. */ 148 void closeEvent(QCloseEvent *pCloseEvent) ;148 void closeEvent(QCloseEvent *pCloseEvent) RT_OVERRIDE; 149 149 150 150 #ifdef VBOX_WS_MAC -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIVMCloseDialog.h
r98675 r103977 89 89 90 90 /** Accepts the dialog. */ 91 void accept() ;91 void accept() RT_OVERRIDE; 92 92 93 93 private: -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIMachineLogicFullscreen.h
r98451 r103977 66 66 67 67 /** Returns visual state type. */ 68 virtual UIVisualStateType visualStateType() const { return UIVisualStateType_Fullscreen; }68 virtual UIVisualStateType visualStateType() const RT_OVERRIDE { return UIVisualStateType_Fullscreen; } 69 69 70 70 /** Returns an index of host-screen for guest-screen with @a iScreenId specified. */ … … 81 81 82 82 /* Check if this logic is available: */ 83 bool checkAvailability() ;83 bool checkAvailability() RT_OVERRIDE; 84 84 85 85 /** Returns machine-window flags for 'Fullscreen' machine-logic and passed @a uScreenId. */ 86 virtual Qt::WindowFlags windowFlags(ulong uScreenId) const ;86 virtual Qt::WindowFlags windowFlags(ulong uScreenId) const RT_OVERRIDE; 87 87 88 88 /** Adjusts machine-window geometry if necessary for 'Fullscreen'. */ 89 virtual void adjustMachineWindowsGeometry() ;89 virtual void adjustMachineWindowsGeometry() RT_OVERRIDE; 90 90 91 91 private slots: … … 104 104 105 105 /** Mac OS X: Requests visual-state change from 'fullscreen' to 'normal' (window). */ 106 void sltChangeVisualStateToNormal() ;106 void sltChangeVisualStateToNormal() RT_OVERRIDE; 107 107 /** Mac OS X: Requests visual-state change from 'fullscreen' to 'seamless'. */ 108 void sltChangeVisualStateToSeamless() ;108 void sltChangeVisualStateToSeamless() RT_OVERRIDE; 109 109 /** Mac OS X: Requests visual-state change from 'fullscreen' to 'scale'. */ 110 void sltChangeVisualStateToScale() ;110 void sltChangeVisualStateToScale() RT_OVERRIDE; 111 111 112 112 /** Mac OS X: Checks if some visual-state type was requested. */ 113 void sltCheckForRequestedVisualStateType() ;113 void sltCheckForRequestedVisualStateType() RT_OVERRIDE; 114 114 #endif /* RT_OS_DARWIN */ 115 115 116 116 /* Handler: Console callback stuff: */ 117 void sltMachineStateChanged() ;117 void sltMachineStateChanged() RT_OVERRIDE; 118 118 119 119 /** Invokes popup-menu. */ … … 124 124 125 125 /** Handles guest-screen count change. */ 126 virtual void sltGuestMonitorChange(KGuestMonitorChangedEventType changeType, ulong uScreenId, QRect screenGeo) ;126 virtual void sltGuestMonitorChange(KGuestMonitorChangedEventType changeType, ulong uScreenId, QRect screenGeo) RT_OVERRIDE; 127 127 /** Handles host-screen count change. */ 128 virtual void sltHostScreenCountChange() ;128 virtual void sltHostScreenCountChange() RT_OVERRIDE; 129 129 /** Handles host-screen available-area change. */ 130 virtual void sltHostScreenAvailableAreaChange() ;130 virtual void sltHostScreenAvailableAreaChange() RT_OVERRIDE; 131 131 /** Handles additions-state change. */ 132 virtual void sltAdditionsStateChanged() ;132 virtual void sltAdditionsStateChanged() RT_OVERRIDE; 133 133 134 134 private: 135 135 136 136 /* Prepare helpers: */ 137 void prepareActionGroups() ;138 void prepareActionConnections() ;139 void prepareMachineWindows() ;140 void prepareMenu() ;137 void prepareActionGroups() RT_OVERRIDE; 138 void prepareActionConnections() RT_OVERRIDE; 139 void prepareMachineWindows() RT_OVERRIDE; 140 void prepareMenu() RT_OVERRIDE; 141 141 142 142 /* Cleanup helpers: */ 143 void cleanupMenu() ;144 void cleanupMachineWindows() ;145 void cleanupActionConnections() ;146 void cleanupActionGroups() ;143 void cleanupMenu() RT_OVERRIDE; 144 void cleanupMachineWindows() RT_OVERRIDE; 145 void cleanupActionConnections() RT_OVERRIDE; 146 void cleanupActionGroups() RT_OVERRIDE; 147 147 148 148 #ifdef VBOX_WS_MAC -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIMachineViewFullscreen.h
r98103 r103977 55 55 56 56 /* Event handlers: */ 57 bool eventFilter(QObject *pWatched, QEvent *pEvent) ;57 bool eventFilter(QObject *pWatched, QEvent *pEvent) RT_OVERRIDE; 58 58 59 59 /* Prepare routines: */ 60 void prepareCommon() ;61 void prepareFilters() ;62 void prepareConsoleConnections() ;60 void prepareCommon() RT_OVERRIDE; 61 void prepareFilters() RT_OVERRIDE; 62 void prepareConsoleConnections() RT_OVERRIDE; 63 63 64 64 /* Cleanup routines: */ … … 73 73 74 74 /** Adjusts guest-screen size to correspond current <i>working area</i> size. */ 75 void adjustGuestScreenSize() ;75 void adjustGuestScreenSize() RT_OVERRIDE; 76 76 77 77 /* Helpers: Geometry stuff: */ 78 QRect workingArea() const ;79 QSize calculateMaxGuestSize() const ;78 QRect workingArea() const RT_OVERRIDE; 79 QSize calculateMaxGuestSize() const RT_OVERRIDE; 80 80 81 81 /* Private variables: */ -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/information/UIInformationRuntime.h
r103803 r103977 62 62 protected: 63 63 64 v oid retranslateUi();64 virtual void retranslateUi() RT_OVERRIDE; 65 65 66 66 private slots: -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/normal/UIMachineLogicNormal.h
r98451 r103977 47 47 48 48 /** Returns visual state type. */ 49 virtual UIVisualStateType visualStateType() const { return UIVisualStateType_Normal; }49 virtual UIVisualStateType visualStateType() const RT_OVERRIDE { return UIVisualStateType_Normal; } 50 50 51 51 protected: 52 52 53 53 /* Check if this logic is available: */ 54 bool checkAvailability() ;54 bool checkAvailability() RT_OVERRIDE; 55 55 56 56 /** Returns machine-window flags for 'Normal' machine-logic and passed @a uScreenId. */ 57 virtual Qt::WindowFlags windowFlags(ulong uScreenId) const { Q_UNUSED(uScreenId); return Qt::Window; }57 virtual Qt::WindowFlags windowFlags(ulong uScreenId) const RT_OVERRIDE { Q_UNUSED(uScreenId); return Qt::Window; } 58 58 59 59 private slots: 60 60 61 61 /** Checks if some visual-state type was requested. */ 62 void sltCheckForRequestedVisualStateType() ;62 void sltCheckForRequestedVisualStateType() RT_OVERRIDE; 63 63 64 64 #ifndef RT_OS_DARWIN … … 90 90 /* Prepare helpers: */ 91 91 virtual void prepareActionGroups() RT_OVERRIDE; 92 void prepareActionConnections() ;93 void prepareMachineWindows() ;92 void prepareActionConnections() RT_OVERRIDE; 93 void prepareMachineWindows() RT_OVERRIDE; 94 94 #ifndef VBOX_WS_MAC 95 95 void prepareMenu(); … … 100 100 void cleanupMenu(); 101 101 #endif /* !VBOX_WS_MAC */ 102 void cleanupMachineWindows() ;103 void cleanupActionConnections() ;102 void cleanupMachineWindows() RT_OVERRIDE; 103 void cleanupActionConnections() RT_OVERRIDE; 104 104 105 105 #ifndef VBOX_WS_MAC -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/normal/UIMachineViewNormal.h
r98103 r103977 55 55 56 56 /* Event handlers: */ 57 bool eventFilter(QObject *pWatched, QEvent *pEvent) ;57 bool eventFilter(QObject *pWatched, QEvent *pEvent) RT_OVERRIDE; 58 58 59 59 /* Prepare helpers: */ 60 void prepareCommon() ;61 void prepareFilters() ;62 void prepareConsoleConnections() ;60 void prepareCommon() RT_OVERRIDE; 61 void prepareFilters() RT_OVERRIDE; 62 void prepareConsoleConnections() RT_OVERRIDE; 63 63 64 64 /* Cleanup helpers: */ … … 73 73 74 74 /** Resends guest size-hint. */ 75 void resendSizeHint() ;75 void resendSizeHint() RT_OVERRIDE; 76 76 77 77 /** Adjusts guest-screen size to correspond current <i>machine-window</i> size. */ 78 void adjustGuestScreenSize() ;78 void adjustGuestScreenSize() RT_OVERRIDE; 79 79 80 80 /* Private helpers: */ 81 QSize sizeHint() const ;82 QRect workingArea() const ;83 QSize calculateMaxGuestSize() const ;81 QSize sizeHint() const RT_OVERRIDE; 82 QRect workingArea() const RT_OVERRIDE; 83 QSize calculateMaxGuestSize() const RT_OVERRIDE; 84 84 85 85 /* Private members: */ -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/normal/UIMachineWindowNormal.h
r99097 r103977 58 58 59 59 /** Handles machine state change event. */ 60 void sltMachineStateChanged() ;60 void sltMachineStateChanged() RT_OVERRIDE; 61 61 62 62 #ifndef RT_OS_DARWIN … … 86 86 #endif /* !VBOX_WS_MAC */ 87 87 /** Prepare status-bar routine. */ 88 void prepareStatusBar() ;88 void prepareStatusBar() RT_OVERRIDE; 89 89 /** Prepare notification-center routine. */ 90 void prepareNotificationCenter() ;90 void prepareNotificationCenter() RT_OVERRIDE; 91 91 /** Prepare visual-state routine. */ 92 void prepareVisualState() ;92 void prepareVisualState() RT_OVERRIDE; 93 93 /** Load settings routine. */ 94 void loadSettings() ;94 void loadSettings() RT_OVERRIDE; 95 95 96 96 /** Cleanup visual-state routine. */ 97 void cleanupVisualState() ;97 void cleanupVisualState() RT_OVERRIDE; 98 98 /** Cleanup notification-center routine. */ 99 void cleanupNotificationCenter() ;99 void cleanupNotificationCenter() RT_OVERRIDE; 100 100 /** Cleanup status-bar routine. */ 101 void cleanupStatusBar() ;101 void cleanupStatusBar() RT_OVERRIDE; 102 102 103 103 /** Updates visibility according to visual-state. */ 104 void showInNecessaryMode() ;104 void showInNecessaryMode() RT_OVERRIDE; 105 105 106 106 /** Restores cached window geometry. */ … … 113 113 114 114 /** Common update routine. */ 115 void updateAppearanceOf(int aElement) ;115 void updateAppearanceOf(int aElement) RT_OVERRIDE; 116 116 117 117 #ifndef VBOX_WS_MAC … … 121 121 122 122 /** Common @a pEvent handler. */ 123 bool event(QEvent *pEvent) ;123 bool event(QEvent *pEvent) RT_OVERRIDE; 124 124 125 125 /** Returns whether this window is maximized. */ -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/scale/UIMachineLogicScale.h
r98451 r103977 47 47 48 48 /** Returns visual state type. */ 49 virtual UIVisualStateType visualStateType() const { return UIVisualStateType_Scale; }49 virtual UIVisualStateType visualStateType() const RT_OVERRIDE { return UIVisualStateType_Scale; } 50 50 51 51 protected: 52 52 53 53 /* Check if this logic is available: */ 54 bool checkAvailability() ;54 bool checkAvailability() RT_OVERRIDE; 55 55 56 56 /** Returns machine-window flags for 'Scale' machine-logic and passed @a uScreenId. */ 57 virtual Qt::WindowFlags windowFlags(ulong uScreenId) const { Q_UNUSED(uScreenId); return Qt::Window; }57 virtual Qt::WindowFlags windowFlags(ulong uScreenId) const RT_OVERRIDE { Q_UNUSED(uScreenId); return Qt::Window; } 58 58 59 59 private slots: … … 70 70 71 71 /* Prepare helpers: */ 72 void prepareActionGroups() ;73 void prepareActionConnections() ;74 void prepareMachineWindows() ;72 void prepareActionGroups() RT_OVERRIDE; 73 void prepareActionConnections() RT_OVERRIDE; 74 void prepareMachineWindows() RT_OVERRIDE; 75 75 #ifndef RT_OS_DARWIN 76 76 void prepareMenu(); … … 81 81 void cleanupMenu(); 82 82 #endif /* !RT_OS_DARWIN */ 83 void cleanupMachineWindows() ;84 void cleanupActionConnections() ;85 void cleanupActionGroups() ;83 void cleanupMachineWindows() RT_OVERRIDE; 84 void cleanupActionConnections() RT_OVERRIDE; 85 void cleanupActionGroups() RT_OVERRIDE; 86 86 87 87 #ifndef RT_OS_DARWIN -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/scale/UIMachineWindowScale.h
r98103 r103977 48 48 49 49 /** Prepare main-layout routine. */ 50 void prepareMainLayout() ;50 void prepareMainLayout() RT_OVERRIDE; 51 51 /** Prepare notification-center routine. */ 52 void prepareNotificationCenter() ;52 void prepareNotificationCenter() RT_OVERRIDE; 53 53 #ifdef VBOX_WS_MAC 54 54 /** Prepare visual-state routine. */ 55 void prepareVisualState() ;55 void prepareVisualState() RT_OVERRIDE; 56 56 #endif /* VBOX_WS_MAC */ 57 57 /** Load settings routine. */ 58 void loadSettings() ;58 void loadSettings() RT_OVERRIDE; 59 59 60 60 #ifdef VBOX_WS_MAC 61 61 /** Cleanup visual-state routine. */ 62 void cleanupVisualState() ;62 void cleanupVisualState() RT_OVERRIDE; 63 63 #endif /* VBOX_WS_MAC */ 64 64 /** Cleanup notification-center routine. */ 65 void cleanupNotificationCenter() ;65 void cleanupNotificationCenter() RT_OVERRIDE; 66 66 67 67 /** Updates visibility according to visual-state. */ 68 void showInNecessaryMode() ;68 void showInNecessaryMode() RT_OVERRIDE; 69 69 70 70 /** Restores cached window geometry. */ … … 77 77 78 78 /** Common @a pEvent handler. */ 79 bool event(QEvent *pEvent) ;79 bool event(QEvent *pEvent) RT_OVERRIDE; 80 80 81 81 /** Returns whether this window is maximized. */ -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/seamless/UIMachineLogicSeamless.h
r98451 r103977 52 52 53 53 /** Returns visual state type. */ 54 virtual UIVisualStateType visualStateType() const { return UIVisualStateType_Seamless; }54 virtual UIVisualStateType visualStateType() const RT_OVERRIDE { return UIVisualStateType_Seamless; } 55 55 56 56 /** Returns an index of host-screen for guest-screen with @a iScreenId specified. */ … … 62 62 63 63 /* Check if this logic is available: */ 64 bool checkAvailability() ;64 bool checkAvailability() RT_OVERRIDE; 65 65 66 66 /** Returns machine-window flags for 'Seamless' machine-logic and passed @a uScreenId. */ 67 virtual Qt::WindowFlags windowFlags(ulong uScreenId) const { Q_UNUSED(uScreenId); return Qt::FramelessWindowHint; }67 virtual Qt::WindowFlags windowFlags(ulong uScreenId) const RT_OVERRIDE { Q_UNUSED(uScreenId); return Qt::FramelessWindowHint; } 68 68 69 69 /** Adjusts machine-window geometry if necessary for 'Seamless'. */ 70 virtual void adjustMachineWindowsGeometry() ;70 virtual void adjustMachineWindowsGeometry() RT_OVERRIDE; 71 71 72 72 private slots: 73 73 74 74 /** Checks if some visual-state type was requested. */ 75 void sltCheckForRequestedVisualStateType() ;75 void sltCheckForRequestedVisualStateType() RT_OVERRIDE; 76 76 77 77 /* Handler: Console callback stuff: */ 78 void sltMachineStateChanged() ;78 void sltMachineStateChanged() RT_OVERRIDE; 79 79 80 80 /** Updates machine-window(s) location/size on screen-layout changes. */ … … 82 82 83 83 /** Handles guest-screen count change. */ 84 virtual void sltGuestMonitorChange(KGuestMonitorChangedEventType changeType, ulong uScreenId, QRect screenGeo) ;84 virtual void sltGuestMonitorChange(KGuestMonitorChangedEventType changeType, ulong uScreenId, QRect screenGeo) RT_OVERRIDE; 85 85 /** Handles host-screen count change. */ 86 virtual void sltHostScreenCountChange() ;86 virtual void sltHostScreenCountChange() RT_OVERRIDE; 87 87 /** Handles additions-state change. */ 88 virtual void sltAdditionsStateChanged() ;88 virtual void sltAdditionsStateChanged() RT_OVERRIDE; 89 89 90 90 #ifndef RT_OS_DARWIN … … 96 96 97 97 /* Prepare helpers: */ 98 void prepareActionGroups() ;99 void prepareActionConnections() ;100 void prepareMachineWindows() ;98 void prepareActionGroups() RT_OVERRIDE; 99 void prepareActionConnections() RT_OVERRIDE; 100 void prepareMachineWindows() RT_OVERRIDE; 101 101 #ifndef VBOX_WS_MAC 102 102 void prepareMenu(); … … 107 107 void cleanupMenu(); 108 108 #endif /* !VBOX_WS_MAC */ 109 void cleanupMachineWindows() ;110 void cleanupActionConnections() ;111 void cleanupActionGroups() ;109 void cleanupMachineWindows() RT_OVERRIDE; 110 void cleanupActionConnections() RT_OVERRIDE; 111 void cleanupActionGroups() RT_OVERRIDE; 112 112 113 113 /* Variables: */ -
trunk/src/VBox/Frontends/VirtualBox/src/settings/UISettingsSerializer.h
r98103 r103977 138 138 139 139 /** Worker-thread serialization rutine. */ 140 void run() ;140 void run() RT_OVERRIDE; 141 141 142 142 /** Holds the load/save direction. */ … … 182 182 183 183 /** Executes the dialog. */ 184 int exec() ;184 int exec() RT_OVERRIDE; 185 185 186 186 /** Returns the instance of wrapper(s) to load/save the data from/to. */ … … 196 196 197 197 /** Translate routine: */ 198 v oid retranslateUi();198 virtual void retranslateUi() RT_OVERRIDE; 199 199 200 200 /** Close event-handler called with the given window system @a pEvent. */ 201 virtual void closeEvent(QCloseEvent *pEvent) ;201 virtual void closeEvent(QCloseEvent *pEvent) RT_OVERRIDE; 202 202 203 203 private slots: 204 204 205 205 /** Hides the modal dialog and sets the result code to <i>Rejected</i>. */ 206 virtual void reject() ;206 virtual void reject() RT_OVERRIDE; 207 207 208 208 /** Starts the process. */ -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIBootOrderEditor.cpp
r103803 r103977 61 61 62 62 /** Performs item translation. */ 63 v oid retranslateUi();63 virtual void retranslateUi(); 64 64 65 65 private: … … 100 100 101 101 /** Return size hint. */ 102 virtual QSize sizeHint() const ;102 virtual QSize sizeHint() const RT_OVERRIDE; 103 103 /** Return minimum size hint. */ 104 virtual QSize minimumSizeHint() const ;104 virtual QSize minimumSizeHint() const RT_OVERRIDE; 105 105 106 106 /** Handles translation event. */ -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UISharedFoldersEditor.cpp
r103362 r103977 72 72 73 73 /** Returns whether this item is less than the @a other one. */ 74 bool operator<(const QTreeWidgetItem &other) const ;74 bool operator<(const QTreeWidgetItem &other) const RT_OVERRIDE; 75 75 76 76 /** Returns child item number @a iIndex. */ -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIStatusBarEditor.cpp
r101562 r103977 84 84 85 85 /** Returns button size-hint. */ 86 QSize sizeHint() const { return m_size; }86 QSize sizeHint() const RT_OVERRIDE { return m_size; } 87 87 88 88 /** Returns whether button is checked. */ -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIStorageSettingsEditor.cpp
r103771 r103977 238 238 239 239 /** Returns child item with specified @a iIndex. */ 240 virtual AbstractItem *childItem(int iIndex) const = 0;240 virtual AbstractItem *childItem(int iIndex) const RT_OVERRIDE = 0; 241 241 /** Returns child item with specified @a uId. */ 242 242 virtual AbstractItem *childItemById(const QUuid &uId) const = 0; … … 743 743 744 744 /** Returns model flags for @a specifiedIndex. */ 745 Qt::ItemFlags flags(const QModelIndex &specifiedIndex) const ;745 Qt::ItemFlags flags(const QModelIndex &specifiedIndex) const RT_OVERRIDE; 746 746 747 747 /** Holds the parent editor this model belongs to. */ -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsPortForwardingDlg.h
r98103 r103977 56 56 57 57 /* Handlers: Dialog stuff: */ 58 void accept() ;59 void reject() ;58 void accept() RT_OVERRIDE; 59 void reject() RT_OVERRIDE; 60 60 61 61 private: 62 62 63 63 /* Handler: Translation stuff: */ 64 v oid retranslateUi();64 virtual void retranslateUi() RT_OVERRIDE; 65 65 66 66 /* Widgets: */ -
trunk/src/VBox/Frontends/VirtualBox/src/snapshots/UISnapshotDetailsWidget.cpp
r103795 r103977 142 142 143 143 /** Returns the minimum size-hint. */ 144 QSize minimumSizeHint() const ;144 QSize minimumSizeHint() const RT_OVERRIDE; 145 145 146 146 protected: -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIAddDiskEncryptionPasswordDialog.h
r98103 r103977 81 81 * If all passwords are valid, 82 82 * this slot calls to base-class. */ 83 void accept() ;83 void accept() RT_OVERRIDE; 84 84 85 85 private: -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIEmptyFilePathSelector.h
r98103 r103977 108 108 109 109 protected: 110 v oid retranslateUi();110 virtual void retranslateUi() RT_OVERRIDE; 111 111 112 112 private slots: -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIFilePathSelector.h
r98103 r103977 148 148 149 149 /** Preprocesses every @a pEvent sent to @a pObject. */ 150 bool eventFilter(QObject *pObject, QEvent *pEvent) ;150 bool eventFilter(QObject *pObject, QEvent *pEvent) RT_OVERRIDE; 151 151 152 152 /** Handles resize @a pEvent. */ 153 void resizeEvent(QResizeEvent *pEvent) ;153 void resizeEvent(QResizeEvent *pEvent) RT_OVERRIDE; 154 154 155 155 /** Handles focus-in @a pEvent. */ 156 void focusInEvent(QFocusEvent *pEvent) ;156 void focusInEvent(QFocusEvent *pEvent) RT_OVERRIDE; 157 157 /** Handles focus-out @a pEvent. */ 158 void focusOutEvent(QFocusEvent *pEvent) ;158 void focusOutEvent(QFocusEvent *pEvent) RT_OVERRIDE; 159 159 160 160 /** Handles translation event. */ 161 v oid retranslateUi();161 virtual void retranslateUi() RT_OVERRIDE; 162 162 163 163 private slots: -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UILineTextEdit.h
r98103 r103977 57 57 58 58 protected: 59 v oid retranslateUi();59 virtual void retranslateUi() RT_OVERRIDE; 60 60 61 61 private slots: 62 void open() ;62 void open() RT_OVERRIDE; 63 63 64 64 private: … … 88 88 89 89 protected: 90 v oid retranslateUi();90 virtual void retranslateUi() RT_OVERRIDE; 91 91 92 92 private slots: -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIPopupPane.h
r98103 r103977 117 117 118 118 /** Returns minimum size-hint. */ 119 QSize minimumSizeHint() const { return m_minimumSizeHint; }119 QSize minimumSizeHint() const RT_OVERRIDE { return m_minimumSizeHint; } 120 120 /** Defines @a minimumSizeHint. */ 121 121 void setMinimumSizeHint(const QSize &minimumSizeHint); -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UISlidingWidget.h
r103704 r103977 77 77 78 78 /** Holds the minimum widget size. */ 79 virtual QSize minimumSizeHint() const /* pverride */;79 virtual QSize minimumSizeHint() const RT_OVERRIDE; 80 80 81 81 /** Defines @a pWidget1 and @a pWidget2. */ -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UISpecialControls.h
r98103 r103977 147 147 148 148 /** Returns size-hint. */ 149 QSize sizeHint() const ;149 QSize sizeHint() const RT_OVERRIDE; 150 150 # endif /* VBOX_WS_MAC */ 151 151 … … 156 156 157 157 /** Handles translation event. */ 158 v oid retranslateUi();158 virtual void retranslateUi() RT_OVERRIDE; 159 159 160 160 # ifdef VBOX_WS_MAC 161 161 /** Handles button hit as certain @a position. */ 162 bool hitButton(const QPoint &position) const ;162 bool hitButton(const QPoint &position) const RT_OVERRIDE; 163 163 164 164 /** Handles paint @a pEvent. */ -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIToolBox.cpp
r103710 r103977 101 101 102 102 virtual bool eventFilter(QObject *pWatched, QEvent *pEvent) RT_OVERRIDE; 103 virtual void retranslateUi() /* override final */;103 virtual void retranslateUi() RT_OVERRIDE RT_FINAL; 104 104 105 105 private slots: -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIToolBox.h
r98103 r103977 66 66 protected: 67 67 68 virtual void retranslateUi() /* override final */;68 virtual void retranslateUi() RT_OVERRIDE RT_FINAL; 69 69 70 70 private slots: -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/UINativeWizard.h
r103961 r103977 117 117 /** Executes wizard in window modal mode. 118 118 * @note You shouldn't have to override it! */ 119 virtual int exec() /* final */;119 virtual int exec() RT_OVERRIDE RT_FINAL; 120 120 /** Shows wizard in non-mode. 121 121 * @note You shouldn't have to override it! */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/addcloudvm/UIWizardAddCloudVMPageExpert.h
r103957 r103977 56 56 57 57 /** Performs page initialization. */ 58 virtual void initializePage() /* override final */;58 virtual void initializePage() RT_OVERRIDE RT_FINAL; 59 59 60 60 /** Returns whether page is complete. */ 61 virtual bool isComplete() const /* override final */;61 virtual bool isComplete() const RT_OVERRIDE RT_FINAL; 62 62 63 63 /** Performs page validation. */ 64 virtual bool validatePage() /* override final */;64 virtual bool validatePage() RT_OVERRIDE RT_FINAL; 65 65 66 66 private slots: -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/addcloudvm/UIWizardAddCloudVMPageSource.h
r103957 r103977 97 97 98 98 /** Performs page initialization. */ 99 virtual void initializePage() /* override final */;99 virtual void initializePage() RT_OVERRIDE RT_FINAL; 100 100 101 101 /** Returns whether page is complete. */ 102 virtual bool isComplete() const /* override final */;102 virtual bool isComplete() const RT_OVERRIDE RT_FINAL; 103 103 104 104 /** Performs page validation. */ 105 virtual bool validatePage() /* override final */;105 virtual bool validatePage() RT_OVERRIDE RT_FINAL; 106 106 107 107 private slots: -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevm/UIWizardCloneVMExpertPage.h
r103957 r103977 67 67 68 68 /** Prepare stuff. */ 69 void initializePage() ;69 void initializePage() RT_OVERRIDE; 70 70 void prepare(const QString &strOriginalName, const QString &strDefaultPath, bool fShowChildsOption); 71 71 72 72 /** Validation stuff. */ 73 bool isComplete() const ;74 bool validatePage() ;73 bool isComplete() const RT_OVERRIDE; 74 bool validatePage() RT_OVERRIDE; 75 75 void setCloneModeGroupBoxEnabled(); 76 76 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevm/UIWizardCloneVMModePage.h
r103957 r103977 64 64 65 65 /** Prepare stuff. */ 66 void initializePage() ;66 void initializePage() RT_OVERRIDE; 67 67 void prepare(); 68 68 69 69 /** Validation stuff. */ 70 bool validatePage() ;70 bool validatePage() RT_OVERRIDE; 71 71 72 72 /** Widgets. */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevm/UIWizardCloneVMNamePathPage.h
r103957 r103977 68 68 private: 69 69 70 void initializePage() ;70 void initializePage() RT_OVERRIDE; 71 71 void prepare(const QString &strDefaultClonePath); 72 72 /** Validation stuff */ 73 bool isComplete() const ;73 bool isComplete() const RT_OVERRIDE; 74 74 75 75 QIRichTextLabel *m_pMainLabel; -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevm/UIWizardCloneVMTypePage.h
r103957 r103977 57 57 private: 58 58 59 void initializePage() ;59 void initializePage() RT_OVERRIDE; 60 60 void prepare(); 61 bool validatePage() ;61 bool validatePage() RT_OVERRIDE; 62 62 63 63 QIRichTextLabel *m_pLabel; -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVMPageSource.h
r103957 r103977 116 116 117 117 /** Performs page initialization. */ 118 virtual void initializePage() /* override final */;118 virtual void initializePage() RT_OVERRIDE RT_FINAL; 119 119 120 120 /** Returns whether page is complete. */ 121 virtual bool isComplete() const /* override final */;121 virtual bool isComplete() const RT_OVERRIDE RT_FINAL; 122 122 123 123 /** Performs page validation. */ 124 virtual bool validatePage() /* override final */;124 virtual bool validatePage() RT_OVERRIDE RT_FINAL; 125 125 126 126 private slots: -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMExpertPage.h
r103957 r103977 109 109 /** Prepare stuff. */ 110 110 void createConnections(); 111 void initializePage() ;111 void initializePage() RT_OVERRIDE; 112 112 void initializeWidgets(); 113 113 /** Set the values of the widget if they depend on OS … … 118 118 119 119 /** Validation stuff. */ 120 bool isComplete() const ;121 bool validatePage() ;120 bool isComplete() const RT_OVERRIDE; 121 bool validatePage() RT_OVERRIDE; 122 122 123 123 bool isProductKeyWidgetEnabled() const; -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMNameOSTypePage.h
r103957 r103977 91 91 void prepare(); 92 92 void createConnections(); 93 void initializePage() ;93 void initializePage() RT_OVERRIDE; 94 94 QWidget *createNameOSTypeWidgets(); 95 95 void markWidgets() const; -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMUnattendedPage.h
r103957 r103977 72 72 void prepare(); 73 73 void createConnections(); 74 void initializePage() ;75 bool isComplete() const ;74 void initializePage() RT_OVERRIDE; 75 bool isComplete() const RT_OVERRIDE; 76 76 /** Returns true if we show the widgets for guest os product key. */ 77 77 bool isProductKeyWidgetEnabled() const; -
trunk/src/VBox/Main/idl/apiwrap-server.xsl
r98262 r103977 1122 1122 <xsl:with-param name="dir">out</xsl:with-param> 1123 1123 </xsl:call-template> 1124 <xsl:text>) ;1124 <xsl:text>) RT_OVERRIDE; 1125 1125 </xsl:text> 1126 1126 … … 1130 1130 <xsl:with-param name="dir">in</xsl:with-param> 1131 1131 </xsl:call-template> 1132 <xsl:text>) ;1132 <xsl:text>) RT_OVERRIDE; 1133 1133 </xsl:text> 1134 1134 </xsl:if> … … 1598 1598 <xsl:text> STDMETHOD(COMGETTER(InternalAndReservedAttribute</xsl:text> 1599 1599 <xsl:value-of select="concat(position(), $name)"/> 1600 <xsl:text>))(ULONG *aReserved) ;
</xsl:text>1600 <xsl:text>))(ULONG *aReserved) RT_OVERRIDE;
</xsl:text> 1601 1601 </xsl:for-each> 1602 1602 </xsl:if> … … 1711 1711 </xsl:if> 1712 1712 </xsl:for-each> 1713 <xsl:text>) ;1713 <xsl:text>) RT_OVERRIDE; 1714 1714 </xsl:text> 1715 1715 … … 2241 2241 <xsl:text> STDMETHOD(InternalAndReservedMethod</xsl:text> 2242 2242 <xsl:value-of select="concat(position(), $name)"/> 2243 <xsl:text>)() ;
</xsl:text>2243 <xsl:text>)() RT_OVERRIDE;
</xsl:text> 2244 2244 </xsl:for-each> 2245 2245 </xsl:if> -
trunk/src/VBox/Main/idl/comimpl.xsl
r98108 r103977 800 800 return mEvent->WaitProcessed(aTimeout, aResult); 801 801 } 802 void uninit() 802 void uninit() RT_OVERRIDE 803 803 { 804 804 if (!mEvent.isNull()) -
trunk/src/VBox/Main/include/CPUProfileImpl.h
r98103 r103977 49 49 void FinalRelease(); 50 50 HRESULT initFromDbEntry(struct CPUMDBENTRY const *a_pDbEntry) RT_NOEXCEPT; 51 void uninit() ;51 void uninit() RT_OVERRIDE; 52 52 /** @} */ 53 53 -
trunk/src/VBox/Main/include/DHCPConfigImpl.h
r98103 r103977 157 157 HRESULT initWithDefaults(VirtualBox *a_pVirtualBox, DHCPServer *a_pParent); 158 158 HRESULT initWithSettings(VirtualBox *a_pVirtualBox, DHCPServer *a_pParent, const settings::DHCPConfig &rConfig); 159 void uninit() ;159 void uninit() RT_OVERRIDE; 160 160 /** @} */ 161 161 … … 258 258 const com::Utf8Str a_strValue); 259 259 HRESULT initWithSettings(DHCPGroupConfig *a_pParent, const settings::DHCPGroupCondition &a_rSrc); 260 void uninit() ;260 void uninit() RT_OVERRIDE; 261 261 /** @} */ 262 262 … … 322 322 HRESULT initWithDefaults(VirtualBox *a_pVirtualBox, DHCPServer *a_pParent, const com::Utf8Str &a_rName); 323 323 HRESULT initWithSettings(VirtualBox *a_pVirtualBox, DHCPServer *a_pParent, const settings::DHCPGroupConfig &a_rSrc); 324 void uninit() ;324 void uninit() RT_OVERRIDE; 325 325 /** @} */ 326 326 … … 446 446 HRESULT initWithSettingsAndMACAddress(VirtualBox *a_pVirtualBox, DHCPServer *a_pParent, 447 447 const settings::DHCPIndividualConfig &rData, PCRTMAC a_pMACAddress); 448 void uninit() ;448 void uninit() RT_OVERRIDE; 449 449 /** @} */ 450 450 -
trunk/src/VBox/Main/include/DHCPServerImpl.h
r98103 r103977 73 73 HRESULT init(VirtualBox *aVirtualBox, const com::Utf8Str &aName); 74 74 HRESULT init(VirtualBox *aVirtualBox, const settings::DHCPServer &data); 75 void uninit() ;75 void uninit() RT_OVERRIDE; 76 76 /** @} */ 77 77 … … 97 97 HRESULT getGlobalConfig(ComPtr<IDHCPGlobalConfig> &aGlobalConfig) RT_OVERRIDE; 98 98 HRESULT getGroupConfigs(std::vector<ComPtr<IDHCPGroupConfig> > &aGroupConfigs) RT_OVERRIDE; 99 HRESULT getIndividualConfigs(std::vector<ComPtr<IDHCPIndividualConfig> > &aIndividualConfigs) ;99 HRESULT getIndividualConfigs(std::vector<ComPtr<IDHCPIndividualConfig> > &aIndividualConfigs) RT_OVERRIDE; 100 100 /** @} */ 101 101 -
trunk/src/VBox/Main/include/HostDriveImpl.h
r98103 r103977 46 46 * @{ */ 47 47 HRESULT initFromPathAndModel(const com::Utf8Str &drivePath, const com::Utf8Str &driveModel); 48 void uninit() ;48 void uninit() RT_OVERRIDE; 49 49 /** @} */ 50 50 -
trunk/src/VBox/Main/include/HostDrivePartitionImpl.h
r98103 r103977 48 48 * @{ */ 49 49 HRESULT initFromDvmVol(RTDVMVOLUME hVol); 50 void uninit() ;50 void uninit() RT_OVERRIDE; 51 51 /** @} */ 52 52 -
trunk/src/VBox/Main/include/MachineDebuggerImpl.h
r98103 r103977 52 52 // public initializer/uninitializer for internal purposes only 53 53 HRESULT init (Console *aParent); 54 void uninit() ;54 void uninit() RT_OVERRIDE; 55 55 56 56 // "public-private methods" … … 60 60 61 61 // wrapped IMachineDeugger properties 62 HRESULT getSingleStep(BOOL *aSingleStep) ;63 HRESULT setSingleStep(BOOL aSingleStep) ;64 HRESULT getExecuteAllInIEM(BOOL *aExecuteAllInIEM) ;65 HRESULT setExecuteAllInIEM(BOOL aExecuteAllInIEM) ;66 HRESULT getLogEnabled(BOOL *aLogEnabled) ;67 HRESULT setLogEnabled(BOOL aLogEnabled) ;68 HRESULT getLogDbgFlags(com::Utf8Str &aLogDbgFlags) ;69 HRESULT getLogDbgGroups(com::Utf8Str &aLogDbgGroups) ;70 HRESULT getLogDbgDestinations(com::Utf8Str &aLogDbgDestinations) ;71 HRESULT getLogRelFlags(com::Utf8Str &aLogRelFlags) ;72 HRESULT getLogRelGroups(com::Utf8Str &aLogRelGroups) ;73 HRESULT getLogRelDestinations(com::Utf8Str &aLogRelDestinations) ;74 HRESULT getExecutionEngine(VMExecutionEngine_T *apenmEngine) ;75 HRESULT getHWVirtExNestedPagingEnabled(BOOL *aHWVirtExNestedPagingEnabled) ;76 HRESULT getHWVirtExVPIDEnabled(BOOL *aHWVirtExVPIDEnabled) ;77 HRESULT getHWVirtExUXEnabled(BOOL *aHWVirtExUXEnabled) ;78 HRESULT getOSName(com::Utf8Str &aOSName) ;79 HRESULT getOSVersion(com::Utf8Str &aOSVersion) ;80 HRESULT getPAEEnabled(BOOL *aPAEEnabled) ;81 HRESULT getVirtualTimeRate(ULONG *aVirtualTimeRate) ;82 HRESULT setVirtualTimeRate(ULONG aVirtualTimeRate) ;83 HRESULT getUptime(LONG64 *aUptime) ;62 HRESULT getSingleStep(BOOL *aSingleStep) RT_OVERRIDE; 63 HRESULT setSingleStep(BOOL aSingleStep) RT_OVERRIDE; 64 HRESULT getExecuteAllInIEM(BOOL *aExecuteAllInIEM) RT_OVERRIDE; 65 HRESULT setExecuteAllInIEM(BOOL aExecuteAllInIEM) RT_OVERRIDE; 66 HRESULT getLogEnabled(BOOL *aLogEnabled) RT_OVERRIDE; 67 HRESULT setLogEnabled(BOOL aLogEnabled) RT_OVERRIDE; 68 HRESULT getLogDbgFlags(com::Utf8Str &aLogDbgFlags) RT_OVERRIDE; 69 HRESULT getLogDbgGroups(com::Utf8Str &aLogDbgGroups) RT_OVERRIDE; 70 HRESULT getLogDbgDestinations(com::Utf8Str &aLogDbgDestinations) RT_OVERRIDE; 71 HRESULT getLogRelFlags(com::Utf8Str &aLogRelFlags) RT_OVERRIDE; 72 HRESULT getLogRelGroups(com::Utf8Str &aLogRelGroups) RT_OVERRIDE; 73 HRESULT getLogRelDestinations(com::Utf8Str &aLogRelDestinations) RT_OVERRIDE; 74 HRESULT getExecutionEngine(VMExecutionEngine_T *apenmEngine) RT_OVERRIDE; 75 HRESULT getHWVirtExNestedPagingEnabled(BOOL *aHWVirtExNestedPagingEnabled) RT_OVERRIDE; 76 HRESULT getHWVirtExVPIDEnabled(BOOL *aHWVirtExVPIDEnabled) RT_OVERRIDE; 77 HRESULT getHWVirtExUXEnabled(BOOL *aHWVirtExUXEnabled) RT_OVERRIDE; 78 HRESULT getOSName(com::Utf8Str &aOSName) RT_OVERRIDE; 79 HRESULT getOSVersion(com::Utf8Str &aOSVersion) RT_OVERRIDE; 80 HRESULT getPAEEnabled(BOOL *aPAEEnabled) RT_OVERRIDE; 81 HRESULT getVirtualTimeRate(ULONG *aVirtualTimeRate) RT_OVERRIDE; 82 HRESULT setVirtualTimeRate(ULONG aVirtualTimeRate) RT_OVERRIDE; 83 HRESULT getUptime(LONG64 *aUptime) RT_OVERRIDE; 84 84 85 85 // wrapped IMachineDeugger methods 86 86 HRESULT dumpGuestCore(const com::Utf8Str &aFilename, 87 const com::Utf8Str &aCompression) ;87 const com::Utf8Str &aCompression) RT_OVERRIDE; 88 88 HRESULT dumpHostProcessCore(const com::Utf8Str &aFilename, 89 const com::Utf8Str &aCompression) ;89 const com::Utf8Str &aCompression) RT_OVERRIDE; 90 90 HRESULT info(const com::Utf8Str &aName, 91 91 const com::Utf8Str &aArgs, 92 com::Utf8Str &aInfo) ;93 HRESULT injectNMI() ;94 HRESULT modifyLogGroups(const com::Utf8Str &aSettings) ;95 HRESULT modifyLogFlags(const com::Utf8Str &aSettings) ;96 HRESULT modifyLogDestinations(const com::Utf8Str &aSettings) ;92 com::Utf8Str &aInfo) RT_OVERRIDE; 93 HRESULT injectNMI() RT_OVERRIDE; 94 HRESULT modifyLogGroups(const com::Utf8Str &aSettings) RT_OVERRIDE; 95 HRESULT modifyLogFlags(const com::Utf8Str &aSettings) RT_OVERRIDE; 96 HRESULT modifyLogDestinations(const com::Utf8Str &aSettings) RT_OVERRIDE; 97 97 HRESULT readPhysicalMemory(LONG64 aAddress, 98 98 ULONG aSize, 99 std::vector<BYTE> &aBytes) ;99 std::vector<BYTE> &aBytes) RT_OVERRIDE; 100 100 HRESULT writePhysicalMemory(LONG64 aAddress, 101 101 ULONG aSize, 102 const std::vector<BYTE> &aBytes) ;102 const std::vector<BYTE> &aBytes) RT_OVERRIDE; 103 103 HRESULT readVirtualMemory(ULONG aCpuId, 104 104 LONG64 aAddress, 105 105 ULONG aSize, 106 std::vector<BYTE> &aBytes) ;106 std::vector<BYTE> &aBytes) RT_OVERRIDE; 107 107 HRESULT writeVirtualMemory(ULONG aCpuId, 108 108 LONG64 aAddress, 109 109 ULONG aSize, 110 const std::vector<BYTE> &aBytes) ;110 const std::vector<BYTE> &aBytes) RT_OVERRIDE; 111 111 HRESULT loadPlugIn(const com::Utf8Str &aName, 112 com::Utf8Str &aPlugInName) ;113 HRESULT unloadPlugIn(const com::Utf8Str &aName) ;114 HRESULT detectOS(com::Utf8Str &aOs) ;112 com::Utf8Str &aPlugInName) RT_OVERRIDE; 113 HRESULT unloadPlugIn(const com::Utf8Str &aName) RT_OVERRIDE; 114 HRESULT detectOS(com::Utf8Str &aOs) RT_OVERRIDE; 115 115 HRESULT queryOSKernelLog(ULONG aMaxMessages, 116 com::Utf8Str &aDmesg) ;116 com::Utf8Str &aDmesg) RT_OVERRIDE; 117 117 HRESULT getRegister(ULONG aCpuId, 118 118 const com::Utf8Str &aName, 119 com::Utf8Str &aValue) ;119 com::Utf8Str &aValue) RT_OVERRIDE; 120 120 HRESULT getRegisters(ULONG aCpuId, 121 121 std::vector<com::Utf8Str> &aNames, 122 std::vector<com::Utf8Str> &aValues) ;122 std::vector<com::Utf8Str> &aValues) RT_OVERRIDE; 123 123 HRESULT setRegister(ULONG aCpuId, 124 124 const com::Utf8Str &aName, 125 const com::Utf8Str &aValue) ;125 const com::Utf8Str &aValue) RT_OVERRIDE; 126 126 HRESULT setRegisters(ULONG aCpuId, 127 127 const std::vector<com::Utf8Str> &aNames, 128 const std::vector<com::Utf8Str> &aValues) ;128 const std::vector<com::Utf8Str> &aValues) RT_OVERRIDE; 129 129 HRESULT dumpGuestStack(ULONG aCpuId, 130 com::Utf8Str &aStack) ;131 HRESULT resetStats(const com::Utf8Str &aPattern) ;132 HRESULT dumpStats(const com::Utf8Str &aPattern) ;130 com::Utf8Str &aStack) RT_OVERRIDE; 131 HRESULT resetStats(const com::Utf8Str &aPattern) RT_OVERRIDE; 132 HRESULT dumpStats(const com::Utf8Str &aPattern) RT_OVERRIDE; 133 133 HRESULT getStats(const com::Utf8Str &aPattern, 134 134 BOOL aWithDescriptions, 135 com::Utf8Str &aStats) ;135 com::Utf8Str &aStats) RT_OVERRIDE; 136 136 HRESULT getCPULoad(ULONG aCpuId, ULONG *aPctExecuting, ULONG *aPctHalted, ULONG *aPctOther, LONG64 *aMsInterval) RT_OVERRIDE; 137 HRESULT takeGuestSample(const com::Utf8Str &aFilename, ULONG aUsInterval, LONG64 aUsSampleTime, ComPtr<IProgress> &pProgress) ;138 HRESULT getUVMAndVMMFunctionTable(LONG64 aMagicVersion, LONG64 *aVMMFunctionTable, LONG64 *aUVM) ;137 HRESULT takeGuestSample(const com::Utf8Str &aFilename, ULONG aUsInterval, LONG64 aUsSampleTime, ComPtr<IProgress> &pProgress) RT_OVERRIDE; 138 HRESULT getUVMAndVMMFunctionTable(LONG64 aMagicVersion, LONG64 *aVMMFunctionTable, LONG64 *aUVM) RT_OVERRIDE; 139 139 140 140 // private methods -
trunk/src/VBox/Main/include/MachineImpl.h
r103085 r103977 1353 1353 // public initializer/uninitializer for internal purposes only 1354 1354 HRESULT init(Machine *aMachine); 1355 void uninit() { uninit(Uninit::Unexpected); }1355 void uninit() RT_OVERRIDE { uninit(Uninit::Unexpected); } 1356 1356 void uninit(Uninit::Reason aReason); 1357 1357 1358 1358 1359 1359 // util::Lockable interface 1360 RWLockHandle *lockHandle() const ;1360 RWLockHandle *lockHandle() const RT_OVERRIDE; 1361 1361 1362 1362 // public methods only for internal purposes 1363 1363 1364 virtual bool i_isSessionMachine() const 1364 virtual bool i_isSessionMachine() const RT_OVERRIDE 1365 1365 { 1366 1366 return true; … … 1378 1378 ClientToken *i_getClientToken(); 1379 1379 1380 HRESULT i_onNetworkAdapterChange(INetworkAdapter *networkAdapter, BOOL changeAdapter) ;1380 HRESULT i_onNetworkAdapterChange(INetworkAdapter *networkAdapter, BOOL changeAdapter) RT_OVERRIDE; 1381 1381 HRESULT i_onNATRedirectRuleChanged(ULONG ulSlot, BOOL aNatRuleRemove, const Utf8Str &aRuleName, 1382 1382 NATProtocol_T aProto, const Utf8Str &aHostIp, LONG aHostPort, 1383 1383 const Utf8Str &aGuestIp, LONG aGuestPort) RT_OVERRIDE; 1384 HRESULT i_onStorageControllerChange(const com::Guid &aMachineId, const com::Utf8Str &aControllerName); 1385 HRESULT i_onMediumChange(IMediumAttachment *aMediumAttachment, BOOL aForce); 1386 HRESULT i_onVMProcessPriorityChange(VMProcPriority_T aPriority); 1387 HRESULT i_onAudioAdapterChange(IAudioAdapter *audioAdapter); 1388 HRESULT i_onHostAudioDeviceChange(IHostAudioDevice *aDevice, BOOL aNew, AudioDeviceState_T aState, IVirtualBoxErrorInfo *aErrInfo); 1389 HRESULT i_onSerialPortChange(ISerialPort *serialPort); 1390 HRESULT i_onParallelPortChange(IParallelPort *parallelPort); 1391 HRESULT i_onCPUChange(ULONG aCPU, BOOL aRemove); 1392 HRESULT i_onVRDEServerChange(BOOL aRestart); 1393 HRESULT i_onRecordingChange(BOOL aEnable); 1394 HRESULT i_onUSBControllerChange(); 1384 HRESULT i_onStorageControllerChange(const com::Guid &aMachineId, const com::Utf8Str &aControllerName) RT_OVERRIDE; 1385 HRESULT i_onMediumChange(IMediumAttachment *aMediumAttachment, BOOL aForce) RT_OVERRIDE; 1386 HRESULT i_onVMProcessPriorityChange(VMProcPriority_T aPriority) RT_OVERRIDE; 1387 HRESULT i_onAudioAdapterChange(IAudioAdapter *audioAdapter) RT_OVERRIDE; 1388 HRESULT i_onHostAudioDeviceChange(IHostAudioDevice *aDevice, BOOL aNew, AudioDeviceState_T aState, 1389 IVirtualBoxErrorInfo *aErrInfo) RT_OVERRIDE; 1390 HRESULT i_onSerialPortChange(ISerialPort *serialPort) RT_OVERRIDE; 1391 HRESULT i_onParallelPortChange(IParallelPort *parallelPort) RT_OVERRIDE; 1392 HRESULT i_onCPUChange(ULONG aCPU, BOOL aRemove) RT_OVERRIDE; 1393 HRESULT i_onVRDEServerChange(BOOL aRestart) RT_OVERRIDE; 1394 HRESULT i_onRecordingChange(BOOL aEnable) RT_OVERRIDE; 1395 HRESULT i_onUSBControllerChange() RT_OVERRIDE; 1395 1396 HRESULT i_onUSBDeviceAttach(IUSBDevice *aDevice, 1396 1397 IVirtualBoxErrorInfo *aError, … … 1399 1400 HRESULT i_onUSBDeviceDetach(IN_BSTR aId, 1400 1401 IVirtualBoxErrorInfo *aError); 1401 HRESULT i_onSharedFolderChange() ;1402 HRESULT i_onClipboardModeChange(ClipboardMode_T aClipboardMode) ;1403 HRESULT i_onClipboardFileTransferModeChange(BOOL aEnable) ;1404 HRESULT i_onDnDModeChange(DnDMode_T aDnDMode) ;1405 HRESULT i_onBandwidthGroupChange(IBandwidthGroup *aBandwidthGroup) ;1406 HRESULT i_onStorageDeviceChange(IMediumAttachment *aMediumAttachment, BOOL aRemove, BOOL aSilent) ;1407 HRESULT i_onCPUExecutionCapChange(ULONG aCpuExecutionCap) ;1408 HRESULT i_onGuestDebugControlChange(IGuestDebugControl *guestDebugControl) ;1402 HRESULT i_onSharedFolderChange() RT_OVERRIDE; 1403 HRESULT i_onClipboardModeChange(ClipboardMode_T aClipboardMode) RT_OVERRIDE; 1404 HRESULT i_onClipboardFileTransferModeChange(BOOL aEnable) RT_OVERRIDE; 1405 HRESULT i_onDnDModeChange(DnDMode_T aDnDMode) RT_OVERRIDE; 1406 HRESULT i_onBandwidthGroupChange(IBandwidthGroup *aBandwidthGroup) RT_OVERRIDE; 1407 HRESULT i_onStorageDeviceChange(IMediumAttachment *aMediumAttachment, BOOL aRemove, BOOL aSilent) RT_OVERRIDE; 1408 HRESULT i_onCPUExecutionCapChange(ULONG aCpuExecutionCap) RT_OVERRIDE; 1409 HRESULT i_onGuestDebugControlChange(IGuestDebugControl *guestDebugControl) RT_OVERRIDE; 1409 1410 1410 1411 bool i_hasMatchingUSBFilter(const ComObjPtr<HostUSBDevice> &aDevice, ULONG *aMaskedIfs); … … 1421 1422 // wrapped IInternalMachineControl methods 1422 1423 HRESULT setRemoveSavedStateFile(BOOL aRemove); 1423 HRESULT updateState(MachineState_T aState) ;1424 HRESULT beginPowerUp(const ComPtr<IProgress> &aProgress) ;1425 HRESULT endPowerUp(LONG aResult) ;1426 HRESULT beginPoweringDown(ComPtr<IProgress> &aProgress) ;1424 HRESULT updateState(MachineState_T aState) RT_OVERRIDE; 1425 HRESULT beginPowerUp(const ComPtr<IProgress> &aProgress) RT_OVERRIDE; 1426 HRESULT endPowerUp(LONG aResult) RT_OVERRIDE; 1427 HRESULT beginPoweringDown(ComPtr<IProgress> &aProgress) RT_OVERRIDE; 1427 1428 HRESULT endPoweringDown(LONG aResult, 1428 const com::Utf8Str &aErrMsg) ;1429 const com::Utf8Str &aErrMsg) RT_OVERRIDE; 1429 1430 HRESULT runUSBDeviceFilters(const ComPtr<IUSBDevice> &aDevice, 1430 1431 BOOL *aMatched, 1431 ULONG *aMaskedInterfaces) ;1432 HRESULT captureUSBDevice(const com::Guid &aId, const com::Utf8Str &aCaptureFilename) ;1432 ULONG *aMaskedInterfaces) RT_OVERRIDE; 1433 HRESULT captureUSBDevice(const com::Guid &aId, const com::Utf8Str &aCaptureFilename) RT_OVERRIDE; 1433 1434 HRESULT detachUSBDevice(const com::Guid &aId, 1434 BOOL aDone) ;1435 HRESULT autoCaptureUSBDevices() ;1436 HRESULT detachAllUSBDevices(BOOL aDone) ;1435 BOOL aDone) RT_OVERRIDE; 1436 HRESULT autoCaptureUSBDevices() RT_OVERRIDE; 1437 HRESULT detachAllUSBDevices(BOOL aDone) RT_OVERRIDE; 1437 1438 HRESULT onSessionEnd(const ComPtr<ISession> &aSession, 1438 ComPtr<IProgress> &aProgress) ;1439 HRESULT finishOnlineMergeMedium() ;1439 ComPtr<IProgress> &aProgress) RT_OVERRIDE; 1440 HRESULT finishOnlineMergeMedium() RT_OVERRIDE; 1440 1441 HRESULT pullGuestProperties(std::vector<com::Utf8Str> &aNames, 1441 1442 std::vector<com::Utf8Str> &aValues, 1442 1443 std::vector<LONG64> &aTimestamps, 1443 std::vector<com::Utf8Str> &aFlags) ;1444 std::vector<com::Utf8Str> &aFlags) RT_OVERRIDE; 1444 1445 HRESULT pushGuestProperty(const com::Utf8Str &aName, 1445 1446 const com::Utf8Str &aValue, 1446 1447 LONG64 aTimestamp, 1447 1448 const com::Utf8Str &aFlags, 1448 BOOL fWasDeleted) ;1449 HRESULT lockMedia() ;1450 HRESULT unlockMedia() ;1449 BOOL fWasDeleted) RT_OVERRIDE; 1450 HRESULT lockMedia() RT_OVERRIDE; 1451 HRESULT unlockMedia() RT_OVERRIDE; 1451 1452 HRESULT ejectMedium(const ComPtr<IMediumAttachment> &aAttachment, 1452 ComPtr<IMediumAttachment> &aNewAttachment) ;1453 ComPtr<IMediumAttachment> &aNewAttachment) RT_OVERRIDE; 1453 1454 HRESULT reportVmStatistics(ULONG aValidStats, 1454 1455 ULONG aCpuUser, … … 1466 1467 ULONG aMemSharedTotal, 1467 1468 ULONG aVmNetRx, 1468 ULONG aVmNetTx) ;1469 ULONG aVmNetTx) RT_OVERRIDE; 1469 1470 HRESULT authenticateExternal(const std::vector<com::Utf8Str> &aAuthParams, 1470 com::Utf8Str &aResult) ;1471 com::Utf8Str &aResult) RT_OVERRIDE; 1471 1472 1472 1473 … … 1495 1496 // Override some functionality for SessionMachine, this is where the 1496 1497 // real action happens (the Machine methods are just dummies). 1497 HRESULT saveState(ComPtr<IProgress> &aProgress) ;1498 HRESULT adoptSavedState(const com::Utf8Str &aSavedStateFile) ;1499 HRESULT discardSavedState(BOOL aFRemoveFile) ;1498 HRESULT saveState(ComPtr<IProgress> &aProgress) RT_OVERRIDE; 1499 HRESULT adoptSavedState(const com::Utf8Str &aSavedStateFile) RT_OVERRIDE; 1500 HRESULT discardSavedState(BOOL aFRemoveFile) RT_OVERRIDE; 1500 1501 HRESULT takeSnapshot(const com::Utf8Str &aName, 1501 1502 const com::Utf8Str &aDescription, 1502 1503 BOOL aPause, 1503 1504 com::Guid &aId, 1504 ComPtr<IProgress> &aProgress) ;1505 ComPtr<IProgress> &aProgress) RT_OVERRIDE; 1505 1506 HRESULT deleteSnapshot(const com::Guid &aId, 1506 ComPtr<IProgress> &aProgress) ;1507 ComPtr<IProgress> &aProgress) RT_OVERRIDE; 1507 1508 HRESULT deleteSnapshotAndAllChildren(const com::Guid &aId, 1508 ComPtr<IProgress> &aProgress) ;1509 ComPtr<IProgress> &aProgress) RT_OVERRIDE; 1509 1510 HRESULT deleteSnapshotRange(const com::Guid &aStartId, 1510 1511 const com::Guid &aEndId, 1511 ComPtr<IProgress> &aProgress) ;1512 ComPtr<IProgress> &aProgress) RT_OVERRIDE; 1512 1513 HRESULT restoreSnapshot(const ComPtr<ISnapshot> &aSnapshot, 1513 ComPtr<IProgress> &aProgress) ;1514 ComPtr<IProgress> &aProgress) RT_OVERRIDE; 1514 1515 1515 1516 void i_releaseSavedStateFile(const Utf8Str &strSavedStateFile, Snapshot *pSnapshotToIgnore); … … 1556 1557 bool *pfNeedsMachineSaveSettings); 1557 1558 1558 HRESULT i_setMachineState(MachineState_T aMachineState) ;1559 HRESULT i_setMachineState(MachineState_T aMachineState) RT_OVERRIDE; 1559 1560 HRESULT i_updateMachineStateOnClient(); 1560 1561 … … 1615 1616 IN_GUID aSnapshotId, 1616 1617 const Utf8Str &aStateFilePath); 1617 void uninit() ;1618 void uninit() RT_OVERRIDE; 1618 1619 1619 1620 // util::Lockable interface 1620 RWLockHandle *lockHandle() const ;1621 RWLockHandle *lockHandle() const RT_OVERRIDE; 1621 1622 1622 1623 // public methods only for internal purposes 1623 1624 1624 virtual bool i_isSnapshotMachine() const 1625 virtual bool i_isSnapshotMachine() const RT_OVERRIDE 1625 1626 { 1626 1627 return true; -
trunk/src/VBox/Main/include/PlatformPropertiesImpl.h
r102113 r103977 51 51 // public initializer/uninitializer for internal purposes only 52 52 HRESULT init(VirtualBox *aParent, bool fIsHost = false); 53 void uninit() ;53 void uninit() RT_OVERRIDE; 54 54 55 55 // public internal methods … … 80 80 HRESULT getSupportedFirmwareTypes(std::vector<FirmwareType_T> &aSupportedFirmwareTypes) RT_OVERRIDE; 81 81 HRESULT getSupportedGraphicsControllerTypes(std::vector<GraphicsControllerType_T> &aSupportedGraphicsControllerTypes) RT_OVERRIDE; 82 HRESULT getSupportedGuestOSTypes(std::vector<ComPtr<IGuestOSType> > &aSupportedGuestOSTypes) ;83 HRESULT getSupportedNetAdpPromiscModePols(std::vector<NetworkAdapterPromiscModePolicy_T> &aSupportedNetworkAdapterPromiscModePolicies) ;82 HRESULT getSupportedGuestOSTypes(std::vector<ComPtr<IGuestOSType> > &aSupportedGuestOSTypes) RT_OVERRIDE; 83 HRESULT getSupportedNetAdpPromiscModePols(std::vector<NetworkAdapterPromiscModePolicy_T> &aSupportedNetworkAdapterPromiscModePolicies) RT_OVERRIDE; 84 84 HRESULT getSupportedNetworkAdapterTypes(std::vector<NetworkAdapterType_T> &aSupportedNetworkAdapterTypes) RT_OVERRIDE; 85 85 HRESULT getSupportedUartTypes(std::vector<UartType_T> &aSupportedUartTypes) RT_OVERRIDE; 86 86 HRESULT getSupportedUSBControllerTypes(std::vector<USBControllerType_T> &aSupportedUSBControllerTypes) RT_OVERRIDE; 87 87 HRESULT getSupportedAudioControllerTypes(std::vector<AudioControllerType_T> &aSupportedAudioControllerTypes) RT_OVERRIDE; 88 HRESULT getSupportedBootDevices(std::vector<DeviceType_T> &aSupportedBootDevices) ;88 HRESULT getSupportedBootDevices(std::vector<DeviceType_T> &aSupportedBootDevices) RT_OVERRIDE; 89 89 HRESULT getSupportedStorageBuses(std::vector<StorageBus_T> &aSupportedStorageBuses) RT_OVERRIDE; 90 90 HRESULT getSupportedStorageControllerTypes(std::vector<StorageControllerType_T> &aSupportedStorageControllerTypes) RT_OVERRIDE; -
trunk/src/VBox/Main/include/ProgressProxyImpl.h
r98103 r103977 76 76 ULONG uFirstOperationWeight, 77 77 ULONG cOtherProgressObjectOperations); 78 void uninit() ;78 void uninit() RT_OVERRIDE; 79 79 80 80 // IProgress properties 81 STDMETHOD(COMGETTER(Cancelable))(BOOL *aCancelable) ;82 STDMETHOD(COMGETTER(Percent))(ULONG *aPercent) ;83 STDMETHOD(COMGETTER(TimeRemaining))(LONG *aTimeRemaining) ;84 STDMETHOD(COMGETTER(Completed))(BOOL *aCompleted) ;85 STDMETHOD(COMGETTER(Canceled))(BOOL *aCanceled) ;86 STDMETHOD(COMGETTER(ResultCode))(LONG *aResultCode) ;87 STDMETHOD(COMGETTER(ErrorInfo))(IVirtualBoxErrorInfo **aErrorInfo) ;81 STDMETHOD(COMGETTER(Cancelable))(BOOL *aCancelable) RT_OVERRIDE; 82 STDMETHOD(COMGETTER(Percent))(ULONG *aPercent) RT_OVERRIDE; 83 STDMETHOD(COMGETTER(TimeRemaining))(LONG *aTimeRemaining) RT_OVERRIDE; 84 STDMETHOD(COMGETTER(Completed))(BOOL *aCompleted) RT_OVERRIDE; 85 STDMETHOD(COMGETTER(Canceled))(BOOL *aCanceled) RT_OVERRIDE; 86 STDMETHOD(COMGETTER(ResultCode))(LONG *aResultCode) RT_OVERRIDE; 87 STDMETHOD(COMGETTER(ErrorInfo))(IVirtualBoxErrorInfo **aErrorInfo) RT_OVERRIDE; 88 88 //STDMETHOD(COMGETTER(OperationCount))(ULONG *aOperationCount); - not necessary 89 STDMETHOD(COMGETTER(Operation))(ULONG *aOperation) ;90 STDMETHOD(COMGETTER(OperationDescription))(BSTR *aOperationDescription) ;91 STDMETHOD(COMGETTER(OperationPercent))(ULONG *aOperationPercent) ;92 STDMETHOD(COMSETTER(Timeout))(ULONG aTimeout) ;93 STDMETHOD(COMGETTER(Timeout))(ULONG *aTimeout) ;89 STDMETHOD(COMGETTER(Operation))(ULONG *aOperation) RT_OVERRIDE; 90 STDMETHOD(COMGETTER(OperationDescription))(BSTR *aOperationDescription) RT_OVERRIDE; 91 STDMETHOD(COMGETTER(OperationPercent))(ULONG *aOperationPercent) RT_OVERRIDE; 92 STDMETHOD(COMSETTER(Timeout))(ULONG aTimeout) RT_OVERRIDE; 93 STDMETHOD(COMGETTER(Timeout))(ULONG *aTimeout) RT_OVERRIDE; 94 94 95 95 // IProgress methods 96 STDMETHOD(WaitForCompletion)(LONG aTimeout) ;97 STDMETHOD(WaitForOperationCompletion)(ULONG aOperation, LONG aTimeout) ;98 STDMETHOD(Cancel)() ;99 STDMETHOD(SetCurrentOperationProgress)(ULONG aPercent) ;100 STDMETHOD(SetNextOperation)(IN_BSTR bstrNextOperationDescription, ULONG ulNextOperationsWeight) ;96 STDMETHOD(WaitForCompletion)(LONG aTimeout) RT_OVERRIDE; 97 STDMETHOD(WaitForOperationCompletion)(ULONG aOperation, LONG aTimeout) RT_OVERRIDE; 98 STDMETHOD(Cancel)() RT_OVERRIDE; 99 STDMETHOD(SetCurrentOperationProgress)(ULONG aPercent) RT_OVERRIDE; 100 STDMETHOD(SetNextOperation)(IN_BSTR bstrNextOperationDescription, ULONG ulNextOperationsWeight) RT_OVERRIDE; 101 101 102 102 // public methods only for internal purposes -
trunk/src/VBox/Main/include/SystemPropertiesImpl.h
r103085 r103977 59 59 // public initializer/uninitializer for internal purposes only 60 60 HRESULT init(VirtualBox *aParent); 61 void uninit() ;61 void uninit() RT_OVERRIDE; 62 62 63 63 // public methods for internal purposes only … … 123 123 HRESULT getProxyURL(com::Utf8Str &aProxyURL) RT_OVERRIDE; 124 124 HRESULT setProxyURL(const com::Utf8Str &aProxyURL) RT_OVERRIDE; 125 HRESULT getSupportedPlatformArchitectures(std::vector<PlatformArchitecture_T> &aSupportedPlatformArchitectures) ;125 HRESULT getSupportedPlatformArchitectures(std::vector<PlatformArchitecture_T> &aSupportedPlatformArchitectures) RT_OVERRIDE; 126 126 HRESULT getSupportedClipboardModes(std::vector<ClipboardMode_T> &aSupportedClipboardModes) RT_OVERRIDE; 127 127 HRESULT getSupportedDnDModes(std::vector<DnDMode_T> &aSupportedDnDModes) RT_OVERRIDE; -
trunk/src/VBox/Main/include/VirtualBoxBase.h
r98103 r103977 609 609 610 610 #define VIRTUALBOXBASE_ADD_VIRTUAL_COMPONENT_METHODS(cls, iface) \ 611 virtual const IID & getClassIID() const\611 virtual const IID &getClassIID() const RT_OVERRIDE \ 612 612 { \ 613 613 return cls::getStaticClassIID(); \ 614 614 } \ 615 static const IID &getStaticClassIID() \615 static const IID &getStaticClassIID() \ 616 616 { \ 617 617 return COM_IIDOF(iface); \ 618 618 } \ 619 virtual const char * getComponentName() const\619 virtual const char *getComponentName() const RT_OVERRIDE \ 620 620 { \ 621 621 return cls::getStaticComponentName(); \ 622 622 } \ 623 static const char *getStaticComponentName() \623 static const char *getStaticComponentName() \ 624 624 { \ 625 625 return #cls; \ … … 642 642 #define VIRTUALBOXBASE_ADD_ERRORINFO_SUPPORT(cls, iface) \ 643 643 VIRTUALBOXBASE_ADD_VIRTUAL_COMPONENT_METHODS(cls, iface) \ 644 STDMETHOD(InterfaceSupportsErrorInfo)(REFIID riid) \644 STDMETHOD(InterfaceSupportsErrorInfo)(REFIID riid) RT_OVERRIDE \ 645 645 { \ 646 646 const ATL::_ATL_INTMAP_ENTRY* pEntries = cls::_GetEntries(); \ -
trunk/src/VBox/Main/include/VirtualBoxErrorInfoImpl.h
r98103 r103977 144 144 145 145 // IVirtualBoxErrorInfo properties 146 STDMETHOD(COMGETTER(ResultCode))(LONG *aResultCode) ;147 STDMETHOD(COMGETTER(ResultDetail))(LONG *aResultDetail) ;148 STDMETHOD(COMGETTER(InterfaceID))(BSTR *aIID) ;149 STDMETHOD(COMGETTER(Component))(BSTR *aComponent) ;150 STDMETHOD(COMGETTER(Text))(BSTR *aText) ;151 STDMETHOD(COMGETTER(Next))(IVirtualBoxErrorInfo **aNext) ;146 STDMETHOD(COMGETTER(ResultCode))(LONG *aResultCode) RT_OVERRIDE; 147 STDMETHOD(COMGETTER(ResultDetail))(LONG *aResultDetail) RT_OVERRIDE; 148 STDMETHOD(COMGETTER(InterfaceID))(BSTR *aIID) RT_OVERRIDE; 149 STDMETHOD(COMGETTER(Component))(BSTR *aComponent) RT_OVERRIDE; 150 STDMETHOD(COMGETTER(Text))(BSTR *aText) RT_OVERRIDE; 151 STDMETHOD(COMGETTER(Next))(IVirtualBoxErrorInfo **aNext) RT_OVERRIDE; 152 152 153 153 const char* getComponentName() const { return "VirtualBoxErrorInfo"; } -
trunk/src/VBox/Main/src-all/EventImpl.cpp
r98262 r103977 1342 1342 1343 1343 // IEventListener methods 1344 STDMETHOD(HandleEvent)(IEvent *) 1344 STDMETHOD(HandleEvent)(IEvent *) RT_OVERRIDE 1345 1345 { 1346 1346 ComAssertMsgRet(false, (tr("HandleEvent() of wrapper shall never be called")), … … 1391 1391 1392 1392 // IEventListener methods 1393 STDMETHOD(HandleEvent)(IEvent *aEvent) 1393 STDMETHOD(HandleEvent)(IEvent *aEvent) RT_OVERRIDE 1394 1394 { 1395 1395 BOOL fProcessed = FALSE; … … 1449 1449 1450 1450 // IEventSource methods 1451 STDMETHOD(CreateListener)(IEventListener **aListener) ;1451 STDMETHOD(CreateListener)(IEventListener **aListener) RT_OVERRIDE; 1452 1452 STDMETHOD(CreateAggregator)(ComSafeArrayIn(IEventSource *, aSubordinates), 1453 IEventSource **aAggregator) ;1453 IEventSource **aAggregator) RT_OVERRIDE; 1454 1454 STDMETHOD(RegisterListener)(IEventListener *aListener, 1455 1455 ComSafeArrayIn(VBoxEventType_T, aInterested), 1456 BOOL aActive) ;1457 STDMETHOD(UnregisterListener)(IEventListener *aListener) ;1456 BOOL aActive) RT_OVERRIDE; 1457 STDMETHOD(UnregisterListener)(IEventListener *aListener) RT_OVERRIDE; 1458 1458 STDMETHOD(FireEvent)(IEvent *aEvent, 1459 1459 LONG aTimeout, 1460 BOOL *aProcessed) ;1460 BOOL *aProcessed) RT_OVERRIDE; 1461 1461 STDMETHOD(GetEvent)(IEventListener *aListener, 1462 1462 LONG aTimeout, 1463 IEvent **aEvent) ;1463 IEvent **aEvent) RT_OVERRIDE; 1464 1464 STDMETHOD(EventProcessed)(IEventListener *aListener, 1465 IEvent *aEvent) ;1465 IEvent *aEvent) RT_OVERRIDE; 1466 1466 1467 1467 protected: -
trunk/src/libs/xpcom18a4/xpcom/base/nscore.h
r91528 r103977 424 424 #define NS_DEFAULT = default 425 425 #define NS_DELETE = delete 426 #define NS_OVERRIDE override 426 427 #else 427 428 #define NS_DEFAULT 428 429 #define NS_DELETE 430 #define NS_OVERRIDE 429 431 #endif 430 432 -
trunk/src/libs/xpcom18a4/xpcom/glue/nsGenericFactory.h
r1 r103977 57 57 58 58 /* nsIGenericFactory methods */ 59 NS_IMETHOD SetComponentInfo(const nsModuleComponentInfo *info) ;60 NS_IMETHOD GetComponentInfo(const nsModuleComponentInfo **infop) ;59 NS_IMETHOD SetComponentInfo(const nsModuleComponentInfo *info) RT_OVERRIDE; 60 NS_IMETHOD GetComponentInfo(const nsModuleComponentInfo **infop) RT_OVERRIDE; 61 61 62 NS_IMETHOD CreateInstance(nsISupports *aOuter, REFNSIID aIID, void **aResult) ;62 NS_IMETHOD CreateInstance(nsISupports *aOuter, REFNSIID aIID, void **aResult) RT_OVERRIDE; 63 63 64 NS_IMETHOD LockFactory(PRBool aLock) ;64 NS_IMETHOD LockFactory(PRBool aLock) RT_OVERRIDE; 65 65 66 66 static NS_METHOD Create(nsISupports* outer, const nsIID& aIID, void* *aInstancePtr); -
trunk/src/libs/xpcom18a4/xpcom/glue/nsISupportsImpl.h
r102214 r103977 121 121 public: \ 122 122 NS_IMETHOD QueryInterface(REFNSIID aIID, \ 123 void** aInstancePtr) ;\124 NS_IMETHOD_(nsrefcnt) AddRef(void) ;\125 NS_IMETHOD_(nsrefcnt) Release(void) ;\123 void** aInstancePtr) NS_OVERRIDE; \ 124 NS_IMETHOD_(nsrefcnt) AddRef(void) NS_OVERRIDE; \ 125 NS_IMETHOD_(nsrefcnt) Release(void) NS_OVERRIDE; \ 126 126 protected: \ 127 127 nsAutoRefCnt mRefCnt; \ … … 506 506 public: \ 507 507 NS_IMETHOD QueryInterface(REFNSIID aIID, \ 508 void** aInstancePtr) ;\509 NS_IMETHOD_(nsrefcnt) AddRef(void) ;\510 NS_IMETHOD_(nsrefcnt) Release(void) ;\508 void** aInstancePtr) NS_OVERRIDE; \ 509 NS_IMETHOD_(nsrefcnt) AddRef(void) NS_OVERRIDE; \ 510 NS_IMETHOD_(nsrefcnt) Release(void) NS_OVERRIDE; \ 511 511 512 512 /** -
trunk/src/libs/xpcom18a4/xpcom/typelib/xpidl/xpidl_header.c
r103458 r103977 309 309 FAIL; 310 310 if (!IDL_ATTR_DCL(data).f_readonly) { 311 fputs(" ; \\\n", state->file); /* Terminate the previous one. */311 fputs(" NS_OVERRIDE; \\\n", state->file); /* Terminate the previous one. */ 312 312 write_indent(state->file); 313 313 if (!write_attr_accessor(data, state->file, … … 340 340 341 341 if (IDL_LIST(iter).next != NULL) { 342 fprintf(state->file, " ; \\\n");342 fprintf(state->file, " NS_OVERRIDE; \\\n"); 343 343 } else { 344 fprintf(state->file, " ; \n");344 fprintf(state->file, " NS_OVERRIDE; \n"); 345 345 } 346 346 }
Note:
See TracChangeset
for help on using the changeset viewer.