You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
842 B
43 lines
842 B
15 years ago
|
#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
|