summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit07915c3e5524895d3745ba0815529b7eaa7e48bc (patch)
treebcf57e7b28fb7f4a173ce6f0c925c0c1375578c0
parent7f29ed6ef6e81aac582f9adae13fae7de117eb44 (diff)
downloadtde-systemsettings-07915c3e.tar.gz
tde-systemsettings-07915c3e.zip
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
-rw-r--r--systemsettings/kcmodulemenu.h2
-rw-r--r--systemsettings/kcmultiwidget.cpp4
-rw-r--r--systemsettings/mainwindow.cpp8
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<KCModuleInfo> list = mItem->modules;
@@ -299,7 +299,7 @@ void MainWindow::timerResize() {
void MainWindow::updateModuleHelp( KCModuleProxy *currentModule ) {
if ( currentModule->aboutData() ) {
aboutModuleAction->setText(i18n("Help menu->about <modulename>", "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()) {