diff options
Diffstat (limited to 'kspread/dialogs/kspread_dlg_preference.cc')
-rw-r--r-- | kspread/dialogs/kspread_dlg_preference.cc | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kspread/dialogs/kspread_dlg_preference.cc b/kspread/dialogs/kspread_dlg_preference.cc index 2d67b4e0..4895cac2 100644 --- a/kspread/dialogs/kspread_dlg_preference.cc +++ b/kspread/dialogs/kspread_dlg_preference.cc @@ -504,28 +504,28 @@ void miscParameters::slotTextComboChanged(const TQString &) void miscParameters::initComboBox() { - KGlobalSettings::Completion tmpCompletion=KGlobalSettings::CompletionAuto; + TDEGlobalSettings::Completion tmpCompletion=TDEGlobalSettings::CompletionAuto; if( config->hasGroup("Parameters" )) { config->setGroup( "Parameters" ); - tmpCompletion=( KGlobalSettings::Completion)config->readNumEntry( "Completion Mode" ,KGlobalSettings::CompletionAuto) ; + tmpCompletion=( TDEGlobalSettings::Completion)config->readNumEntry( "Completion Mode" ,TDEGlobalSettings::CompletionAuto) ; config->writeEntry( "Completion Mode", (int)tmpCompletion); } switch(tmpCompletion ) { - case KGlobalSettings::CompletionNone: + case TDEGlobalSettings::CompletionNone: typeCompletion->setCurrentItem(0); break; - case KGlobalSettings::CompletionAuto: + case TDEGlobalSettings::CompletionAuto: typeCompletion->setCurrentItem(3); break; - case KGlobalSettings::CompletionMan: + case TDEGlobalSettings::CompletionMan: typeCompletion->setCurrentItem(4); break; - case KGlobalSettings::CompletionShell: + case TDEGlobalSettings::CompletionShell: typeCompletion->setCurrentItem(1); break; - case KGlobalSettings::CompletionPopup: + case TDEGlobalSettings::CompletionPopup: typeCompletion->setCurrentItem(2); break; default : @@ -609,24 +609,24 @@ void miscParameters::apply() } config->setGroup( "Parameters" ); - KGlobalSettings::Completion tmpCompletion=KGlobalSettings::CompletionNone; + TDEGlobalSettings::Completion tmpCompletion=TDEGlobalSettings::CompletionNone; switch(typeCompletion->currentItem()) { case 0: - tmpCompletion=KGlobalSettings::CompletionNone; + tmpCompletion=TDEGlobalSettings::CompletionNone; break; case 1: - tmpCompletion=KGlobalSettings::CompletionShell; + tmpCompletion=TDEGlobalSettings::CompletionShell; break; case 2: - tmpCompletion=KGlobalSettings::CompletionPopup; + tmpCompletion=TDEGlobalSettings::CompletionPopup; break; case 3: - tmpCompletion=KGlobalSettings::CompletionAuto; + tmpCompletion=TDEGlobalSettings::CompletionAuto; break; case 4: - tmpCompletion=KGlobalSettings::CompletionMan; + tmpCompletion=TDEGlobalSettings::CompletionMan; break; } |