summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThiago Macieira <thiago@kde.org>2006-04-29 17:22:47 +0000
committerThiago Macieira <thiago@kde.org>2006-04-29 17:22:47 +0000
commitc31815270cd8fc9b97be6fb1b51b7c9118313b01 (patch)
tree4b3ac8499cb88dcda62a67b0fd584ac501759cf9
parent3ad7ee6334a8b69794e64386657976a4df094c57 (diff)
* qt/dbusidl2cpp.cpp: There's no callAsync. Use the correct
call. (r535506)
-rw-r--r--ChangeLog5
-rw-r--r--qt/dbusidl2cpp.cpp4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 889a6e36..c8fc523c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2006-04-29 Thiago Macieira <thiago.macieira@trolltech.com>
+ * qt/dbusidl2cpp.cpp: There's no callAsync. Use the correct
+ call. (r535506)
+
+2006-04-29 Thiago Macieira <thiago.macieira@trolltech.com>
+
* qt/examples/dbus.cpp: Enhance error messages and use
QDBusInterfacePtr.
diff --git a/qt/dbusidl2cpp.cpp b/qt/dbusidl2cpp.cpp
index 67bd6491..eb1a1b1e 100644
--- a/qt/dbusidl2cpp.cpp
+++ b/qt/dbusidl2cpp.cpp
@@ -509,7 +509,7 @@ static void writeProxy(const char *proxyFile, const QDBusIntrospection::Interfac
else if (!isAsync)
hs << " return call(QLatin1String(\"";
else
- hs << " callAsync(QLatin1String(\"";
+ hs << " call(NoWaitForReply, QLatin1String(\"";
// rebuild the method input signature:
QString signature = QChar('.');
@@ -523,7 +523,7 @@ static void writeProxy(const char *proxyFile, const QDBusIntrospection::Interfac
for (int i = 0; i < method.inputArgs.count(); ++i)
hs << ", " << argNames.at(argPos++);
- // close the QDBusIntrospection::call/callAsync call
+ // close the QDBusIntrospection::call call
hs << ");" << endl;
argPos++;