summaryrefslogtreecommitdiffstats
path: root/k9devices/k9dbusdispatch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'k9devices/k9dbusdispatch.cpp')
-rw-r--r--k9devices/k9dbusdispatch.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/k9devices/k9dbusdispatch.cpp b/k9devices/k9dbusdispatch.cpp
index 9c148fe..9b67ec7 100644
--- a/k9devices/k9dbusdispatch.cpp
+++ b/k9devices/k9dbusdispatch.cpp
@@ -27,7 +27,7 @@ static dbus_bool_t qDBusAddWatch(DBusWatch *watch, void *data)
k9Watcher watcher;
if (flags & DBUS_WATCH_READABLE) {
bool enabled = dbus_watch_get_enabled(watch);
- //qDebug("addReadWatch %d %s", fd, (enabled ? "enabled" : "disabled"));
+ //tqDebug("addReadWatch %d %s", fd, (enabled ? "enabled" : "disabled"));
watcher.watch = watch;
watcher.read = new TQSocketNotifier(fd, TQSocketNotifier::Read, d);
if (!enabled) watcher.read->setEnabled(false);
@@ -35,7 +35,7 @@ static dbus_bool_t qDBusAddWatch(DBusWatch *watch, void *data)
}
if (flags & DBUS_WATCH_WRITABLE) {
bool enabled = dbus_watch_get_enabled(watch);
- //qDebug("addWriteWatch %d %s", fd, (enabled ? "enabled" : "disabled"));
+ //tqDebug("addWriteWatch %d %s", fd, (enabled ? "enabled" : "disabled"));
watcher.watch = watch;
watcher.write = new TQSocketNotifier(fd, TQSocketNotifier::Write, d);
if (!enabled) watcher.write->setEnabled(false);
@@ -106,7 +106,7 @@ static void qDBusToggleWatch(DBusWatch *watch, void *data)
bool enabled = dbus_watch_get_enabled(watch);
int flags = dbus_watch_get_flags(watch);
-// qDebug("toggle watch %d to %d (write: %d, read: %d)",
+// tqDebug("toggle watch %d to %d (write: %d, read: %d)",
// dbus_watch_get_fd(watch), enabled,
// flags & DBUS_WATCH_WRITABLE, flags & DBUS_WATCH_READABLE);
@@ -169,7 +169,7 @@ void K9DBusDispatch::socketRead(int fd)
for (WatcherList::const_iterator wit = list.begin(); wit != list.end(); ++wit) {
if ((*wit).read && (*wit).read->isEnabled()) {
if (!dbus_watch_handle((*wit).watch, DBUS_WATCH_READABLE))
- qDebug("OUT OF MEM");
+ tqDebug("OUT OF MEM");
}
}
}
@@ -185,7 +185,7 @@ void K9DBusDispatch::socketWrite(int fd)
for (WatcherList::const_iterator wit = list.begin(); wit != list.end(); ++wit) {
if ((*wit).write && (*wit).write->isEnabled()) {
if (!dbus_watch_handle((*wit).watch, DBUS_WATCH_WRITABLE))
- qDebug("OUT OF MEM");
+ tqDebug("OUT OF MEM");
}
}
}