Logo Search packages:      
Sourcecode: qt4-x11 version File versions

src_qdbus_qdbusabstractinterface.cpp

//! [0]
QString value = retrieveValue();
QDBusMessage reply;

QDBusReply<int> api = interface->call(QLatin1String("GetAPIVersion"));
if (api >= 14)
  reply = interface->call(QLatin1String("ProcessWorkUnicode"), value);
else
  reply = interface->call(QLatin1String("ProcessWork"), QLatin1String("UTF-8"), value.toUtf8());
//! [0]

Generated by  Doxygen 1.6.0   Back to index