summaryrefslogtreecommitdiffstats
path: root/k9devices/k9dbusdispatch.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-03-01 13:18:35 -0600
committerTimothy Pearson <[email protected]>2012-03-01 13:18:35 -0600
commit99e47821ed59208c5490022ddb2d6f8ab2bc8b0d (patch)
tree6e8bdb4737921bbf360e04f833f9cbb5db999567 /k9devices/k9dbusdispatch.cpp
parentabb61585f84129bd4ae481a10d81437a8246fea0 (diff)
downloadk9copy-99e47821ed59208c5490022ddb2d6f8ab2bc8b0d.tar.gz
k9copy-99e47821ed59208c5490022ddb2d6f8ab2bc8b0d.zip
Rename additional global TQt functions
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");
}
}
}