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

Use explicit

parent 86c7fdd3
......@@ -57,7 +57,7 @@ class AbstractLocker : public QObject
{
Q_OBJECT
public:
AbstractLocker(QObject *parent);
explicit AbstractLocker(QObject *parent);
~AbstractLocker() override;
virtual void showLockWindow() = 0;
......
......@@ -65,7 +65,7 @@ class GlobalAccel : public QObject
{
Q_OBJECT
public:
GlobalAccel(QObject *parent = nullptr);
explicit GlobalAccel(QObject *parent = nullptr);
/**
* Starts interacting with KGlobalAccel and fetches the up-to-date shortcut information.
......
......@@ -70,7 +70,7 @@ public:
static KSldApp* self();
KSldApp(QObject * parent = nullptr);
explicit KSldApp(QObject * parent = nullptr);
~KSldApp() override;
LockState lockState() const {
......
......@@ -30,7 +30,7 @@ class PowerManagementInhibition : public QObject
{
Q_OBJECT
public:
PowerManagementInhibition(QObject *parent = nullptr);
explicit PowerManagementInhibition(QObject *parent = nullptr);
~PowerManagementInhibition() override;
bool isInhibited() const {
......
......@@ -41,7 +41,7 @@ class X11Locker : public AbstractLocker, public QAbstractNativeEventFilter
{
Q_OBJECT
public:
X11Locker(QObject *parent = nullptr);
explicit X11Locker(QObject *parent = nullptr);
~X11Locker() override;
void showLockWindow() override;
......
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