summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmanoil Kotsev <deloptes@gmail.com>2024-02-11 14:23:31 +0000
committerEmanoil Kotsev <deloptes@gmail.com>2024-11-09 18:49:26 +0000
commitfddb92945609b0b1f69967a9729f030b712ebdca (patch)
tree98200d2f6516664608c260c129a5c1b006fe9c82
parente4d8cc62411aa37f76c3ce53dff153f68122a406 (diff)
downloadkdbusnotification-fddb92945609b0b1f69967a9729f030b712ebdca.tar.gz
kdbusnotification-fddb92945609b0b1f69967a9729f030b712ebdca.zip
TQT_SIGNAL to TQ_SIGNAL
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
-rw-r--r--src/daemon/NotificationDaemon.cpp10
-rw-r--r--src/daemon/NotifyWidget.cpp6
2 files changed, 8 insertions, 8 deletions
diff --git a/src/daemon/NotificationDaemon.cpp b/src/daemon/NotificationDaemon.cpp
index cb3c4fa..2b3979d 100644
--- a/src/daemon/NotificationDaemon.cpp
+++ b/src/daemon/NotificationDaemon.cpp
@@ -39,7 +39,7 @@ NotificationDaemon::NotificationDaemon() : KUniqueApplication()
// 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++;
}
}
@@ -73,16 +73,16 @@ bool NotificationDaemon::initDBUS(){
return false;
mConnection.scheduleDispatch();
- mConnection.connect(this, TQT_SLOT(slotDbusSignal(const TQT_DBusMessage&)));
+ mConnection.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 NotificationDaemon::close() {
if(mConnection.isConnected()) {
- mConnection.disconnect(this, TQT_SLOT(slotDbusSignal(const TQT_DBusMessage&)));
+ mConnection.disconnect(this, TQ_SLOT(slotDbusSignal(const TQT_DBusMessage&)));
mConnection.closeConnection(NOTIFICATIONS_DBUS_SRVC);
}
}
@@ -95,7 +95,7 @@ void NotificationDaemon::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++;
}
}
diff --git a/src/daemon/NotifyWidget.cpp b/src/daemon/NotifyWidget.cpp
index fee959b..558a80c 100644
--- a/src/daemon/NotifyWidget.cpp
+++ b/src/daemon/NotifyWidget.cpp
@@ -38,7 +38,7 @@ NotifyWidget::NotifyWidget(TQWidget *parent, const char *name, NotificationsServ
TQDesktopWidget *d = TQApplication::desktop();
mPosition=TQPoint(d->width()-50, d->height()-20);
move(mPosition);
- TQTimer::singleShot(100, this, TQT_SLOT(fadeAway()));
+ TQTimer::singleShot(100, this, TQ_SLOT(fadeAway()));
}
NotifyWidget::~NotifyWidget()
@@ -64,7 +64,7 @@ void NotifyWidget::fadeAway()
{
mPosition.setY(mPosition.y()-1);
move(mPosition);
- TQTimer::singleShot(FADE_SPEED, this, TQT_SLOT(fadeAway()));
+ TQTimer::singleShot(FADE_SPEED, this, TQ_SLOT(fadeAway()));
}
void NotifyWidget::setAutoMask(bool b)
@@ -100,7 +100,7 @@ void NotifyWidget::setHints(const TQMap< TQString, TQT_DBusVariant >& hints) {
void NotifyWidget::setTimeout(TQ_INT32 t) {
TDEApplication::kApplication()->setTopWidget(this);
- TQTimer::singleShot(t, this, TQT_SLOT(timeout()));
+ TQTimer::singleShot(t, this, TQ_SLOT(timeout()));
}
#include "NotifyWidget.moc"