summaryrefslogtreecommitdiffstats
path: root/kmobile/kmobileitem.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-14 20:16:30 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-14 20:16:30 +0000
commit1c93fca14d9ce37499bcfdf994c660186a0b6f17 (patch)
treef2defe163a805a9e34a2142dfde4cdb5e49241e7 /kmobile/kmobileitem.cpp
parent67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (diff)
downloadtdepim-1c93fca14d9ce37499bcfdf994c660186a0b6f17.tar.gz
tdepim-1c93fca14d9ce37499bcfdf994c660186a0b6f17.zip
Enable kdepim compilation under Qt4
This will likely break Qt3 compilation temporarily, which is an unintended side effect. A third and final kdepim commit will repair Qt3 compilation shortly. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227946 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 0ea93353..cb4473f8 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);
}