|
|
@ -36,8 +36,8 @@
|
|
|
|
// by Dirk Staneker 1997
|
|
|
|
// by Dirk Staneker 1997
|
|
|
|
|
|
|
|
|
|
|
|
#include <kdebug.h>
|
|
|
|
#include <kdebug.h>
|
|
|
|
#include <klocale.h>
|
|
|
|
#include <tdelocale.h>
|
|
|
|
#include <kconfigdialog.h>
|
|
|
|
#include <tdeconfigdialog.h>
|
|
|
|
|
|
|
|
|
|
|
|
#include <ntqdesktopwidget.h>
|
|
|
|
#include <ntqdesktopwidget.h>
|
|
|
|
#include <ntqpainter.h>
|
|
|
|
#include <ntqpainter.h>
|
|
|
@ -1239,14 +1239,14 @@ extern "C"
|
|
|
|
|
|
|
|
|
|
|
|
KDE_EXPORT TQDialog *kss_setup()
|
|
|
|
KDE_EXPORT TQDialog *kss_setup()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
KConfigDialog *dialog = KConfigDialog::exists("settings");
|
|
|
|
TDEConfigDialog *dialog = TDEConfigDialog::exists("settings");
|
|
|
|
if(dialog)
|
|
|
|
if(dialog)
|
|
|
|
return dialog;
|
|
|
|
return dialog;
|
|
|
|
|
|
|
|
|
|
|
|
dialog = new KConfigDialog(0, "settings", AASaverConfig::self());
|
|
|
|
dialog = new TDEConfigDialog(0, "settings", AASaverConfig::self());
|
|
|
|
SettingsWidget *settings = new SettingsWidget(0, "settings_widget");
|
|
|
|
SettingsWidget *settings = new SettingsWidget(0, "settings_widget");
|
|
|
|
|
|
|
|
|
|
|
|
dialog->addPage(settings, i18n("Asciiquarium Settings"), "kscreensaver");
|
|
|
|
dialog->addPage(settings, i18n("Asciiquarium Settings"), "tdescreensaver");
|
|
|
|
|
|
|
|
|
|
|
|
return dialog;
|
|
|
|
return dialog;
|
|
|
|
}
|
|
|
|
}
|
|
|
|