summaryrefslogtreecommitdiffstats
path: root/kopete/kopete/kconf_update/kopete-account-kconf_update.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/kopete/kconf_update/kopete-account-kconf_update.cpp')
-rw-r--r--kopete/kopete/kconf_update/kopete-account-kconf_update.cpp14
1 files changed, 5 insertions, 9 deletions
diff --git a/kopete/kopete/kconf_update/kopete-account-kconf_update.cpp b/kopete/kopete/kconf_update/kopete-account-kconf_update.cpp
index 5e35c9e2..26a70974 100644
--- a/kopete/kopete/kconf_update/kopete-account-kconf_update.cpp
+++ b/kopete/kopete/kconf_update/kopete-account-kconf_update.cpp
@@ -46,8 +46,8 @@ TQString cryptStr(const TQString &aStr)
{
TQString result;
for (unsigned int i = 0; i < aStr.length(); i++)
- result += (aStr[i].unicode() < 0x20) ? aStr[i] :
- TQChar(0x1001F - aStr[i].unicode());
+ result += (aStr[i].tqunicode() < 0x20) ? aStr[i] :
+ TQChar(0x1001F - aStr[i].tqunicode());
return result;
}
@@ -65,7 +65,7 @@ void parseGroup( const TQString &group, const TQString &rawLine )
else
protocol = group + "Protocol";
- password = TQString::null;
+ password = TQString();
pluginData.clear();
needFlush = true;
@@ -153,11 +153,7 @@ void parseKey( const TQString &group, const TQString &key, const TQString &value
!ircNick.isEmpty( ) && !ircServer.isEmpty() &&
!ircPort.isEmpty() )
{
-#if QT_VERSION < 0x030200
- accountId = TQString::fromLatin1( "%1@%2:%3" ).arg( ircNick ).arg( ircServer ).arg( ircPort );
-#else
- accountId = TQString::fromLatin1( "%1@%2:%3" ).arg( ircNick, ircServer, ircPort );
-#endif
+ accountId = TQString::tqfromLatin1( "%1@%2:%3" ).tqarg( ircNick, ircServer, ircPort );
}
}
/*
@@ -166,7 +162,7 @@ void parseKey( const TQString &group, const TQString &key, const TQString &value
else if ( key == "Modules" )
{
TQString newValue = value;
- newValue.replace ( ".plugin", ".desktop" );
+ newValue.tqreplace ( ".plugin", ".desktop" );
qcout << "Plugins=" << newValue;
}
else