summaryrefslogtreecommitdiffstats
path: root/kmobile
diff options
context:
space:
mode:
Diffstat (limited to 'kmobile')
-rw-r--r--kmobile/devices/gnokii/gnokii_mobile.cpp2
-rw-r--r--kmobile/devices/gnokii/gnokiiconfig.cpp2
-rw-r--r--kmobile/kioslave/kio_mobile.cpp4
-rw-r--r--kmobile/kmobileitem.cpp6
4 files changed, 7 insertions, 7 deletions
diff --git a/kmobile/devices/gnokii/gnokii_mobile.cpp b/kmobile/devices/gnokii/gnokii_mobile.cpp
index 7ceb5ea7c..2fef0da67 100644
--- a/kmobile/devices/gnokii/gnokii_mobile.cpp
+++ b/kmobile/devices/gnokii/gnokii_mobile.cpp
@@ -378,7 +378,7 @@ static gn_error read_phone_entry_highlevel( int index, const gn_memory_type memt
// try to split Name into FamilyName and GivenName
s = TQString(entry.name).simplifyWhiteSpace();
a->setFormattedName(s);
- if (s.tqfind(',')!=-1) {
+ if (s.find(',')!=-1) {
addrlist = TQStringList::split(',', s);
if (addrlist.count()==2) {
a->setFamilyName(addrlist[0].simplifyWhiteSpace());
diff --git a/kmobile/devices/gnokii/gnokiiconfig.cpp b/kmobile/devices/gnokii/gnokiiconfig.cpp
index f5bcd648e..e8ad19bdd 100644
--- a/kmobile/devices/gnokii/gnokiiconfig.cpp
+++ b/kmobile/devices/gnokii/gnokiiconfig.cpp
@@ -85,7 +85,7 @@ void GnokiiConfig::getValues(TQString &model, TQString &connection, TQString &po
void GnokiiConfig::slotCheckValues(const TQString &txt)
{
- bool disable_serial = (TQString("infrared irda").tqfind(txt,0,false)>=0);
+ bool disable_serial = (TQString("infrared irda").find(txt,0,false)>=0);
textLabelBaudRate->setDisabled(disable_serial);
cb_Baud->setDisabled(disable_serial);
}
diff --git a/kmobile/kioslave/kio_mobile.cpp b/kmobile/kioslave/kio_mobile.cpp
index 94d803306..cc7482072 100644
--- a/kmobile/kioslave/kio_mobile.cpp
+++ b/kmobile/kioslave/kio_mobile.cpp
@@ -405,7 +405,7 @@ int KMobileProtocol::getVCard( const TQString &devName, TQCString &result, TQStr
{
PRINT_DEBUG << TQString("getVCard(%1)\n").tqarg(path);
- int index = path.tqfind('.');
+ int index = path.find('.');
if (index>0)
index = path.left(index).toInt();
if (index<0 || index>=m_dev.numAddresses(devName))
@@ -494,7 +494,7 @@ int KMobileProtocol::getNote( const TQString &devName, TQCString &result, TQStri
{
PRINT_DEBUG << TQString("getNote(%1)\n").tqarg(path);
- int index = path.tqfind('_');
+ int index = path.find('_');
if (index>0)
index = path.left(index).toInt();
if (index<0 || index>=m_dev.numNotes(devName))
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;