diff options
Diffstat (limited to 'src/libtdeobex/obexobjectmanagerImpl.cpp')
-rw-r--r-- | src/libtdeobex/obexobjectmanagerImpl.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/libtdeobex/obexobjectmanagerImpl.cpp b/src/libtdeobex/obexobjectmanagerImpl.cpp index 56a8798..50c59fe 100644 --- a/src/libtdeobex/obexobjectmanagerImpl.cpp +++ b/src/libtdeobex/obexobjectmanagerImpl.cpp @@ -136,10 +136,10 @@ bool ObexObjectManagerImpl::initDBUS() setConnection(dBusConn); TQT_DBusDataMap<TQT_DBusObjectPath> objects; - TQT_DBusError error; - if (!GetManagedObjects(objects, error)) + TQT_DBusError dbuserror; + if (!GetManagedObjects(objects, dbuserror)) { - tqDebug("GetManagedObjects(objects,error) FAILED\n"); + tqDebug(i18n("GetManagedObjects(objects, dbuserror) failed: %1").arg(dbuserror.message())); return false; } @@ -150,7 +150,7 @@ bool ObexObjectManagerImpl::initDBUS() TQT_DBusDataMap<TQString> tqMap1 = it.data().toStringKeyMap(&ok); if (!ok) { - tqWarning("Failed to convert dbus data to string map: %s", it.key().latin1()); + tqWarning(i18n("Failed to convert dbus data to string map: %1").arg(it.key())); return false; } slotInterfacesAdded(it.key(), tqMap1); @@ -198,7 +198,7 @@ void ObexObjectManagerImpl::slotInterfacesAdded(const TQT_DBusObjectPath& object } else { - tqDebug("org.bluez.obex.AgentManager1 initialization failed\n"); + tqDebug(i18n("org.bluez.obex.AgentManager1 initialization failed")); } } else if (interface == "org.bluez.obex.Client1") @@ -210,7 +210,7 @@ void ObexObjectManagerImpl::slotInterfacesAdded(const TQT_DBusObjectPath& object } else { - tqDebug("org.bluez.obex.Client1 initialization failed\n"); + tqDebug(i18n("org.bluez.obex.Client1 initialization failed")); } } else if (interface == "org.bluez.obex.Session1") @@ -222,7 +222,7 @@ void ObexObjectManagerImpl::slotInterfacesAdded(const TQT_DBusObjectPath& object } else { - tqDebug("org.bluez.obex.Session1 initialization failed\n"); + tqDebug(i18n("org.bluez.obex.Session1 initialization failed")); } } else if (interface == "org.bluez.obex.FileTransfer1") @@ -234,7 +234,7 @@ void ObexObjectManagerImpl::slotInterfacesAdded(const TQT_DBusObjectPath& object } else { - tqDebug("org.bluez.obex.FileTransfer1 initialization failed\n"); + tqDebug(i18n("org.bluez.obex.FileTransfer1 initialization failed")); } } else if (interface == "org.freedesktop.DBus.Introspectable") @@ -243,7 +243,7 @@ void ObexObjectManagerImpl::slotInterfacesAdded(const TQT_DBusObjectPath& object } else { - tqWarning("Interface not implemented: %s", interface.local8Bit().data()); + tqWarning(i18n("Interface not implemented: %1").arg(interface)); } } } @@ -273,7 +273,7 @@ void ObexObjectManagerImpl::slotInterfacesRemoved(const TQT_DBusObjectPath& obje } else { - tqWarning("Interface not implemented: %s", (*it).local8Bit().data()); + tqWarning(i18n("Interface not implemented: %1").arg((*it))); } } } |