aboutsummaryrefslogtreecommitdiffstats
path: root/doc/codesnippets/doc/src/snippets/code/src_qdbus_qdbusinterface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/codesnippets/doc/src/snippets/code/src_qdbus_qdbusinterface.cpp')
-rw-r--r--doc/codesnippets/doc/src/snippets/code/src_qdbus_qdbusinterface.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/doc/codesnippets/doc/src/snippets/code/src_qdbus_qdbusinterface.cpp b/doc/codesnippets/doc/src/snippets/code/src_qdbus_qdbusinterface.cpp
deleted file mode 100644
index df883e7d7..000000000
--- a/doc/codesnippets/doc/src/snippets/code/src_qdbus_qdbusinterface.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
-//! [0]
-QDBusInterface remoteApp( "com.example.Calculator", "/Calculator/Operations",
- "org.mathematics.RPNCalculator" );
-remoteApp.call( "PushOperand", 2 );
-remoteApp.call( "PushOperand", 2 );
-remoteApp.call( "ExecuteOperation", "+" );
-QDBusReply<int> reply = remoteApp.call( "PopOperand" );
-
-if ( reply.isValid() )
- printf( "%d", reply.value() ); // prints 4
-//! [0]