summaryrefslogtreecommitdiffstats
path: root/kmobile/kmobileitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmobile/kmobileitem.cpp')
-rw-r--r--kmobile/kmobileitem.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kmobile/kmobileitem.cpp b/kmobile/kmobileitem.cpp
index 0ea93353f..cb4473f80 100644
--- a/kmobile/kmobileitem.cpp
+++ b/kmobile/kmobileitem.cpp
@@ -38,7 +38,7 @@ KMobileItem::KMobileItem(TQIconView *tqparent, KConfig *_config, KService::Ptr s
if (service) {
setText(service->name());
m_tqdeviceDesktopFile = service->desktopEntryName();
- m_tqdeviceConfigFile = TQString("kmobile_%1_rc").arg(text());
+ m_tqdeviceConfigFile = TQString("kmobile_%1_rc").tqarg(text());
m_tqdeviceConfigFile = m_tqdeviceConfigFile.tqreplace(' ', "");
m_iconName = service->icon();
};
@@ -104,7 +104,7 @@ TQPixmap KMobileItem::getIcon() const
TQString KMobileItem::config_SectionName(int idx) const
{
if (idx == -1) idx = index();
- return TQString("MobileDevice_%1").arg(idx);
+ return TQString("MobileDevice_%1").tqarg(idx);
}
/* this MimeType is used by konqueror */
@@ -118,7 +118,7 @@ void KMobileItem::writeKonquMimeFile() const
{
// strip path and file extension of icon name
TQString icon = m_iconName;
- int p = icon.findRev('/');
+ int p = icon.tqfindRev('/');
if (p>=0) icon = icon.mid(p+1);
p = icon.tqfind('.');
if (p>=0) icon = icon.left(p);
@@ -162,7 +162,7 @@ KService::Ptr KMobileItem::getServicePtr() const
return ptr;
}
PRINT_DEBUG << TQString("Service for library '%1' not found in KService list\n")
- .arg(m_tqdeviceDesktopFile);
+ .tqarg(m_tqdeviceDesktopFile);
return 0L;
}
@@ -178,7 +178,7 @@ bool KMobileItem::driverAvailable()
if (!ptr)
return false;
- PRINT_DEBUG << TQString("Loading library %1\n").arg(ptr->library());
+ PRINT_DEBUG << TQString("Loading library %1\n").tqarg(ptr->library());
KLibFactory *factory = KLibLoader::self()->factory( ptr->library().utf8() );
if (!factory)
return false;
@@ -186,7 +186,7 @@ bool KMobileItem::driverAvailable()
m_dev = static_cast<KMobileDevice *>(factory->create(this, ptr->name().utf8(),
"KMobileDevice", TQStringList(m_tqdeviceConfigFile)));
PRINT_DEBUG << TQString("Got KMobileDevice object at 0x%1, configfile=%2\n")
- .arg((unsigned long)m_dev, 0, 16).arg(m_tqdeviceConfigFile);
+ .tqarg((unsigned long)m_dev, 0, 16).tqarg(m_tqdeviceConfigFile);
return (m_dev != 0);
}