summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_qdbus_qdbusreply.cpp
blob: 4dc896f9ee2fc51ff325ee0860b4e0977323212e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! [0]
QDBusReply<QString> reply = interface->call("RemoteMethod");
if (reply.isValid())
    // use the returned value
    useValue(reply.value());
else
    // call failed. Show an error condition.
    showError(reply.error());
//! [0]


//! [1]
QString reply = interface->call("RemoteMethod");
//! [1]
s='commitgraph'>* | | | | | | | | | | Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-qmlWarwick Allison2010-02-2324-94/+103 |\ \ \ \ \ \ \ \ \ \ \ | * | | | | | | | | | | Get rid of the useless import 'files'Roberto Raggi2010-02-231-1/+0 | * | | | | | | | | | | Fixed the install rules for the QML plugins example.Roberto Raggi2010-02-231-11/+14 | * | | | | | | | | | | Added the qmldir file for declarative plugins exampleThorbjørn Lindeijer2010-02-231-0/+2 | * | | | | | | | | | | Get rid of QmlModulePlugin.Roberto Raggi2010-02-237-11/+16 | * | | | | | | | | | | Updates all qml examples/demos to use the easing curve value type syntaxLeonardo Sobral Cunha2010-02-2313-75/+77 | * | | | | | | | | | | Remove QmlView::execute(). QmlView::setSource() does it all now.Martin Jones2010-02-232-4/+2 | | |_|_|_|_|_|_|/ / / | |/| | | | | | | | | * | | | | | | | | | | Remove QML_DEFINE_... macros, now use QML_REGISTER_... macros calls.Warwick Allison2010-02-2330-47/+58 |/ / / / / / / / / / * | | | | | | | | | Updated based on change to transformOrignNigel Hietala2010-02-225-0/+5 * | | | | | | | | | Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-qml into master-integra...Qt Continuous Integration System2010-02-2266-114/+213 |\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / / |/| | | | | | | | | | * | | | | | | | | Replace QmlList* and QList* support with a single QmlListProperty typeAaron Kennedy2010-02-2225-57/+156 | * | | | | | | | | Rename MouseRegion -> MouseAreaMartin Jones2010-02-2241-57/+57 * | | | | | | | | | Merge remote branch 'origin/master' into qt-master-from-4.6Thiago Macieira2010-02-2027-41/+177 |\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / | * | | | | | | | | Fix dynamic exampleAlan Alpert2010-02-191-0/+1 | * | | | | | | | | More strict type checking of ListElement properties.Warwick Allison2010-02-192-3/+3 | * | | | | | | | | Merge branch 'master' of scm.dev.nokia.troll.no:qt/qtMartin Jones2010-02-1857-86/+86 | |\ \ \ \ \ \ \ \ \ | * \ \ \ \ \ \ \ \ \ Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-qmlMartin Jones2010-02-1820-37/+37 | |\ \ \ \ \ \ \ \ \ \ | | * | | | | | | | | | Get rid of the matchProperties/properties distinction, as itMichael Brasser2010-02-1820-37/+37 | * | | | | | | | | | | QmlView API review. See QmlChanges.txt for details.Martin Jones2010-02-182-2/+2 | |/ / / / / / / / / / | * | | | | | | | | | Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-qml into master-integra...Qt Continuous Integration System2010-02-174-0/+135 | |\ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | * | | | | | | | | Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-qmlMartin Jones2010-02-161-1/+2 | | |\ \ \ \ \ \ \ \ \ | | | | |_|_|_|_|/ / / | | | |/| | | | | | | | | * | | | | | | | | Add QmlImageProvider to allow asynchronous access to images.Martin Jones2010-02-164-0/+135 * | | | | | | | | | | Merge remote branch 'origin/4.6' into qt-master-from-4.6Thiago Macieira2010-02-202-2/+3 |\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|/ / | |/| | | | | | | | | | * | | | | | | | | | Pass QAudioDeviceInfo when creating audio input/output in examplesGareth Stockwell2010-02-182-2/+3 | | |_|_|_|_|_|_|_|/ | |/| | | | | | | | * | | | | | | | | | Merge remote branch 'origin/master' into qt-master-from-4.6Thiago Macieira2010-02-1856-85/+85 |\ \ \ \ \ \ \ \ \ \ | | |_|_|_|/ / / / / | |/| | | | | | | | | * | | | | | | | | Merge branch 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into master...Qt Continuous Integration System2010-02-1656-85/+85 | |\ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / | |/| | | | | | | | | | * | | | | | | | Fix copyright year.Jason McDonald2010-02-16