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
v3.5.13-sru
tpearson 13 years ago
parent 7f29ed6ef6
commit 07915c3e55

@ -64,7 +64,7 @@ class KCModuleMenuPrivate;
* X-KDE-BaseGroup=examplemenu * X-KDE-BaseGroup=examplemenu
* \endcode * \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 * 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 * to run "kbuildsycoca" to regenerate the cache as ksyscoco will cache the
* menu and is a file that doesn't change on users. * menu and is a file that doesn't change on users.

@ -147,7 +147,7 @@ void KCMultiWidget::apply()
TQStringList * names = moduleParentComponents[ m ]; TQStringList * names = moduleParentComponents[ m ];
kdDebug() << k_funcinfo << *names << " saved and added to the list" << endl; kdDebug() << k_funcinfo << *names << " saved and added to the list" << endl;
for( TQStringList::ConstIterator it = names->begin(); it != names->end(); ++it ) 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 ); updatedModules.append( *it );
} }
} }
@ -278,7 +278,7 @@ void KCMultiWidget::addModule(const KCModuleInfo& moduleinfo,
return; return;
} }
KCModuleProxy * module; 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 // the KCModule already exists - it was removed from the dialog in
// removeAllModules // removeAllModules

@ -231,8 +231,8 @@ void MainWindow::slotItemSelected( TQIconViewItem *item ){
if( !mItem ) if( !mItem )
return; return;
groupWidget = moduleItemToWidgetDict.tqfind(mItem); groupWidget = moduleItemToWidgetDict.find(mItem);
scrollView = moduleItemToScrollerDict.tqfind(mItem); scrollView = moduleItemToScrollerDict.find(mItem);
if(groupWidget==0) { if(groupWidget==0) {
TQValueList<KCModuleInfo> list = mItem->modules; TQValueList<KCModuleInfo> list = mItem->modules;
@ -299,7 +299,7 @@ void MainWindow::timerResize() {
void MainWindow::updateModuleHelp( KCModuleProxy *currentModule ) { void MainWindow::updateModuleHelp( KCModuleProxy *currentModule ) {
if ( currentModule->aboutData() ) { if ( currentModule->aboutData() ) {
aboutModuleAction->setText(i18n("Help menu->about <modulename>", "About %1").tqarg( aboutModuleAction->setText(i18n("Help menu->about <modulename>", "About %1").tqarg(
currentModule->moduleInfo().moduleName().tqreplace("&","&&"))); currentModule->moduleInfo().moduleName().replace("&","&&")));
aboutModuleAction->setIcon(currentModule->moduleInfo().icon()); aboutModuleAction->setIcon(currentModule->moduleInfo().icon());
aboutModuleAction->setEnabled(true); aboutModuleAction->setEnabled(true);
} }
@ -332,7 +332,7 @@ void MainWindow::widgetChange() {
void MainWindow::slotTopPage() { void MainWindow::slotTopPage() {
KRadioAction *clickedRadioAction = (KRadioAction *)sender(); KRadioAction *clickedRadioAction = (KRadioAction *)sender();
selectedPage = pageActions.tqfind(clickedRadioAction); selectedPage = pageActions.find(clickedRadioAction);
KRadioAction *currentRadioAction; KRadioAction *currentRadioAction;
for ( currentRadioAction = pageActions.first(); currentRadioAction; currentRadioAction = pageActions.next()) { for ( currentRadioAction = pageActions.first(); currentRadioAction; currentRadioAction = pageActions.next()) {

Loading…
Cancel
Save