diff options
Diffstat (limited to 'examples/remoteobjects/plugins/plugin.cpp')
-rw-r--r-- | examples/remoteobjects/plugins/plugin.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/remoteobjects/plugins/plugin.cpp b/examples/remoteobjects/plugins/plugin.cpp index 5ee35af..bf84e7d 100644 --- a/examples/remoteobjects/plugins/plugin.cpp +++ b/examples/remoteobjects/plugins/plugin.cpp @@ -76,11 +76,11 @@ public: TimeModel(QObject *parent = nullptr) : QObject(parent), d_ptr(nullptr) { d_ptr.reset(m_client.acquire< MinuteTimerReplica >()); - connect(d_ptr.data(), SIGNAL(hourChanged(int)), this, SIGNAL(timeChanged())); - connect(d_ptr.data(), SIGNAL(minuteChanged(int)), this, SIGNAL(timeChanged())); - connect(d_ptr.data(), SIGNAL(timeChanged()), this, SIGNAL(timeChanged())); - connect(d_ptr.data(), SIGNAL(timeChanged2(QTime)), this, SLOT(test(QTime))); - connect(d_ptr.data(), SIGNAL(sendCustom(PresetInfo)), this, SLOT(testCustom(PresetInfo))); + connect(d_ptr.data(), &MinuteTimerReplica::hourChanged, this, &TimeModel::timeChanged); + connect(d_ptr.data(), &MinuteTimerReplica::minuteChanged, this, &TimeModel::timeChanged); + connect(d_ptr.data(), &MinuteTimerReplica::timeChanged, this, &TimeModel::timeChanged); + connect(d_ptr.data(), &MinuteTimerReplica::timeChanged2, this, &TimeModel::test); + connect(d_ptr.data(), &MinuteTimerReplica::sendCustom, this, &TimeModel::testCustom); } ~TimeModel() override |