diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 627b091fad9df13695f249588e8a58f524eda0fa (patch) | |
tree | 98ff502a8743af48d8b88996e9a494fec4110586 /konq-plugins/uachanger/uachangerplugin.cpp | |
parent | f6e9c8d694be3d1df338b385125e13db41af0b1f (diff) | |
download | tdeaddons-627b091fad9df13695f249588e8a58f524eda0fa.tar.gz tdeaddons-627b091fad9df13695f249588e8a58f524eda0fa.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konq-plugins/uachanger/uachangerplugin.cpp')
-rw-r--r-- | konq-plugins/uachanger/uachangerplugin.cpp | 16 |
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; |