diff options
| author | Sona Kurazyan <sona.kurazyan@qt.io> | 2021-02-23 17:44:37 +0100 |
|---|---|---|
| committer | Sona Kurazyan <sona.kurazyan@qt.io> | 2021-02-26 10:16:53 +0100 |
| commit | 90b0b42645c74d79ea14844bc7f9b11de497d34b (patch) | |
| tree | fdef8d939f00493c9ffdea6b045375616fb42b1b /examples/remoteobjects/ssl/sslcppclient/main.cpp | |
| parent | d59e019db5af1deca1267d3975fb1e6892f1a068 (diff) | |
Migrate from old signal/slot connection syntax
Exception is made for the cases, when the signals/slots are not known
at compile-time (i.e. involve dynamic replicas) or are defined in the
repc-generated files.
Change-Id: Ice1fc78b59c713480531292a0401795df75523d7
Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
(cherry picked from commit be93534b314084330612c350dd58e695eb569646)
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'examples/remoteobjects/ssl/sslcppclient/main.cpp')
| -rw-r--r-- | examples/remoteobjects/ssl/sslcppclient/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/remoteobjects/ssl/sslcppclient/main.cpp b/examples/remoteobjects/ssl/sslcppclient/main.cpp index e468b57..a4f6b1c 100644 --- a/examples/remoteobjects/ssl/sslcppclient/main.cpp +++ b/examples/remoteobjects/ssl/sslcppclient/main.cpp @@ -75,10 +75,10 @@ public: ptr1.reset(m_client.acquire< MinuteTimerReplica >()); ptr2.reset(m_client.acquire< MinuteTimerReplica >()); ptr3.reset(m_client.acquire< MinuteTimerReplica >()); - QTimer::singleShot(0,this,SLOT(clear())); - QTimer::singleShot(1,this,SLOT(clear())); - QTimer::singleShot(10000,this,SLOT(clear())); - QTimer::singleShot(11000,this,SLOT(clear())); + QTimer::singleShot(0, this, &tester::clear); + QTimer::singleShot(1, this, &tester::clear); + QTimer::singleShot(10000, this, &tester::clear); + QTimer::singleShot(11000, this, &tester::clear); } public slots: void clear() |
