summaryrefslogtreecommitdiffstats
path: root/tests/auto/qdbusabstractinterface
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-07-01 15:52:48 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-07-02 09:43:46 (GMT)
commit232f7af78d152518ccdcaaf1f42f89abb048ae5f (patch)
tree3722797142a3121834603d0dd3d0d6f2793b210e /tests/auto/qdbusabstractinterface
parent43a760280edd49382d01eb1e23ae2a08933b6bf7 (diff)
downloadQt-232f7af78d152518ccdcaaf1f42f89abb048ae5f.zip
Qt-232f7af78d152518ccdcaaf1f42f89abb048ae5f.tar.gz
Qt-232f7af78d152518ccdcaaf1f42f89abb048ae5f.tar.bz2
Replace internalPropGet and internalPropSet with the QObject versions in QDBusAbstractInterface.
They're now good enough and as fast. Reviewed-By: Marius Bugge Monsen
Diffstat (limited to 'tests/auto/qdbusabstractinterface')
-rw-r--r--tests/auto/qdbusabstractinterface/pinger.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/auto/qdbusabstractinterface/pinger.h b/tests/auto/qdbusabstractinterface/pinger.h
index 6e92e65..fb8adda 100644
--- a/tests/auto/qdbusabstractinterface/pinger.h
+++ b/tests/auto/qdbusabstractinterface/pinger.h
@@ -49,8 +49,8 @@
* Do not edit! All changes made to it will be lost.
*/
-#ifndef PINGER_H_1246460303
-#define PINGER_H_1246460303
+#ifndef PINGER_H_1246463415
+#define PINGER_H_1246463415
#include <QtCore/QObject>
#include <QtCore/QByteArray>
@@ -79,21 +79,21 @@ public:
Q_PROPERTY(RegisteredType complexProp READ complexProp WRITE setComplexProp)
inline RegisteredType complexProp() const
- { return qvariant_cast< RegisteredType >(internalPropGet("complexProp")); }
+ { return qvariant_cast< RegisteredType >(property("complexProp")); }
inline void setComplexProp(RegisteredType value)
- { internalPropSet("complexProp", qVariantFromValue(value)); }
+ { setProperty("complexProp", qVariantFromValue(value)); }
Q_PROPERTY(QString stringProp READ stringProp WRITE setStringProp)
inline QString stringProp() const
- { return qvariant_cast< QString >(internalPropGet("stringProp")); }
+ { return qvariant_cast< QString >(property("stringProp")); }
inline void setStringProp(const QString &value)
- { internalPropSet("stringProp", qVariantFromValue(value)); }
+ { setProperty("stringProp", qVariantFromValue(value)); }
Q_PROPERTY(QDBusVariant variantProp READ variantProp WRITE setVariantProp)
inline QDBusVariant variantProp() const
- { return qvariant_cast< QDBusVariant >(internalPropGet("variantProp")); }
+ { return qvariant_cast< QDBusVariant >(property("variantProp")); }
inline void setVariantProp(const QDBusVariant &value)
- { internalPropSet("variantProp", qVariantFromValue(value)); }
+ { setProperty("variantProp", qVariantFromValue(value)); }
public Q_SLOTS: // METHODS
inline QDBusPendingReply<RegisteredType> complexMethod()