|
|
|
@ -154,11 +154,11 @@ void KeepMainWindow::slotConfigure()
|
|
|
|
|
//An instance of your dialog could be already created and could be cached,
|
|
|
|
|
//in which case you want to display the cached dialog instead of creating
|
|
|
|
|
//another one
|
|
|
|
|
if ( KConfigDialog::showDialog( "settings" ) )
|
|
|
|
|
if ( TDEConfigDialog::showDialog( "settings" ) )
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
//KConfigDialog didn't find an instance of this dialog, so lets create it :
|
|
|
|
|
KConfigDialog* dialog = new KConfigDialog( this, "settings", KeepSettings::self() );
|
|
|
|
|
//TDEConfigDialog didn't find an instance of this dialog, so lets create it :
|
|
|
|
|
TDEConfigDialog* dialog = new TDEConfigDialog( this, "settings", KeepSettings::self() );
|
|
|
|
|
GeneralConfigView* generalConfigView = new GeneralConfigView( 0, "generalConfigView" );
|
|
|
|
|
|
|
|
|
|
dialog->addPage( generalConfigView, i18n("General"), "general" );
|
|
|
|
|