Last change
on this file since 244 was 2, checked in by Dmitry A. Kuminov, 16 years ago |
Initially imported qt-all-opensource-src-4.5.1 from Trolltech.
|
File size:
304 bytes
|
Line | |
---|
1 | //! [0]
|
---|
2 | QDBusReply<QString> reply = interface->call("RemoteMethod");
|
---|
3 | if (reply.isValid())
|
---|
4 | // use the returned value
|
---|
5 | useValue(reply.value());
|
---|
6 | else
|
---|
7 | // call failed. Show an error condition.
|
---|
8 | showError(reply.error());
|
---|
9 | //! [0]
|
---|
10 |
|
---|
11 |
|
---|
12 | //! [1]
|
---|
13 | QString reply = interface->call("RemoteMethod");
|
---|
14 | //! [1]
|
---|
Note:
See
TracBrowser
for help on using the repository browser.