akregator/src
settings_advanced.h00001 #ifndef AKREGATOR_SETTINGS_ADVANCED_H
00002 #define AKREGATOR_SETTINGS_ADVANCED_H
00003
00004 #include "settings_advancedbase.h"
00005
00006 #include <qmap.h>
00007
00008 class QString;
00009 class QWidget;
00010
00011 namespace Akregator {
00012
00013 namespace Backend
00014 {
00015 class StorageFactory;
00016 }
00017
00018 class SettingsAdvanced : public SettingsAdvancedBase
00019 {
00020 Q_OBJECT
00021
00022 public:
00023 SettingsAdvanced(QWidget* parent=0, const char* name=0);
00024
00026 QString selectedFactory() const;
00027
00028 void selectFactory(const QString& key);
00029
00030 public slots:
00031
00032 void slotConfigureStorage();
00033 void slotFactorySelected(int);
00034
00035 private:
00036 QMap<int,Backend::StorageFactory*> m_factories;
00037 QMap<QString, int> m_keyPos;
00038 };
00039
00040 }
00041
00042 #endif //AKREGATOR_SETTINGS_ADVANCED_H
|