diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 4c6f8d69e2d1501837affb472c4eb8fec4462240 (patch) | |
tree | 766a8ad7939fcf3eec534184c36bd0e0f80489e2 /kmobile/kmobileitem.cpp | |
parent | 469cc56a805bd3d6940d54adbef554877c29853c (diff) | |
download | tdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.tar.gz tdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmobile/kmobileitem.cpp')
-rw-r--r-- | kmobile/kmobileitem.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kmobile/kmobileitem.cpp b/kmobile/kmobileitem.cpp index cb4473f80..5469902ee 100644 --- a/kmobile/kmobileitem.cpp +++ b/kmobile/kmobileitem.cpp @@ -39,7 +39,7 @@ KMobileItem::KMobileItem(TQIconView *tqparent, KConfig *_config, KService::Ptr s setText(service->name()); m_tqdeviceDesktopFile = service->desktopEntryName(); m_tqdeviceConfigFile = TQString("kmobile_%1_rc").tqarg(text()); - m_tqdeviceConfigFile = m_tqdeviceConfigFile.tqreplace(' ', ""); + m_tqdeviceConfigFile = m_tqdeviceConfigFile.replace(' ', ""); m_iconName = service->icon(); }; @@ -118,9 +118,9 @@ void KMobileItem::writeKonquMimeFile() const { // strip path and file extension of icon name TQString icon = m_iconName; - int p = icon.tqfindRev('/'); + int p = icon.findRev('/'); if (p>=0) icon = icon.mid(p+1); - p = icon.tqfind('.'); + p = icon.find('.'); if (p>=0) icon = icon.left(p); TQString comment; |