aboutsummaryrefslogtreecommitdiff
path: root/examples/example_5_rpcInterface
diff options
context:
space:
mode:
authorJonah BrĂ¼chert <jbb.prv@gmx.de>2019-05-10 22:31:48 +0200
committerLNJ <lnj@kaidan.im>2019-09-08 14:07:00 +0200
commitb18a57daa33f0fefa5f4c63aa7f448b48d302e0d (patch)
tree8682c7ea44b834a2910035049238e8628db552a0 /examples/example_5_rpcInterface
parent35256b7d95374717905f8ac8d4d524c4b691389e (diff)
downloadqxmpp-b18a57daa33f0fefa5f4c63aa7f448b48d302e0d.tar.gz
Modernize codebase using clang-tidy
Using the following checks: * modernize-use-nullptr * modernize-use-override * modernize-use-using * modernize-use-bool-literals
Diffstat (limited to 'examples/example_5_rpcInterface')
-rw-r--r--examples/example_5_rpcInterface/remoteinterface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/example_5_rpcInterface/remoteinterface.h b/examples/example_5_rpcInterface/remoteinterface.h
index cc1fb9e8..9c63d3f8 100644
--- a/examples/example_5_rpcInterface/remoteinterface.h
+++ b/examples/example_5_rpcInterface/remoteinterface.h
@@ -7,9 +7,9 @@ class RemoteInterface : public QXmppInvokable
{
Q_OBJECT
public:
- RemoteInterface(QObject *parent = 0);
+ RemoteInterface(QObject *parent = nullptr);
- bool isAuthorized( const QString &jid ) const;
+ bool isAuthorized( const QString &jid ) const override;
// RPC Interface
public slots: