mirror of
https://github.com/aphrody-labs/kxmlgui.git
synced 2026-10-13 22:11:10 +00:00
GIT_SILENT: add missing override
This commit is contained in:
1 parent
bdc23e1153
commit
3eb6b9bc1a
22 files changed
+27
-27
No files matched your search
@@ -102,7 +102,7 @@ public:
|
||||
m_queryClosedCalled = true;
|
||||
return true;
|
||||
}
|
||||
~MyMainWindow()
|
||||
~MyMainWindow() override
|
||||
{
|
||||
s_mainWindowDeleted = true;
|
||||
}
|
||||
|
||||
@@ -100,7 +100,7 @@ public:
|
||||
*/
|
||||
explicit KAboutApplicationDialog(const KAboutData &aboutData, QWidget *parent = nullptr);
|
||||
|
||||
virtual ~KAboutApplicationDialog();
|
||||
~KAboutApplicationDialog() override;
|
||||
|
||||
private:
|
||||
std::unique_ptr<class KAboutApplicationDialogPrivate> const d;
|
||||
|
||||
@@ -96,7 +96,7 @@ public:
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
virtual ~KActionCategory();
|
||||
~KActionCategory() override;
|
||||
|
||||
/**
|
||||
* \name Adding Actions
|
||||
|
||||
@@ -151,7 +151,7 @@ public:
|
||||
* @em NOT be saved in the destructor. You @em must call save()
|
||||
* to do that.
|
||||
*/
|
||||
virtual ~KEditToolBarWidget();
|
||||
~KEditToolBarWidget() override;
|
||||
|
||||
/**
|
||||
* Old-style load.
|
||||
|
||||
+1
-1
@@ -143,7 +143,7 @@ public:
|
||||
*
|
||||
* Destroys dialogs and the menu pointer returned by menu
|
||||
*/
|
||||
~KHelpMenu();
|
||||
~KHelpMenu() override;
|
||||
|
||||
/**
|
||||
* Returns a popup menu you can use in the menu bar or where you
|
||||
|
||||
@@ -65,7 +65,7 @@ public:
|
||||
/**
|
||||
* Destructs the widget.
|
||||
*/
|
||||
virtual ~KKeySequenceWidget();
|
||||
~KKeySequenceWidget() override;
|
||||
|
||||
/**
|
||||
* \name Configuration
|
||||
|
||||
+1
-1
@@ -81,7 +81,7 @@ class KMWSessionManager : public QObject
|
||||
Q_OBJECT
|
||||
public:
|
||||
KMWSessionManager();
|
||||
~KMWSessionManager();
|
||||
~KMWSessionManager() override;
|
||||
|
||||
private Q_SLOTS:
|
||||
void saveState(QSessionManager &);
|
||||
|
||||
@@ -37,7 +37,7 @@ public:
|
||||
Destructor
|
||||
Cleans up the dcop action proxy object.
|
||||
**/
|
||||
~KMainWindowInterface();
|
||||
~KMainWindowInterface() override;
|
||||
|
||||
public Q_SLOTS:
|
||||
/**
|
||||
|
||||
@@ -47,7 +47,7 @@ class SMTP : public QObject
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit SMTP(char *serverhost = nullptr, unsigned short int port = 0, int timeout = DEFAULT_SMTP_TIMEOUT);
|
||||
~SMTP();
|
||||
~SMTP() override;
|
||||
|
||||
void setServerHost(const QString &serverhost);
|
||||
void setPort(unsigned short int port);
|
||||
|
||||
@@ -269,7 +269,7 @@ public:
|
||||
*
|
||||
* Will undo pending changes. If you don't want that. Call commitChanges before
|
||||
*/
|
||||
virtual ~KShortcutsEditorItem();
|
||||
~KShortcutsEditorItem() override;
|
||||
|
||||
//! Undo the changes since the last commit.
|
||||
void undo();
|
||||
|
||||
@@ -109,7 +109,7 @@ public:
|
||||
explicit KShortcutsEditor(QWidget *parent, ActionTypes actionTypes = AllActions, LetterShortcuts allowLetterShortcuts = LetterShortcutsAllowed);
|
||||
|
||||
/// Destructor
|
||||
virtual ~KShortcutsEditor();
|
||||
~KShortcutsEditor() override;
|
||||
|
||||
/**
|
||||
* Are the unsaved changes?
|
||||
|
||||
@@ -28,7 +28,7 @@ class KXMLGUI_EXPORT KShortcutWidget : public QWidget
|
||||
Q_PROPERTY(bool modifierlessAllowed READ isModifierlessAllowed WRITE setModifierlessAllowed)
|
||||
public:
|
||||
KShortcutWidget(QWidget *parent = nullptr);
|
||||
~KShortcutWidget();
|
||||
~KShortcutWidget() override;
|
||||
|
||||
void setModifierlessAllowed(bool allow);
|
||||
bool isModifierlessAllowed();
|
||||
|
||||
@@ -49,7 +49,7 @@ public:
|
||||
*/
|
||||
explicit KSwitchLanguageDialog(QWidget *parent = nullptr);
|
||||
|
||||
virtual ~KSwitchLanguageDialog();
|
||||
~KSwitchLanguageDialog() override;
|
||||
|
||||
protected Q_SLOTS:
|
||||
/**
|
||||
|
||||
+1
-1
@@ -119,7 +119,7 @@ public:
|
||||
/**
|
||||
* Destroys the toolbar.
|
||||
*/
|
||||
virtual ~KToolBar();
|
||||
~KToolBar() override;
|
||||
|
||||
/**
|
||||
* Returns the main window that this toolbar is docked with.
|
||||
|
||||
@@ -36,7 +36,7 @@ public:
|
||||
/**
|
||||
* Destroys the tool bar handler.
|
||||
*/
|
||||
virtual ~ToolBarHandler();
|
||||
~ToolBarHandler() override;
|
||||
|
||||
/**
|
||||
* Returns the action which is responsible for the tool bar menu.
|
||||
|
||||
@@ -97,7 +97,7 @@ public:
|
||||
private:
|
||||
explicit KToolTipHelper(QObject *parent);
|
||||
|
||||
virtual ~KToolTipHelper();
|
||||
~KToolTipHelper() override;
|
||||
|
||||
private:
|
||||
std::unique_ptr<KToolTipHelperPrivate> const d;
|
||||
|
||||
@@ -37,7 +37,7 @@ public:
|
||||
|
||||
explicit KToolTipHelperPrivate(KToolTipHelper *qq);
|
||||
|
||||
virtual ~KToolTipHelperPrivate();
|
||||
~KToolTipHelperPrivate() override;
|
||||
|
||||
/** @see KToolTipHelper::eventFilter() */
|
||||
virtual bool eventFilter(QObject* watched, QEvent* event) override;
|
||||
|
||||
@@ -69,7 +69,7 @@ public:
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
~KXMLGUIFactory();
|
||||
~KXMLGUIFactory() override;
|
||||
|
||||
// XXX move to somewhere else? (Simon)
|
||||
/// @internal
|
||||
|
||||
@@ -11,7 +11,7 @@ public:
|
||||
: KMainWindow()
|
||||
{
|
||||
}
|
||||
virtual ~MainWin1()
|
||||
~MainWin1() override
|
||||
{
|
||||
}
|
||||
};
|
||||
@@ -24,7 +24,7 @@ public:
|
||||
: KMainWindow()
|
||||
{
|
||||
}
|
||||
virtual ~MainWin2()
|
||||
~MainWin2() override
|
||||
{
|
||||
}
|
||||
};
|
||||
@@ -37,7 +37,7 @@ public:
|
||||
: KMainWindow()
|
||||
{
|
||||
}
|
||||
virtual ~MainWin3()
|
||||
~MainWin3() override
|
||||
{
|
||||
}
|
||||
};
|
||||
@@ -50,7 +50,7 @@ public:
|
||||
: KMainWindow()
|
||||
{
|
||||
}
|
||||
virtual ~MainWin4()
|
||||
~MainWin4() override
|
||||
{
|
||||
}
|
||||
};
|
||||
@@ -63,7 +63,7 @@ public:
|
||||
: KMainWindow()
|
||||
{
|
||||
}
|
||||
virtual ~MainWin5()
|
||||
~MainWin5() override
|
||||
{
|
||||
}
|
||||
};
|
||||
@@ -76,7 +76,7 @@ public:
|
||||
: KMainWindow()
|
||||
{
|
||||
}
|
||||
virtual ~MainWin6()
|
||||
~MainWin6() override
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
@@ -25,7 +25,7 @@ class KRichTextEditor : public KXmlGuiWindow
|
||||
Q_OBJECT
|
||||
public:
|
||||
KRichTextEditor();
|
||||
~KRichTextEditor();
|
||||
~KRichTextEditor() override;
|
||||
|
||||
void setupActions();
|
||||
|
||||
|
||||
+1
-1
@@ -42,7 +42,7 @@ class KRulerTest : public QWidget
|
||||
Q_OBJECT
|
||||
public:
|
||||
KRulerTest();
|
||||
~KRulerTest();
|
||||
~KRulerTest() override;
|
||||
|
||||
private Q_SLOTS:
|
||||
void slotNewWidth(int);
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ class TestWindow : public KXmlGuiWindow
|
||||
|
||||
public:
|
||||
TestWindow(QWidget *parent = nullptr);
|
||||
~TestWindow();
|
||||
~TestWindow() override;
|
||||
|
||||
public Q_SLOTS:
|
||||
void beFixed();
|
||||
|
||||
Reference in new issue
Block a user