summaryrefslogtreecommitdiffstats
path: root/konq-plugins/uachanger
diff options
context:
space:
mode:
Diffstat (limited to 'konq-plugins/uachanger')
-rw-r--r--konq-plugins/uachanger/uachangerplugin.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/konq-plugins/uachanger/uachangerplugin.cpp b/konq-plugins/uachanger/uachangerplugin.cpp
index fb5d840..f76f0de 100644
--- a/konq-plugins/uachanger/uachangerplugin.cpp
+++ b/konq-plugins/uachanger/uachangerplugin.cpp
@@ -101,10 +101,10 @@ void UAChangerPlugin::parseDescFiles()
TQStringList languageList = KGlobal::locale()->languageList();
if ( languageList.count() )
{
- TQStringList::Iterator it = languageList.tqfind(TQFL1("C"));
+ TQStringList::Iterator it = languageList.find(TQFL1("C"));
if( it != languageList.end() )
{
- if( languageList.tqcontains( TQFL1("en") ) > 0 )
+ if( languageList.contains( TQFL1("en") ) > 0 )
languageList.remove( it );
else
(*it) = TQFL1("en");
@@ -124,14 +124,14 @@ void UAChangerPlugin::parseDescFiles()
if ( (*it)->property("X-KDE-UA-DYNAMIC-ENTRY").toBool() )
{
- tmp.tqreplace( TQFL1("appSysName"), TQFL1(utsn.sysname) );
- tmp.tqreplace( TQFL1("appSysRelease"), TQFL1(utsn.release) );
- tmp.tqreplace( TQFL1("appMachineType"), TQFL1(utsn.machine) );
- tmp.tqreplace( TQFL1("appLanguage"), languageList.join(TQFL1(", ")) );
- tmp.tqreplace( TQFL1("appPlatform"), TQFL1("X11") );
+ tmp.replace( TQFL1("appSysName"), TQFL1(utsn.sysname) );
+ tmp.replace( TQFL1("appSysRelease"), TQFL1(utsn.release) );
+ tmp.replace( TQFL1("appMachineType"), TQFL1(utsn.machine) );
+ tmp.replace( TQFL1("appLanguage"), languageList.join(TQFL1(", ")) );
+ tmp.replace( TQFL1("appPlatform"), TQFL1("X11") );
}
- if ( m_lstIdentity.tqcontains(tmp) )
+ if ( m_lstIdentity.contains(tmp) )
continue; // Ignore dups!
m_lstIdentity << tmp;