summaryrefslogtreecommitdiffstats
path: root/src/timedatesettings/systemtime.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/timedatesettings/systemtime.h')
-rw-r--r--src/timedatesettings/systemtime.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/timedatesettings/systemtime.h b/src/timedatesettings/systemtime.h
index 6003238..f7ad593 100644
--- a/src/timedatesettings/systemtime.h
+++ b/src/timedatesettings/systemtime.h
@@ -41,7 +41,7 @@ class Q_DECL_EXPORT SystemTime : public QObject
Q_PROPERTY(bool ntp READ ntp WRITE setNtp NOTIFY ntpChanged)
Q_PROPERTY(QDateTime time READ time WRITE setTime NOTIFY timeChanged)
public:
- explicit SystemTime(QObject *parent = nullptr);
+ explicit SystemTime(QObject *parent = Q_NULLPTR);
bool ntp() const;
void setNtp(const bool aNtp);
void setTime(const QDateTime& aTime);
@@ -54,6 +54,8 @@ Q_SIGNALS:
void ntpChanged();
void timeChanged();
+public Q_SLOTS:
+
protected:
SystemTimePrivate *d_ptr;