VirtualBox

Changeset 103987 in vbox for trunk


Ignore:
Timestamp:
Mar 21, 2024 12:33:33 PM (12 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
162372
Message:

FE/Qt: bugref:10624. Adding RT_FINAL to virtual functions whereever appropriate.

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/cloud/machinesettings/UICloudMachineSettingsDialog.h

    r103803 r103987  
    7474
    7575    /** Handles translation event. */
    76     virtual void retranslateUi() RT_OVERRIDE;
     76    virtual void retranslateUi() RT_OVERRIDE RT_FINAL;
    7777    /** Handles show @a pEvent. */
    78     virtual void showEvent(QShowEvent *pEvent) RT_OVERRIDE;
     78    virtual void showEvent(QShowEvent *pEvent) RT_OVERRIDE RT_FINAL;
    7979    /** Handles first show @a pEvent. */
    8080    virtual void polishEvent(QShowEvent*);
    8181    /** Handles close @a pEvent. */
    82     virtual void closeEvent(QCloseEvent *pEvent) RT_OVERRIDE;
     82    virtual void closeEvent(QCloseEvent *pEvent) RT_OVERRIDE RT_FINAL;
    8383
    8484private slots:
  • trunk/src/VBox/Frontends/VirtualBox/src/extensions/QITableView.cpp

    r98103 r103987  
    5959
    6060    /** Returns the parent. */
    61     virtual QAccessibleInterface *parent() const RT_OVERRIDE;
     61    virtual QAccessibleInterface *parent() const RT_OVERRIDE RT_FINAL;
    6262
    6363    /** Returns the number of children. */
     
    6969
    7070    /** Returns the rect. */
    71     virtual QRect rect() const RT_OVERRIDE;
     71    virtual QRect rect() const RT_OVERRIDE RT_FINAL;
    7272    /** Returns a text for the passed @a enmTextRole. */
    73     virtual QString text(QAccessible::Text enmTextRole) const RT_OVERRIDE;
     73    virtual QString text(QAccessible::Text enmTextRole) const RT_OVERRIDE RT_FINAL;
    7474
    7575    /** Returns the role. */
    76     virtual QAccessible::Role role() const RT_OVERRIDE;
     76    virtual QAccessible::Role role() const RT_OVERRIDE RT_FINAL;
    7777    /** Returns the state. */
    78     virtual QAccessible::State state() const RT_OVERRIDE;
     78    virtual QAccessible::State state() const RT_OVERRIDE RT_FINAL;
    7979
    8080private:
     
    107107
    108108    /** Returns the parent. */
    109     virtual QAccessibleInterface *parent() const RT_OVERRIDE;
     109    virtual QAccessibleInterface *parent() const RT_OVERRIDE RT_FINAL;
    110110
    111111    /** Returns the number of children. */
    112     virtual int childCount() const RT_OVERRIDE;
     112    virtual int childCount() const RT_OVERRIDE RT_FINAL;
    113113    /** Returns the child with the passed @a iIndex. */
    114     virtual QAccessibleInterface *child(int iIndex) const RT_OVERRIDE;
     114    virtual QAccessibleInterface *child(int iIndex) const RT_OVERRIDE RT_FINAL;
    115115    /** Returns the index of the passed @a pChild. */
    116     virtual int indexOfChild(const QAccessibleInterface *pChild) const RT_OVERRIDE;
     116    virtual int indexOfChild(const QAccessibleInterface *pChild) const RT_OVERRIDE RT_FINAL;
    117117
    118118    /** Returns the rect. */
    119     virtual QRect rect() const RT_OVERRIDE;
     119    virtual QRect rect() const RT_OVERRIDE RT_FINAL;
    120120    /** Returns a text for the passed @a enmTextRole. */
    121     virtual QString text(QAccessible::Text enmTextRole) const RT_OVERRIDE;
     121    virtual QString text(QAccessible::Text enmTextRole) const RT_OVERRIDE RT_FINAL;
    122122
    123123    /** Returns the role. */
    124     virtual QAccessible::Role role() const RT_OVERRIDE;
     124    virtual QAccessible::Role role() const RT_OVERRIDE RT_FINAL;
    125125    /** Returns the state. */
    126     virtual QAccessible::State state() const RT_OVERRIDE;
     126    virtual QAccessible::State state() const RT_OVERRIDE RT_FINAL;
    127127
    128128private:
     
    155155
    156156    /** Returns the number of children. */
    157     virtual int childCount() const RT_OVERRIDE;
     157    virtual int childCount() const RT_OVERRIDE RT_FINAL;
    158158    /** Returns the child with the passed @a iIndex. */
    159     virtual QAccessibleInterface *child(int iIndex) const RT_OVERRIDE;
     159    virtual QAccessibleInterface *child(int iIndex) const RT_OVERRIDE RT_FINAL;
    160160    /** Returns the index of the passed @a pChild. */
    161     virtual int indexOfChild(const QAccessibleInterface *pChild) const RT_OVERRIDE;
     161    virtual int indexOfChild(const QAccessibleInterface *pChild) const RT_OVERRIDE RT_FINAL;
    162162
    163163    /** Returns a text for the passed @a enmTextRole. */
    164     virtual QString text(QAccessible::Text enmTextRole) const RT_OVERRIDE;
     164    virtual QString text(QAccessible::Text enmTextRole) const RT_OVERRIDE RT_FINAL;
    165165
    166166private:
  • trunk/src/VBox/Frontends/VirtualBox/src/extensions/QITreeView.cpp

    r103982 r103987  
    6464
    6565    /** Returns the parent. */
    66     virtual QAccessibleInterface *parent() const RT_OVERRIDE;
     66    virtual QAccessibleInterface *parent() const RT_OVERRIDE RT_FINAL;
    6767
    6868    /** Returns the number of children. */
    69     virtual int childCount() const RT_OVERRIDE;
     69    virtual int childCount() const RT_OVERRIDE RT_FINAL;
    7070    /** Returns the child with the passed @a iIndex. */
    71     virtual QAccessibleInterface *child(int iIndex) const RT_OVERRIDE;
     71    virtual QAccessibleInterface *child(int iIndex) const RT_OVERRIDE RT_FINAL;
    7272    /** Returns the index of the passed @a pChild. */
    73     virtual int indexOfChild(const QAccessibleInterface *pChild) const RT_OVERRIDE;
     73    virtual int indexOfChild(const QAccessibleInterface *pChild) const RT_OVERRIDE RT_FINAL;
    7474
    7575    /** Returns the rect. */
    76     virtual QRect rect() const RT_OVERRIDE;
     76    virtual QRect rect() const RT_OVERRIDE RT_FINAL;
    7777    /** Returns a text for the passed @a enmTextRole. */
    78     virtual QString text(QAccessible::Text enmTextRole) const RT_OVERRIDE;
     78    virtual QString text(QAccessible::Text enmTextRole) const RT_OVERRIDE RT_FINAL;
    7979
    8080    /** Returns the role. */
    81     virtual QAccessible::Role role() const RT_OVERRIDE;
     81    virtual QAccessible::Role role() const RT_OVERRIDE RT_FINAL;
    8282    /** Returns the state. */
    83     virtual QAccessible::State state() const RT_OVERRIDE;
     83    virtual QAccessible::State state() const RT_OVERRIDE RT_FINAL;
    8484
    8585private:
     
    112112
    113113    /** Returns the number of children. */
    114     virtual int childCount() const RT_OVERRIDE;
     114    virtual int childCount() const RT_OVERRIDE RT_FINAL;
    115115    /** Returns the child with the passed @a iIndex. */
    116     virtual QAccessibleInterface *child(int iIndex) const RT_OVERRIDE;
     116    virtual QAccessibleInterface *child(int iIndex) const RT_OVERRIDE RT_FINAL;
    117117    /** Returns the index of the passed @a pChild. */
    118     virtual int indexOfChild(const QAccessibleInterface *pChild) const RT_OVERRIDE;
     118    virtual int indexOfChild(const QAccessibleInterface *pChild) const RT_OVERRIDE RT_FINAL;
    119119
    120120    /** Returns a text for the passed @a enmTextRole. */
    121     virtual QString text(QAccessible::Text enmTextRole) const RT_OVERRIDE;
     121    virtual QString text(QAccessible::Text enmTextRole) const RT_OVERRIDE RT_FINAL;
    122122
    123123private:
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIShortcutPool.h

    r103579 r103987  
    162162
    163163    /** Handles translation event. */
    164     virtual void retranslateUi() RT_OVERRIDE;
     164    virtual void retranslateUi() RT_OVERRIDE RT_FINAL;
    165165
    166166private slots:
     
    176176    UIShortcutPool(UIType enmType);
    177177    /** Destructs shortcut pool. */
    178     virtual ~UIShortcutPool() RT_OVERRIDE;
     178    virtual ~UIShortcutPool() RT_OVERRIDE RT_FINAL;
    179179
    180180    /** Prepares all. */
  • trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIFileManagerPaneContainer.cpp

    r103923 r103987  
    7777protected:
    7878
    79     virtual void focusInEvent(QFocusEvent *pEvent) RT_OVERRIDE;
    80     virtual void focusOutEvent(QFocusEvent *pEvent) RT_OVERRIDE;
     79    virtual void focusInEvent(QFocusEvent *pEvent) RT_OVERRIDE RT_FINAL;
     80    virtual void focusOutEvent(QFocusEvent *pEvent) RT_OVERRIDE RT_FINAL;
    8181
    8282private slots:
  • trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIGuestProcessControlWidget.cpp

    r103771 r103987  
    8181protected:
    8282
    83     void contextMenuEvent(QContextMenuEvent *pEvent) RT_OVERRIDE;
     83    void contextMenuEvent(QContextMenuEvent *pEvent) RT_OVERRIDE RT_FINAL;
    8484
    8585private slots:
  • trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerWidget.cpp

    r103923 r103987  
    127127protected:
    128128
    129     virtual void paintEvent(QPaintEvent *pEvent) RT_OVERRIDE;
     129    virtual void paintEvent(QPaintEvent *pEvent) RT_OVERRIDE RT_FINAL;
    130130};
    131131
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.cpp

    r103793 r103987  
    145145
    146146    /** Handles translation event. */
    147     virtual void retranslateUi() RT_OVERRIDE;
     147    virtual void retranslateUi() RT_OVERRIDE RT_FINAL;
    148148
    149149private:
     
    190190
    191191    /** Handles translation event. */
    192     virtual void retranslateUi() RT_OVERRIDE;
     192    virtual void retranslateUi() RT_OVERRIDE RT_FINAL;
    193193
    194194private slots:
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachine.h

    r103803 r103987  
    867867    UIMachine();
    868868    /** Destructs machine UI singleton. */
    869     virtual ~UIMachine() RT_OVERRIDE;
     869    virtual ~UIMachine() RT_OVERRIDE RT_FINAL;
    870870
    871871    /** Prepare routine. */
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIStatusBarEditor.cpp

    r103977 r103987  
    9494
    9595    /** Handles any Qt @a pEvent. */
    96     virtual bool event(QEvent *pEvent) RT_OVERRIDE;
     96    virtual bool event(QEvent *pEvent) RT_OVERRIDE RT_FINAL;
    9797
    9898    /** Handles translation event. */
    99     virtual void retranslateUi() RT_OVERRIDE;
     99    virtual void retranslateUi() RT_OVERRIDE RT_FINAL;
    100100
    101101    /** Handles paint @a pEvent. */
    102     virtual void paintEvent(QPaintEvent *pEvent) RT_OVERRIDE;
     102    virtual void paintEvent(QPaintEvent *pEvent) RT_OVERRIDE RT_FINAL;
    103103
    104104    /** Handles mouse-press @a pEvent. */
    105     virtual void mousePressEvent(QMouseEvent *pEvent) RT_OVERRIDE;
     105    virtual void mousePressEvent(QMouseEvent *pEvent) RT_OVERRIDE RT_FINAL;
    106106    /** Handles mouse-release @a pEvent. */
    107     virtual void mouseReleaseEvent(QMouseEvent *pEvent) RT_OVERRIDE;
     107    virtual void mouseReleaseEvent(QMouseEvent *pEvent) RT_OVERRIDE RT_FINAL;
    108108    /** Handles mouse-enter @a pEvent. */
    109     virtual void enterEvent(QEnterEvent *pEvent) RT_OVERRIDE;
     109    virtual void enterEvent(QEnterEvent *pEvent) RT_OVERRIDE RT_FINAL;
    110110    /** Handles mouse-leave @a pEvent. */
    111     virtual void leaveEvent(QEvent *pEvent) RT_OVERRIDE;
     111    virtual void leaveEvent(QEvent *pEvent) RT_OVERRIDE RT_FINAL;
    112112    /** Handles mouse-move @a pEvent. */
    113     virtual void mouseMoveEvent(QMouseEvent *pEvent) RT_OVERRIDE;
     113    virtual void mouseMoveEvent(QMouseEvent *pEvent) RT_OVERRIDE RT_FINAL;
    114114
    115115private:
     
    150150
    151151    /** Returns a text for the passed @a enmTextRole. */
    152     virtual QString text(QAccessible::Text enmTextRole) const RT_OVERRIDE;
     152    virtual QString text(QAccessible::Text enmTextRole) const RT_OVERRIDE RT_FINAL;
    153153
    154154    /** Returns the state. */
    155     virtual QAccessible::State state() const RT_OVERRIDE;
     155    virtual QAccessible::State state() const RT_OVERRIDE RT_FINAL;
    156156
    157157private:
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIFilePathSelector.h

    r103977 r103987  
    148148
    149149    /** Preprocesses every @a pEvent sent to @a pObject. */
    150     bool eventFilter(QObject *pObject, QEvent *pEvent) RT_OVERRIDE;
     150    bool eventFilter(QObject *pObject, QEvent *pEvent) RT_OVERRIDE RT_FINAL;
    151151
    152152    /** Handles resize @a pEvent. */
    153     void resizeEvent(QResizeEvent *pEvent) RT_OVERRIDE;
     153    void resizeEvent(QResizeEvent *pEvent) RT_OVERRIDE RT_FINAL;
    154154
    155155    /** Handles focus-in @a pEvent. */
    156     void focusInEvent(QFocusEvent *pEvent) RT_OVERRIDE;
     156    void focusInEvent(QFocusEvent *pEvent) RT_OVERRIDE RT_FINAL;
    157157    /** Handles focus-out @a pEvent. */
    158     void focusOutEvent(QFocusEvent *pEvent) RT_OVERRIDE;
     158    void focusOutEvent(QFocusEvent *pEvent) RT_OVERRIDE RT_FINAL;
    159159
    160160    /** Handles translation event. */
    161     virtual void retranslateUi() RT_OVERRIDE;
     161    virtual void retranslateUi() RT_OVERRIDE RT_FINAL;
    162162
    163163private slots:
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/UINativeWizard.h

    r103977 r103987  
    148148
    149149    /** Handles key-press @a pEvent. */
    150     virtual void keyPressEvent(QKeyEvent *pEvent) RT_OVERRIDE;
     150    virtual void keyPressEvent(QKeyEvent *pEvent) RT_OVERRIDE RT_FINAL;
    151151    /** Handles close @a pEvent. */
    152     virtual void closeEvent(QCloseEvent *pEvent) RT_OVERRIDE;
     152    virtual void closeEvent(QCloseEvent *pEvent) RT_OVERRIDE RT_FINAL;
    153153
    154154    /** Performs wizard-specific cleanup in case of wizard-mode change
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette