summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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++;