From 07915c3e5524895d3745ba0815529b7eaa7e48bc Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kde-systemsettings@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- systemsettings/kcmodulemenu.h | 2 +- systemsettings/kcmultiwidget.cpp | 4 ++-- systemsettings/mainwindow.cpp | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/systemsettings/kcmodulemenu.h b/systemsettings/kcmodulemenu.h index 193aada..060e5f8 100644 --- a/systemsettings/kcmodulemenu.h +++ b/systemsettings/kcmodulemenu.h @@ -64,7 +64,7 @@ class KCModuleMenuPrivate; * X-KDE-BaseGroup=examplemenu * \endcode * - * example.menu should be installed in xdg/menus/ so that ksyscoco will tqfind + * example.menu should be installed in xdg/menus/ so that ksyscoco will find * it. See the above url for example menus. After changing the menu you need * to run "kbuildsycoca" to regenerate the cache as ksyscoco will cache the * menu and is a file that doesn't change on users. diff --git a/systemsettings/kcmultiwidget.cpp b/systemsettings/kcmultiwidget.cpp index 38e740f..d7d1bd0 100644 --- a/systemsettings/kcmultiwidget.cpp +++ b/systemsettings/kcmultiwidget.cpp @@ -147,7 +147,7 @@ void KCMultiWidget::apply() TQStringList * names = moduleParentComponents[ m ]; kdDebug() << k_funcinfo << *names << " saved and added to the list" << endl; for( TQStringList::ConstIterator it = names->begin(); it != names->end(); ++it ) - if( updatedModules.tqfind( *it ) == updatedModules.end() ) + if( updatedModules.find( *it ) == updatedModules.end() ) updatedModules.append( *it ); } } @@ -278,7 +278,7 @@ void KCMultiWidget::addModule(const KCModuleInfo& moduleinfo, return; } KCModuleProxy * module; - if( m_orphanModules.tqcontains( moduleinfo.service() ) ) + if( m_orphanModules.contains( moduleinfo.service() ) ) { // the KCModule already exists - it was removed from the dialog in // removeAllModules diff --git a/systemsettings/mainwindow.cpp b/systemsettings/mainwindow.cpp index df6257d..aa8106e 100644 --- a/systemsettings/mainwindow.cpp +++ b/systemsettings/mainwindow.cpp @@ -231,8 +231,8 @@ void MainWindow::slotItemSelected( TQIconViewItem *item ){ if( !mItem ) return; - groupWidget = moduleItemToWidgetDict.tqfind(mItem); - scrollView = moduleItemToScrollerDict.tqfind(mItem); + groupWidget = moduleItemToWidgetDict.find(mItem); + scrollView = moduleItemToScrollerDict.find(mItem); if(groupWidget==0) { TQValueList list = mItem->modules; @@ -299,7 +299,7 @@ void MainWindow::timerResize() { void MainWindow::updateModuleHelp( KCModuleProxy *currentModule ) { if ( currentModule->aboutData() ) { aboutModuleAction->setText(i18n("Help menu->about ", "About %1").tqarg( - currentModule->moduleInfo().moduleName().tqreplace("&","&&"))); + currentModule->moduleInfo().moduleName().replace("&","&&"))); aboutModuleAction->setIcon(currentModule->moduleInfo().icon()); aboutModuleAction->setEnabled(true); } @@ -332,7 +332,7 @@ void MainWindow::widgetChange() { void MainWindow::slotTopPage() { KRadioAction *clickedRadioAction = (KRadioAction *)sender(); - selectedPage = pageActions.tqfind(clickedRadioAction); + selectedPage = pageActions.find(clickedRadioAction); KRadioAction *currentRadioAction; for ( currentRadioAction = pageActions.first(); currentRadioAction; currentRadioAction = pageActions.next()) { -- cgit v1.2.1