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.
44 lines
864 B
44 lines
864 B
#ifndef AKREGATOR_SETTINGS_ADVANCED_H
|
|
#define AKREGATOR_SETTINGS_ADVANCED_H
|
|
|
|
#include "settings_advancedbase.h"
|
|
|
|
#include <tqmap.h>
|
|
|
|
class TQString;
|
|
class TQWidget;
|
|
|
|
namespace Akregator {
|
|
|
|
namespace Backend
|
|
{
|
|
class StorageFactory;
|
|
}
|
|
|
|
class SettingsAdvanced : public SettingsAdvancedBase
|
|
{
|
|
Q_OBJECT
|
|
TQ_OBJECT
|
|
|
|
public:
|
|
SettingsAdvanced(TQWidget* parent=0, const char* name=0);
|
|
|
|
/** returns the key of the currently selected factory */
|
|
TQString selectedFactory() const;
|
|
|
|
void selectFactory(const TQString& key);
|
|
|
|
public slots:
|
|
|
|
void slotConfigureStorage();
|
|
void slotFactorySelected(int);
|
|
|
|
private:
|
|
TQMap<int,Backend::StorageFactory*> m_factories;
|
|
TQMap<TQString, int> m_keyPos;
|
|
};
|
|
|
|
} // namespace Akregator
|
|
|
|
#endif //AKREGATOR_SETTINGS_ADVANCED_H
|