From 73a96d0b99db1bf8f5390b0505a8df320ed07d0f Mon Sep 17 00:00:00 2001 From: vboxsync Date: Mon, 28 Feb 2022 15:34:57 +0000 Subject: FE/Qt: Replaced /* override */ comments with RT_OVERRIDE. bugref:9898 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@93990 cfe28804-0f27-0410-a406-dd0f0b0b656f --- .../VirtualBox/src/settings/UISettingsSelector.h | 52 +++++++++++----------- 1 file changed, 26 insertions(+), 26 deletions(-) (limited to 'src/VBox/Frontends/VirtualBox/src/settings/UISettingsSelector.h') diff --git a/src/VBox/Frontends/VirtualBox/src/settings/UISettingsSelector.h b/src/VBox/Frontends/VirtualBox/src/settings/UISettingsSelector.h index 0cdc937646c..1571d5f0298 100644 --- a/src/VBox/Frontends/VirtualBox/src/settings/UISettingsSelector.h +++ b/src/VBox/Frontends/VirtualBox/src/settings/UISettingsSelector.h @@ -56,7 +56,7 @@ public: /** Constructs settings selector passing @a pParent to the base-class. */ UISettingsSelector(QWidget *pParent = 0); /** Destructs settings selector. */ - virtual ~UISettingsSelector() /* override */; + virtual ~UISettingsSelector() RT_OVERRIDE; /** Returns the widget selector operates on. */ virtual QWidget *widget() const = 0; @@ -138,10 +138,10 @@ public: /** Constructs settings selector passing @a pParent to the base-class. */ UISettingsSelectorTreeView(QWidget *pParent = 0); /** Destructs settings selector. */ - virtual ~UISettingsSelectorTreeView() /* override */; + virtual ~UISettingsSelectorTreeView() RT_OVERRIDE; /** Returns the widget selector operates on. */ - virtual QWidget *widget() const /* override */; + virtual QWidget *widget() const RT_OVERRIDE; /** Adds a new selector item. * @param strBigIcon Brings the big icon reference. @@ -152,27 +152,27 @@ public: * @param pPage Brings the selector section page reference. * @param iParentID Brings the parent section ID or -1 if there is no parent. */ virtual QWidget *addItem(const QString &strBigIcon, const QString &strMediumIcon, const QString &strSmallIcon, - int iID, const QString &strLink, UISettingsPage *pPage = 0, int iParentID = -1) /* override */; + int iID, const QString &strLink, UISettingsPage *pPage = 0, int iParentID = -1) RT_OVERRIDE; /** Defines the @a strText for section with @a iID. */ - virtual void setItemText(int iID, const QString &strText) /* override */; + virtual void setItemText(int iID, const QString &strText) RT_OVERRIDE; /** Returns the text for section with @a iID. */ - virtual QString itemText(int iID) const /* override */; + virtual QString itemText(int iID) const RT_OVERRIDE; /** Returns the current selector ID. */ - virtual int currentId() const /* override */; + virtual int currentId() const RT_OVERRIDE; /** Returns the section ID for passed @a strLink. */ - virtual int linkToId(const QString &strLink) const /* override */; + virtual int linkToId(const QString &strLink) const RT_OVERRIDE; /** Make the section with @a iID current. */ - virtual void selectById(int iID) /* override */; + virtual void selectById(int iID) RT_OVERRIDE; /** Make the section with @a iID @a fVisible. */ - virtual void setVisibleById(int iID, bool fVisible) /* override */; + virtual void setVisibleById(int iID, bool fVisible) RT_OVERRIDE; /** Performs selector polishing. */ - virtual void polish() /* override */; + virtual void polish() RT_OVERRIDE; private slots: @@ -182,7 +182,7 @@ private slots: private: /** Clears selector of all the items. */ - virtual void clear() /* override */; + virtual void clear() RT_OVERRIDE; /** Returns page path for passed @a strMatch. */ QString pagePath(const QString &strMatch) const; @@ -211,10 +211,10 @@ public: /** Constructs settings selector passing @a pParent to the base-class. */ UISettingsSelectorToolBar(QWidget *pParent = 0); /** Destructs settings selector. */ - virtual ~UISettingsSelectorToolBar() /* override */; + virtual ~UISettingsSelectorToolBar() RT_OVERRIDE; /** Returns the widget selector operates on. */ - virtual QWidget *widget() const /* override */; + virtual QWidget *widget() const RT_OVERRIDE; /** Adds a new selector item. * @param strBigIcon Brings the big icon reference. @@ -225,35 +225,35 @@ public: * @param pPage Brings the selector section page reference. * @param iParentID Brings the parent section ID or -1 if there is no parent. */ virtual QWidget *addItem(const QString &strBigIcon, const QString &strMediumIcon, const QString &strSmallIcon, - int iID, const QString &strLink, UISettingsPage *pPage = 0, int iParentID = -1) /* override */; + int iID, const QString &strLink, UISettingsPage *pPage = 0, int iParentID = -1) RT_OVERRIDE; /** Defines the @a strText for section with @a iID. */ - virtual void setItemText(int iID, const QString &strText) /* override */; + virtual void setItemText(int iID, const QString &strText) RT_OVERRIDE; /** Returns the text for section with @a iID. */ - virtual QString itemText(int iID) const /* override */; + virtual QString itemText(int iID) const RT_OVERRIDE; /** Returns the current selector ID. */ - virtual int currentId() const /* override */; + virtual int currentId() const RT_OVERRIDE; /** Returns the section ID for passed @a strLink. */ - virtual int linkToId(const QString &strLink) const /* override */; + virtual int linkToId(const QString &strLink) const RT_OVERRIDE; /** Returns the section page for passed @a iID. */ - virtual QWidget *idToPage(int iID) const /* override */; + virtual QWidget *idToPage(int iID) const RT_OVERRIDE; /** Returns the section root-page for passed @a iID. */ - virtual QWidget *rootPage(int iID) const /* override */; + virtual QWidget *rootPage(int iID) const RT_OVERRIDE; /** Make the section with @a iID current. */ - virtual void selectById(int iID) /* override */; + virtual void selectById(int iID) RT_OVERRIDE; /** Make the section with @a iID @a fVisible. */ - virtual void setVisibleById(int iID, bool fVisible) /* override */; + virtual void setVisibleById(int iID, bool fVisible) RT_OVERRIDE; /** Returns the list of all root pages. */ - virtual QList rootPages() const /* override */; + virtual QList rootPages() const RT_OVERRIDE; /** Returns minimum selector width. */ - virtual int minWidth() const /* override */; + virtual int minWidth() const RT_OVERRIDE; private slots: @@ -265,7 +265,7 @@ private slots: private: /** Clears selector of all the items. */ - virtual void clear() /* override */; + virtual void clear() RT_OVERRIDE; /** Searches for action item with passed @a iID. */ UISelectorActionItem *findActionItem(int iID) const; -- cgit v1.2.1