diff options
author | Tobias Koenig <tobias.koenig@kdab.com> | 2014-10-25 13:31:26 +0200 |
---|---|---|
committer | Brett Stottlemyer <bstottle@ford.com> | 2014-10-28 12:56:06 +0100 |
commit | a027284021178502527cc80c0f802b0b4c2349b1 (patch) | |
tree | 983f5da471ac0035b6738c4dfa96cca93a0afcf4 /examples | |
parent | f7dfc66763002743b0a8c4f14b0bb2c20ede43d6 (diff) |
Follow Qt naming convention for generated signal names
Name the auto-generated property NOTIFY signals <property>Changed
instead of on<Property>Changed to match the Qt naming conventions.
Change-Id: Ic36c1d23b5ed185c4e1254a0dd22f1873959c07d
Reviewed-by: Björn Breitmeyer <bjoern.breitmeyer@kdab.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/RemoteObjects/plugins/plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/RemoteObjects/plugins/plugin.cpp b/examples/RemoteObjects/plugins/plugin.cpp index 0415fc3..9a121f0 100644 --- a/examples/RemoteObjects/plugins/plugin.cpp +++ b/examples/RemoteObjects/plugins/plugin.cpp @@ -67,8 +67,8 @@ public: TimeModel(QObject *parent=0) : QObject(parent), d_ptr(Q_NULLPTR) { d_ptr.reset(m_client.acquire< MinuteTimerReplica >()); - connect(d_ptr.data(), SIGNAL(onHourChanged()), this, SIGNAL(timeChanged())); - connect(d_ptr.data(), SIGNAL(onMinuteChanged()), this, SIGNAL(timeChanged())); + connect(d_ptr.data(), SIGNAL(hourChanged()), this, SIGNAL(timeChanged())); + connect(d_ptr.data(), SIGNAL(minuteChanged()), 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))); |