diff options
author | Emanoil Kotsev <deloptes@gmail.com> | 2024-01-29 00:48:40 +0000 |
---|---|---|
committer | Emanoil Kotsev <deloptes@gmail.com> | 2024-06-08 22:16:21 +0000 |
commit | 571215e14d20055f9b045dd735e601c40c9d5991 (patch) | |
tree | e86ededf6f64921b957016b76efa78a36e564b35 /tdecore/tdehw | |
parent | b0364451f7a839e31e7dcd9a8d00025d76e8ef9e (diff) | |
download | tdelibs-571215e14d20055f9b045dd735e601c40c9d5991.tar.gz tdelibs-571215e14d20055f9b045dd735e601c40c9d5991.zip |
TQT_SIGNAL to TQ_SIGNAL
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
Diffstat (limited to 'tdecore/tdehw')
-rw-r--r-- | tdecore/tdehw/hwlibdaemons/tdedbus/HardwareControl.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tdecore/tdehw/hwlibdaemons/tdedbus/HardwareControl.cpp b/tdecore/tdehw/hwlibdaemons/tdedbus/HardwareControl.cpp index 8a36807e5..24c98b79b 100644 --- a/tdecore/tdehw/hwlibdaemons/tdedbus/HardwareControl.cpp +++ b/tdecore/tdehw/hwlibdaemons/tdedbus/HardwareControl.cpp @@ -36,7 +36,7 @@ TQApplication(argc, argv, GUIenabled, SMenabled) // init session connection to dbus if (!initDBUS()) { tqDebug("Failed to initialize the connection to DBus"); - TQTimer::singleShot(DBUS_CONNECTION_TIMEOUT, this, TQT_SLOT(slotReconnect())); + TQTimer::singleShot(DBUS_CONNECTION_TIMEOUT, this, TQ_SLOT(slotReconnect())); retryCount++; } } @@ -66,16 +66,16 @@ bool HardwareControl::initDBUS(){ return false; m_connection.scheduleDispatch(); - m_connection.connect(this, TQT_SLOT(slotDbusSignal(const TQT_DBusMessage&))); + m_connection.connect(this, TQ_SLOT(slotDbusSignal(const TQT_DBusMessage&))); - TQTimer::singleShot(10, this, TQT_SLOT(slotConnectionCheck())); + TQTimer::singleShot(10, this, TQ_SLOT(slotConnectionCheck())); return true; } void HardwareControl::close() { if(m_connection.isConnected()) { - m_connection.disconnect(this, TQT_SLOT(slotDbusSignal(const TQT_DBusMessage&))); + m_connection.disconnect(this, TQ_SLOT(slotDbusSignal(const TQT_DBusMessage&))); m_connection.closeConnection(DBUS_HWCTRL_SERVICE_NAME); } } @@ -88,7 +88,7 @@ void HardwareControl::slotReconnect() { if (DBUS_CONNECTION_RETRY > retryCount) { tqFatal("Failed to initialize the connection to DBus"); } - TQTimer::singleShot(DBUS_CONNECTION_TIMEOUT, this, TQT_SLOT(slotReconnect())); + TQTimer::singleShot(DBUS_CONNECTION_TIMEOUT, this, TQ_SLOT(slotReconnect())); retryCount++; } } |