summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2012-04-09 20:56:14 +0300
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2012-04-12 16:36:25 +0300
commit20f343b3dc5b1fa3c9eb7c90ca9e51a52338155d (patch)
treebd1a96568ca4ad56b7e57907be7bfe3bd7e9c434
parent39a083a71ea9b1f6e295b9e02ecc2c83020d2c8f (diff)
ProtocolParameter: Fix typo in the constructor arguments - flags should be of the respective QFlags type, not the enum type
-rw-r--r--TelepathyQt/protocol-parameter.cpp6
-rw-r--r--TelepathyQt/protocol-parameter.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/TelepathyQt/protocol-parameter.cpp b/TelepathyQt/protocol-parameter.cpp
index bc30f68e..e0960d14 100644
--- a/TelepathyQt/protocol-parameter.cpp
+++ b/TelepathyQt/protocol-parameter.cpp
@@ -39,7 +39,7 @@ struct TP_QT_NO_EXPORT ProtocolParameter::Private : public QSharedData
}
Private(const QString &name, const QString &dbusSignature,
- ConnMgrParamFlag flags, const QVariant &defaultValue)
+ ConnMgrParamFlags flags, const QVariant &defaultValue)
: type(variantTypeFromDBusSignature(dbusSignature))
{
spec.name = name;
@@ -95,7 +95,7 @@ ProtocolParameter::ProtocolParameter(const ParamSpec &spec)
ProtocolParameter::ProtocolParameter(const QString &name,
const QDBusSignature &dbusSignature,
- ConnMgrParamFlag flags,
+ ConnMgrParamFlags flags,
QVariant defaultValue)
: mPriv(new Private(name, dbusSignature.signature(), flags, defaultValue))
{
@@ -103,7 +103,7 @@ ProtocolParameter::ProtocolParameter(const QString &name,
ProtocolParameter::ProtocolParameter(const QString &name,
const QString &dbusSignature,
- ConnMgrParamFlag flags,
+ ConnMgrParamFlags flags,
QVariant defaultValue)
: mPriv(new Private(name, dbusSignature, flags, defaultValue))
{
diff --git a/TelepathyQt/protocol-parameter.h b/TelepathyQt/protocol-parameter.h
index cdd349a5..0762bb39 100644
--- a/TelepathyQt/protocol-parameter.h
+++ b/TelepathyQt/protocol-parameter.h
@@ -46,11 +46,11 @@ public:
ProtocolParameter(const ParamSpec &spec);
ProtocolParameter(const QString &name,
const QDBusSignature &dbusSignature,
- ConnMgrParamFlag flags,
+ ConnMgrParamFlags flags,
QVariant defaultValue = QVariant());
ProtocolParameter(const QString &name,
const QString &dbusSignature,
- ConnMgrParamFlag flags,
+ ConnMgrParamFlags flags,
QVariant defaultValue = QVariant());
ProtocolParameter(const ProtocolParameter &other);
~ProtocolParameter();