00001 #ifndef __OPIE_THEME_PLUGIN_H__ 00002 #define __OPIE_THEME_PLUGIN_H__ 00003 00004 #include <qpe/styleinterface.h> 00005 00006 class ThemeSettings; 00007 00008 class ThemeInterface : public StyleExtendedInterface { 00009 public: 00010 ThemeInterface ( ); 00011 virtual ~ThemeInterface ( ); 00012 00013 QRESULT queryInterface ( const QUuid &, QUnknownInterface ** ); 00014 Q_REFCOUNT 00015 00016 virtual QStyle *style ( ); 00017 virtual QString name ( ) const; 00018 00019 virtual QString description ( ) const; 00020 00021 virtual bool hasSettings ( ) const; 00022 00023 virtual QWidget *create ( QWidget *parent, const char *name = 0 ); 00024 00025 virtual bool accept ( ); 00026 virtual void reject ( ); 00027 00028 private: 00029 ThemeSettings *m_widget; 00030 }; 00031 00032 #endif
1.4.2