Commit 5785f734 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Use override

parent 4928f635
......@@ -28,7 +28,7 @@ class DisplayNumber : public QLabel {
Q_OBJECT
public:
DisplayNumber(QWidget *parent=0, int digits=0, int prec=0);
~DisplayNumber();
~DisplayNumber() override;
void setFont( const QFont & f );
void setNum(double num);
void setWidth(int digits);
......
......@@ -36,7 +36,7 @@ class GammaCtrl : public QWidget {
const QString& mingamma="0.40", const QString& maxgamma="3.50",
const QString& setgamma="1.00");
/** destruktor */
~GammaCtrl();
~GammaCtrl() override;
/** Return the current gamma value with precision prec */
QString gamma(int);
/** Set gamma, slider and textfield */
......
......@@ -32,13 +32,13 @@ class KGamma: public KCModule
Q_OBJECT
public:
KGamma(QWidget* parent_P, const QVariantList &args );
virtual ~KGamma();
~KGamma() override;
void load() Q_DECL_OVERRIDE;
void save() Q_DECL_OVERRIDE;
void defaults() Q_DECL_OVERRIDE;
void load() override;
void save() override;
void defaults() override;
int buttons();
QString quickHelp() const Q_DECL_OVERRIDE;
QString quickHelp() const override;
protected: // Protected methods
/** The user interface */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment