* qt/dbusidl2cpp.cpp: There's no callAsync. Use the correct
authorThiago Macieira <thiago@kde.org>
Sat, 29 Apr 2006 17:22:47 +0000 (17:22 +0000)
committerThiago Macieira <thiago@kde.org>
Sat, 29 Apr 2006 17:22:47 +0000 (17:22 +0000)
        call. (r535506)

ChangeLog
qt/dbusidl2cpp.cpp

index 889a6e3..c8fc523 100644 (file)
--- 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.
 
index 67bd649..eb1a1b1 100644 (file)
@@ -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++;