Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Use more explicit

parent 602ac992
......@@ -60,7 +60,7 @@ public:
friend class Locker;
class Locker {
public:
Locker(Database &database);
explicit Locker(Database &database);
~Locker();
private:
......
......@@ -41,7 +41,7 @@ class Resources : public Module {
Q_CLASSINFO("D-Bus Interface", "org.kde.ActivityManager.Resources")
public:
Resources(QObject *parent = Q_NULLPTR);
explicit Resources(QObject *parent = Q_NULLPTR);
virtual ~Resources();
public Q_SLOTS:
......
......@@ -28,8 +28,8 @@ class TemplatesPlugin : public Plugin {
Q_CLASSINFO("D-Bus Interface", "org.kde.ActivityManager.Templates")
public:
TemplatesPlugin(QObject *parent = Q_NULLPTR,
const QVariantList &args = QVariantList());
explicit TemplatesPlugin(QObject *parent = Q_NULLPTR,
const QVariantList &args = QVariantList());
~TemplatesPlugin() Q_DECL_OVERRIDE;
bool init(QHash<QString, QObject *> &modules) Q_DECL_OVERRIDE;
......
Markdown is supported
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