akregator/src

settings_advanced.h
1 #ifndef AKREGATOR_SETTINGS_ADVANCED_H
2 #define AKREGATOR_SETTINGS_ADVANCED_H
3 
4 #include "settings_advancedbase.h"
5 
6 #include <tqmap.h>
7 
8 class TQString;
9 class TQWidget;
10 
11 namespace Akregator {
12 
13 namespace Backend
14 {
15  class StorageFactory;
16 }
17 
18 class SettingsAdvanced : public SettingsAdvancedBase
19 {
20  TQ_OBJECT
21 
22 
23  public:
24  SettingsAdvanced(TQWidget* parent=0, const char* name=0);
25 
27  TQString selectedFactory() const;
28 
29  void selectFactory(const TQString& key);
30 
31  public slots:
32 
33  void slotConfigureStorage();
34  void slotFactorySelected(int);
35 
36  private:
37  TQMap<int,Backend::StorageFactory*> m_factories;
38  TQMap<TQString, int> m_keyPos;
39 };
40 
41 } // namespace Akregator
42 
43 #endif //AKREGATOR_SETTINGS_ADVANCED_H