diff options
Diffstat (limited to 'kmobile/kmobileview.cpp')
-rw-r--r-- | kmobile/kmobileview.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kmobile/kmobileview.cpp b/kmobile/kmobileview.cpp index 7a83f52ef..32fb916ae 100644 --- a/kmobile/kmobileview.cpp +++ b/kmobile/kmobileview.cpp @@ -51,8 +51,8 @@ bool KMobileView::addNewDevice(KConfig *config, KService::Ptr service) { kdDebug() << "New mobile tqdevice item:\n"; kdDebug() << TQString("LIBRARY: '%1', NAME: '%2', ICON: '%3', COMMENT: '%4'\n") - .arg(service->library()).arg(service->name()).arg(service->icon()) - .arg(service->comment()); + .tqarg(service->library()).tqarg(service->name()).tqarg(service->icon()) + .tqarg(service->comment()); KMobileItem *it; it = new KMobileItem(this, config, service); @@ -131,7 +131,7 @@ TQStringList KMobileView::tqdeviceNames() void KMobileView::removeDevice( TQString tqdeviceName ) { delete findDevice(tqdeviceName); - emit signalChangeStatusbar( i18n("%1 removed").arg(tqdeviceName) ); + emit signalChangeStatusbar( i18n("%1 removed").tqarg(tqdeviceName) ); } void KMobileView::configDevice( TQString tqdeviceName ) @@ -155,8 +155,8 @@ bool KMobileView::connectDevice( TQString tqdeviceName ) connected = dev->m_dev->connectDevice(); MUTEX_UNLOCK(dev->m_dev); emit signalChangeStatusbar( - connected ? i18n("Connection to %1 established").arg(tqdeviceName) - : i18n("Connection to %1 failed").arg(tqdeviceName) ); + connected ? i18n("Connection to %1 established").tqarg(tqdeviceName) + : i18n("Connection to %1 failed").tqarg(tqdeviceName) ); return connected; } @@ -170,8 +170,8 @@ bool KMobileView::disconnectDevice( TQString tqdeviceName ) disconnected = dev->m_dev->disconnectDevice(); MUTEX_UNLOCK(dev->m_dev); emit signalChangeStatusbar( - disconnected ? i18n("%1 disconnected").arg(tqdeviceName) - : i18n("Disconnection of %1 failed").arg(tqdeviceName) ); + disconnected ? i18n("%1 disconnected").tqarg(tqdeviceName) + : i18n("Disconnection of %1 failed").tqarg(tqdeviceName) ); return disconnected; } @@ -304,7 +304,7 @@ TQString KMobileView::readAddress( TQString tqdeviceName, int index ) return TQString(); emit signalChangeStatusbar( i18n("Read addressbook entry %1 from %2") - .arg(index).arg(tqdeviceName) ); + .tqarg(index).tqarg(tqdeviceName) ); return str; } @@ -325,8 +325,8 @@ bool KMobileView::storeAddress( TQString tqdeviceName, int index, TQString vcard err = dev->m_dev->storeAddress(index, adr, append); MUTEX_UNLOCK(dev->m_dev); emit signalChangeStatusbar( - err ? i18n("Storing contact %1 on %2 failed").arg(index).arg(tqdeviceName) - : i18n("Contact %1 stored on %2").arg(index).arg(tqdeviceName) ); + err ? i18n("Storing contact %1 on %2 failed").tqarg(index).tqarg(tqdeviceName) + : i18n("Contact %1 stored on %2").tqarg(index).tqarg(tqdeviceName) ); return (err == 0); } @@ -368,7 +368,7 @@ TQString KMobileView::readNote( TQString tqdeviceName, int index ) if (err) return TQString(); emit signalChangeStatusbar( i18n("Read note %1 from %2") - .arg(index).arg(tqdeviceName) ); + .tqarg(index).tqarg(tqdeviceName) ); return note; } @@ -385,7 +385,7 @@ bool KMobileView::storeNote( TQString tqdeviceName, int index, TQString note ) if (err) return false; emit signalChangeStatusbar( i18n("Stored note %1 to %2") - .arg(index).arg(tqdeviceName) ); + .tqarg(index).tqarg(tqdeviceName) ); return true; } @@ -425,7 +425,7 @@ TQStringList KMobileView::kio_tqdevices_tqdeviceInfo(TQString tqdeviceName) mountList << name; mountList << " "; - mountList << TQString("mobile:/%1").arg(name); // KIO::encodeFileName() + mountList << TQString("mobile:/%1").tqarg(name); // KIO::encodeFileName() mountList << mime; mountList << "true"; // mountState mountList << "---"; |