diff options
Diffstat (limited to 'kcontrol/componentchooser/componentchooser.cpp')
| -rw-r--r-- | kcontrol/componentchooser/componentchooser.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kcontrol/componentchooser/componentchooser.cpp b/kcontrol/componentchooser/componentchooser.cpp index b469fc001..3ad2073b1 100644 --- a/kcontrol/componentchooser/componentchooser.cpp +++ b/kcontrol/componentchooser/componentchooser.cpp @@ -33,11 +33,11 @@ #include <tdelocale.h> #include <tdemessagebox.h> #include <kopenwith.h> -#include <ksimpleconfig.h> -#include <kstandarddirs.h> +#include <tdesimpleconfig.h> +#include <tdestandarddirs.h> #include <ktrader.h> #include <kurlrequester.h> -#include <kprocess.h> +#include <tdeprocess.h> class MyListBoxItem: public TQListBoxText { @@ -203,7 +203,7 @@ void CfgEmailClient::save(TDEConfig *) if (!cfgName.isEmpty()) ::chmod(TQFile::encodeName(cfgName), 0600); - kapp->dcopClient()->emitDCOPSignal("KDE_emailSettingsChanged()", TQByteArray()); + tdeApp->dcopClient()->emitDCOPSignal("KDE_emailSettingsChanged()", TQByteArray()); emit changed(false); } @@ -298,7 +298,7 @@ void CfgTerminalEmulator::save(TDEConfig *) { delete config; KIPC::sendMessageAll(KIPC::SettingsChanged); - kapp->dcopClient()->send("tdelauncher", "tdelauncher","reparseConfiguration()", TQString::null); + tdeApp->dcopClient()->send("tdelauncher", "tdelauncher","reparseConfiguration()", TQString::null); emit changed(false); } @@ -425,7 +425,7 @@ ComponentChooser::ComponentChooser(TQWidget *parent, const char *name): TQStringList services=TDEGlobal::dirs()->findAllResources( "data","kcm_componentchooser/*.desktop",false,true,dummy); for (TQStringList::Iterator it=services.begin();it!=services.end();++it) { - KSimpleConfig cfg(*it); + TDESimpleConfig cfg(*it); ServiceChooser->insertItem(new MyListBoxItem(cfg.readEntry("Name",i18n("Unknown")),(*it))); } @@ -443,7 +443,7 @@ void ComponentChooser::slotServiceSelected(TQListBoxItem* it) { if (somethingChanged) { if (KMessageBox::questionYesNo(this,i18n("<qt>You changed the default component of your choice. Do you want to save that change now?</qt>"),TQString::null,KStdGuiItem::save(),KStdGuiItem::discard())==KMessageBox::Yes) save(); } - KSimpleConfig cfg(static_cast<MyListBoxItem*>(it)->File); + TDESimpleConfig cfg(static_cast<MyListBoxItem*>(it)->File); ComponentDescription->setText(cfg.readEntry("Comment",i18n("No description available"))); ComponentDescription->setMinimumSize(ComponentDescription->sizeHint()); @@ -534,7 +534,7 @@ void ComponentChooser::load() { configWidget->tqt_cast( "CfgPlugin" ) ); if( plugin ) { - KSimpleConfig cfg(latestEditedService); + TDESimpleConfig cfg(latestEditedService); plugin->load( &cfg ); } } @@ -547,7 +547,7 @@ void ComponentChooser::save() { configWidget->tqt_cast( "CfgPlugin" ) ); if( plugin ) { - KSimpleConfig cfg(latestEditedService); + TDESimpleConfig cfg(latestEditedService); plugin->save( &cfg ); } } |
