Back to index

kdeartwork  4.3.2
Public Member Functions
AASaverInterface Class Reference

#include <aasaver.h>

List of all members.

Public Member Functions

virtual ~AASaverInterface ()
virtual KAboutData * aboutData ()
virtual KScreenSaver * create (WId id)
virtual QDialog * setup ()

Detailed Description

Definition at line 193 of file aasaver.h.


Constructor & Destructor Documentation

Definition at line 1271 of file aasaver.cpp.

{
}

Member Function Documentation

KAboutData * AASaverInterface::aboutData ( ) [virtual]

Definition at line 1275 of file aasaver.cpp.

{
    return new KAboutData("kdeasciiquarium.kss", "kdeasciiquarium", ki18n("KDE Asciiquarium"), "0.4.1",
        ki18n("KDE Asciiquarium"));
}
KScreenSaver * AASaverInterface::create ( WId  id) [virtual]

Definition at line 1281 of file aasaver.cpp.

{
    return new AASaver(id);
}
QDialog * AASaverInterface::setup ( ) [virtual]

Definition at line 1286 of file aasaver.cpp.

{
    KConfigDialog *dialog = KConfigDialog::exists("settings");
    if(dialog)
        return dialog;

    dialog = new KConfigDialog(0, "settings", AASaverConfig::self());
    KGlobal::locale()->insertCatalog("kdeasciiquarium");
    QWidget *settings = new QWidget(dialog);
    Ui::SettingsWidget ui;
    ui.setupUi(settings);

    dialog->addPage(settings, i18n("Asciiquarium Settings"), "preferences-desktop-screensaver");

    // Not much for help needed really...
    dialog->enableButton(KDialog::Help, false);

    return dialog;
}

The documentation for this class was generated from the following files: