Use KIO::filesize_t to be able to handle big filesizes (now 4GB DVD image filesizes...
[kdenetwork.git] / knewsticker / settingsdialog.cpp
blob1b9dc289d7e82ff19591c0d5cbecac9172ed3342
1 /*
2 * settingsdialog.cpp
4 * Copyright (c) 2007 Frerich Raabe <raabe@kde.org>
6 * This program is distributed in the hope that it will be useful, but WITHOUT
7 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
8 * FOR A PARTICULAR PURPOSE. For licensing and distribution details, check the
9 * accompanying file 'COPYING'.
11 #include "settingsdialog.h"
12 #include "settings.h"
13 #include "ui_visualsettings.h"
14 #include "feedsettingswidget.h"
16 SettingsDialog::SettingsDialog( QWidget *parent )
17 : KConfigDialog( parent, "settings", Settings::self() )
19 setFaceType( KPageDialog::Tabbed );
21 QWidget *page = new QWidget( 0 );
23 Ui::VisualSettings ui;
24 ui.setupUi( page );
26 addPage( page, i18n( "Appearance" ) );
28 m_feedSettingsWidget = new FeedSettingsWidget( 0 );
29 addPage( m_feedSettingsWidget, i18n( "Feed Access" ) );
32 QStringList SettingsDialog::feedUrls() const
34 return m_feedSettingsWidget->feedUrls();
37 #include "settingsdialog.moc"