diff options
Diffstat (limited to 'systemsettings/mainwindow.cpp')
-rw-r--r-- | systemsettings/mainwindow.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/systemsettings/mainwindow.cpp b/systemsettings/mainwindow.cpp index 3cd07d8..941abde 100644 --- a/systemsettings/mainwindow.cpp +++ b/systemsettings/mainwindow.cpp @@ -57,7 +57,7 @@ MainWindow::MainWindow(bool embed, const TQString & menuFile, groupWidget(NULL), selectedPage(0), dummyAbout(NULL) { // Load the menu structure in from disk. - menu = new KCModuleMenu( menuFile ); + menu = new TDECModuleMenu( menuFile ); moduleTabs = new KTabWidget(this, "moduletabs", TQTabWidget::Top|TQTabWidget::Rounded); @@ -190,7 +190,7 @@ void MainWindow::aboutCurrentModule() if(!groupWidget) return; - KCModuleProxy* module = groupWidget->currentModule(); + TDECModuleProxy* module = groupWidget->currentModule(); if( module && module->aboutData() ){ KAboutApplication dlg( module->aboutData() ); dlg.exec(); @@ -237,7 +237,7 @@ void MainWindow::slotItemSelected( TQIconViewItem *item ){ scrollView = moduleItemToScrollerDict.find(mItem); if(groupWidget==0) { - TQValueList<KCModuleInfo> list = mItem->modules; + TQValueList<TDECModuleInfo> list = mItem->modules; KDialogBase::DialogType type = KDialogBase::IconList; if(list.count() == 1) { type=KDialogBase::Plain; @@ -250,12 +250,12 @@ void MainWindow::slotItemSelected( TQIconViewItem *item ){ moduleItemToScrollerDict.insert(mItem,scrollView); moduleItemToWidgetDict.insert(mItem,groupWidget); - connect(groupWidget, TQT_SIGNAL(aboutToShow( KCModuleProxy * )), TQT_TQOBJECT(this), TQT_SLOT(updateModuleHelp( KCModuleProxy * ))); + connect(groupWidget, TQT_SIGNAL(aboutToShow( TDECModuleProxy * )), TQT_TQOBJECT(this), TQT_SLOT(updateModuleHelp( TDECModuleProxy * ))); connect(groupWidget, TQT_SIGNAL(aboutToShowPage( TQWidget* )), TQT_TQOBJECT(this), TQT_SLOT(widgetChange())); connect(groupWidget, TQT_SIGNAL(finished()), TQT_TQOBJECT(this), TQT_SLOT(groupModulesFinished())); connect(groupWidget, TQT_SIGNAL(close()), TQT_TQOBJECT(this), TQT_SLOT(showAllModules())); - TQValueList<KCModuleInfo>::iterator it; + TQValueList<TDECModuleInfo>::iterator it; for ( it = list.begin(); it != list.end(); ++it ){ tqDebug("adding %s %s", (*it).moduleName().latin1(), (*it).fileName().latin1()); groupWidget->addModule( *it ); @@ -298,7 +298,7 @@ void MainWindow::timerResize() { } } -void MainWindow::updateModuleHelp( KCModuleProxy *currentModule ) { +void MainWindow::updateModuleHelp( TDECModuleProxy *currentModule ) { if ( currentModule->aboutData() ) { aboutModuleAction->setText(i18n("Help menu->about <modulename>", "About %1").arg( currentModule->moduleInfo().moduleName().replace("&","&&"))); |