blob: c741f3f779f8b50cf00254110a27c81fdd90733c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
#ifndef AKREGATOR_SETTINGS_ADVANCED_H
#define AKREGATOR_SETTINGS_ADVANCED_H
#include "settings_advancedbase.h"
#include <qmap.h>
class QString;
class QWidget;
namespace Akregator {
namespace Backend
{
class StorageFactory;
}
class SettingsAdvanced : public SettingsAdvancedBase
{
Q_OBJECT
public:
SettingsAdvanced(QWidget* parent=0, const char* name=0);
/** returns the key of the currently selected factory */
QString selectedFactory() const;
void selectFactory(const QString& key);
public slots:
void slotConfigureStorage();
void slotFactorySelected(int);
private:
QMap<int,Backend::StorageFactory*> m_factories;
QMap<QString, int> m_keyPos;
};
} // namespace Akregator
#endif //AKREGATOR_SETTINGS_ADVANCED_H
|