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.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kopete/protocols/sms/services/smssendprovider.cpp b/kopete/protocols/sms/services/smssendprovider.cpp
index ffd0897e..8feb94a9 100644
--- a/kopete/protocols/sms/services/smssendprovider.cpp
+++ b/kopete/protocols/sms/services/smssendprovider.cpp
@@ -49,7 +49,7 @@ SMSSendProvider::SMSSendProvider(const TQString& providerName, const TQString& p
if (f.open(IO_ReadOnly))
{
TQTextStream t(&f);
- TQString group = TQString("SMSSend-%1").tqarg(provider);
+ TQString group = TQString("SMSSend-%1").arg(provider);
bool exactNumberMatch = false;
TQStringList numberWords;
numberWords.append("Tel");
@@ -87,7 +87,7 @@ SMSSendProvider::SMSSendProvider(const TQString& providerName, const TQString& p
descriptions.append(args[1]);
if (m_account)
- values.append(m_account->configGroup()->readEntry(TQString("%1:%2").tqarg(group).tqarg(names[names.count()-1]),
+ values.append(m_account->configGroup()->readEntry(TQString("%1:%2").arg(group).arg(names[names.count()-1]),
TQString()));
else
values.append("");
@@ -175,7 +175,7 @@ void SMSSendProvider::save(TQPtrList<KLineEdit>& args)
kdDebug( 14160 ) << k_funcinfo << "m_account = " << m_account << " (should be non-zero!!)" << endl;
if (!m_account) return; // prevent crash in worst case
- TQString group = TQString("SMSSend-%1").tqarg(provider);
+ TQString group = TQString("SMSSend-%1").arg(provider);
int namesI=0;
for (unsigned i=0; i < args.count(); i++)
@@ -194,7 +194,7 @@ void SMSSendProvider::save(TQPtrList<KLineEdit>& args)
// kdDebug(14160) << k_funcinfo << "saving " << args.at(i) << " to " << names[namesI] << endl;
if (!args.at(i)->text().isEmpty())
{ values[namesI] = args.at(i)->text();
- m_account->configGroup()->writeEntry(TQString("%1:%2").tqarg(group).tqarg(names[namesI]), values[namesI]);
+ m_account->configGroup()->writeEntry(TQString("%1:%2").arg(group).arg(names[namesI]), values[namesI]);
}
namesI++;
}
@@ -239,9 +239,9 @@ void SMSSendProvider::send(const Kopete::Message& msg)
KProcess* p = new KProcess;
- kdWarning( 14160 ) << "Executing " << TQString("%1/bin/smssend").tqarg(prefix) << " \"" << provider << "\" " << values.join("\" \"") << "\"" << endl;
+ kdWarning( 14160 ) << "Executing " << TQString("%1/bin/smssend").arg(prefix) << " \"" << provider << "\" " << values.join("\" \"") << "\"" << endl;
- *p << TQString("%1/bin/smssend").tqarg(prefix) << provider << values;
+ *p << TQString("%1/bin/smssend").arg(prefix) << provider << values;
output = "";
connect( p, TQT_SIGNAL(processExited(KProcess *)), this, TQT_SLOT(slotSendFinished(KProcess *)));