aboutsummaryrefslogtreecommitdiff
path: root/libqmenumodel
diff options
context:
space:
mode:
authorOlivier Tilloy <olivier.tilloy@canonical.com>2012-10-08 16:25:10 +0200
committerOlivier Tilloy <olivier.tilloy@canonical.com>2012-10-08 16:25:10 +0200
commitbc7eb612da5fb089c84840e8a1fc4bc0f20784ad (patch)
treebfadcbe37253c2197d9ec2514575e7ef728366de /libqmenumodel
parent07c325213712202f6398f62e8dbdc915b7da72e6 (diff)
downloadqmenumodel-bc7eb612da5fb089c84840e8a1fc4bc0f20784ad.tar.gz
qmenumodel-bc7eb612da5fb089c84840e8a1fc4bc0f20784ad.tar.bz2
qmenumodel-bc7eb612da5fb089c84840e8a1fc4bc0f20784ad.zip
Use the Q_EMIT keyword to emit signals.
Diffstat (limited to 'libqmenumodel')
-rw-r--r--libqmenumodel/src/qdbusobject.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libqmenumodel/src/qdbusobject.cpp b/libqmenumodel/src/qdbusobject.cpp
index ba348ad..4ee568f 100644
--- a/libqmenumodel/src/qdbusobject.cpp
+++ b/libqmenumodel/src/qdbusobject.cpp
@@ -100,7 +100,7 @@ void QDBusObject::setBusType(DBusEnums::BusType type)
if (m_status != DBusEnums::Disconnected)
disconnect();
m_busType = type;
- busTypeChanged(m_busType);
+ Q_EMIT busTypeChanged(m_busType);
}
}
@@ -115,7 +115,7 @@ void QDBusObject::setBusName(const QString &busName)
if (m_status != DBusEnums::Disconnected)
disconnect();
m_busName = busName;
- busNameChanged(m_busName);
+ Q_EMIT busNameChanged(m_busName);
}
}
@@ -130,7 +130,7 @@ void QDBusObject::setObjectPath(const QString &objectPath)
if (m_status != DBusEnums::Disconnected)
disconnect();
m_objectPath = objectPath;
- objectPathChanged(m_objectPath);
+ Q_EMIT objectPathChanged(m_objectPath);
}
}
@@ -138,7 +138,7 @@ void QDBusObject::setStatus(DBusEnums::ConnectionStatus status)
{
if (m_status != status) {
m_status = status;
- statusChanged(m_status);
+ Q_EMIT statusChanged(m_status);
}
}