summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@trolltech.com>2006-04-29 17:22:46 +0000
committerThiago Macieira <thiago.macieira@trolltech.com>2006-04-29 17:22:46 +0000
commitf4185fd423a5a98878764a1b1839eb4f3750db89 (patch)
tree418c48baaa0723550fae0b1844243ac8c87946a6
parentc8033170d6099dc61a1e3d8afd21c071f6d665d9 (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 889a6e3..c8fc523 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 67bd649..eb1a1b1 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++;