settings_general_dialog.cpp
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #include "settings_general_dialog.h"
00022
00023 #include "settings_general.h"
00024 #include "settings_general_widget_general.h"
00025 #include "settings_general_widget_saving.h"
00026 #include "settings_general_widget_relayserver.h"
00027
00028 settings_general_dialog::settings_general_dialog(QWidget *parent, const QString & name)
00029 : KConfigDialog(parent, name, settings_general::self())
00030 {
00031
00032 KIconLoader iconloader;
00033
00034 addPage(new settings_general_widget_saving(this),
00035 i18nc("@title of a page in the configuration dialog", "Saving"),
00036 iconloader.iconPath("document-save", KIconLoader::SizeEnormous * (-1)));
00037 addPage(new settings_general_widget_relayserver(this),
00038 i18nc("@title of a page in the configuration dialog","Relay server"),
00039 iconloader.iconPath("network-server", KIconLoader::SizeEnormous * (-1)));
00040 addPage(new settings_general_widget_general(this),
00041 i18nc("@title of a page in the configuration dialog","Extended"),
00042 iconloader.iconPath("preferences-other", KIconLoader::SizeEnormous * (-1)));
00043 showButton(KDialog::Help, false);
00044 setModal(true);
00045 }
00046
00047 settings_general_dialog::~settings_general_dialog()
00048 {
00049 }