settings_stream_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_stream_dialog.h"
00022 #include "settings_stream_widget_connection.h"
00023 #include "settings_stream_widget_splitting.h"
00024 #include "settings_stream_widget_saving.h"
00025
00026 settings_stream_dialog::settings_stream_dialog(QWidget * parent,
00027 const QString & name,
00028 settings_stream * config)
00029 : KConfigDialog(parent, name, config)
00030 {
00031
00032 QPointer<settings_stream_widget_connection> m_settings_stream_widget_connection;
00033 KIconLoader iconloader;
00034
00035
00036 m_settings_stream_widget_connection = new settings_stream_widget_connection(this);
00037 addPage(m_settings_stream_widget_connection,
00038 i18nc("@title of a page in the configuration dialog", "Connection"),
00039 iconloader.iconPath("network-wired", KIconLoader::SizeEnormous * (-1)));
00040 m_settings_stream_widget_connection->
00041 load_info_from_kcfg_and_start_recognization();
00042
00043 addPage(new settings_stream_widget_splitting(this),
00044 i18nc("@title of a page in the configuration dialog", "Splitting"),
00045 iconloader.iconPath("edit-cut", KIconLoader::SizeEnormous * (-1)));
00046
00047 addPage(new settings_stream_widget_saving(this),
00048 i18nc("@title of a page in the configuration dialog", "Saving"),
00049 iconloader.iconPath("document-save", KIconLoader::SizeEnormous * (-1)));
00050
00051 setModal(true);
00052 showButton(KDialog::Help, false);
00053 }
00054
00055 settings_stream_dialog::~settings_stream_dialog()
00056 {
00057 }