summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/sms/services/smssendprovider.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/sms/services/smssendprovider.cpp')
-rw-r--r--kopete/protocols/sms/services/smssendprovider.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kopete/protocols/sms/services/smssendprovider.cpp b/kopete/protocols/sms/services/smssendprovider.cpp
index c886cb3d..e2f607aa 100644
--- a/kopete/protocols/sms/services/smssendprovider.cpp
+++ b/kopete/protocols/sms/services/smssendprovider.cpp
@@ -71,7 +71,7 @@ SMSSendProvider::SMSSendProvider(const TQString& providerName, const TQString& p
TQStringList args = TQStringList::split(':',s);
TQStringList options = TQStringList::split(' ', args[0]);
- names.append(options[0].tqreplace(0,1,""));
+ names.append(options[0].replace(0,1,""));
bool hidden = false;
for(unsigned i = 1; i < options.count(); i++)
@@ -92,16 +92,16 @@ SMSSendProvider::SMSSendProvider(const TQString& providerName, const TQString& p
else
values.append("");
- if( args[0].tqcontains("Message") || args[0].tqcontains("message")
- || args[0].tqcontains("message") || args[0].tqcontains("nachricht")
- || args[0].tqcontains("Msg") || args[0].tqcontains("Mensagem") )
+ if( args[0].contains("Message") || args[0].contains("message")
+ || args[0].contains("message") || args[0].contains("nachricht")
+ || args[0].contains("Msg") || args[0].contains("Mensagem") )
{
for( unsigned i = 0; i < options.count(); i++)
{
- if (options[i].tqcontains("Size="))
+ if (options[i].contains("Size="))
{
TQString option = options[i];
- option.tqreplace(0,5,"");
+ option.replace(0,5,"");
m_maxSize = option.toInt();
}
}
@@ -111,7 +111,7 @@ SMSSendProvider::SMSSendProvider(const TQString& providerName, const TQString& p
{
for (TQStringList::Iterator it=numberWords.begin(); it != numberWords.end(); ++it)
{
- if (args[0].tqcontains(*it))
+ if (args[0].contains(*it))
{
telPos = names.count() - 1;
if (args[0] == *it)
@@ -119,7 +119,7 @@ SMSSendProvider::SMSSendProvider(const TQString& providerName, const TQString& p
// kdDebug(14160) << "Exact match for " << args[0] << endl;
exactNumberMatch = true;
}
-// kdDebug(14160) << "args[0] (" << args[0] << ") tqcontains " << *it << endl;
+// kdDebug(14160) << "args[0] (" << args[0] << ") contains " << *it << endl;
}
}
}