aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@pelagicore.com>2018-03-23 14:46:11 +0100
committerDominik Holland <dominik.holland@pelagicore.com>2018-04-04 08:31:37 +0000
commit993e84bfb27593e3e7edb782cf57e8cb5431de2c (patch)
treedf50c0b40f4fffa9a47a6d239e8c4fec346f3027
parentf1bfd32b7b3616f7b8c17ab34678689a9d7ebbbc (diff)
Make the QIviPendingReplyWatcher constructor private
The watcher should only be created by the QIviPendingReplyBase, which is a friend class. Change-Id: I58ccc2e582a3e66876bb49543263eb9fc57e5dbd Reviewed-by: Antti Hölttä <ahoelttae@luxoft.com>
-rw-r--r--src/ivicore/qivipendingreply.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ivicore/qivipendingreply.h b/src/ivicore/qivipendingreply.h
index 9d446e7..83f547c 100644
--- a/src/ivicore/qivipendingreply.h
+++ b/src/ivicore/qivipendingreply.h
@@ -62,7 +62,6 @@ class Q_QTIVICORE_EXPORT QIviPendingReplyWatcher : public QObject
Q_PROPERTY(bool success READ isSuccessful NOTIFY valueChanged)
public:
- explicit QIviPendingReplyWatcher(int userType);
~QIviPendingReplyWatcher();
QVariant value() const;
@@ -80,6 +79,7 @@ Q_SIGNALS:
void valueChanged(const QVariant &value);
private:
+ explicit QIviPendingReplyWatcher(int userType);
Q_DECLARE_PRIVATE(QIviPendingReplyWatcher)
friend class QIviPendingReplyBase;
};