Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ThemeInterface Class Reference

#include </home/clem/local/src/opie/noncore/styles/theme/plugin.h>

Inheritance diagram for ThemeInterface:

Inheritance graph
[legend]
Collaboration diagram for ThemeInterface:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ThemeInterface ()
virtual ~ThemeInterface ()
QRESULT queryInterface (const QUuid &, QUnknownInterface **)
virtual Q_REFCOUNT QStyle * style ()
virtual QString name () const
virtual QString description () const
virtual bool hasSettings () const
virtual QWidget * create (QWidget *parent, const char *name=0)
virtual bool accept ()
virtual void reject ()

Private Attributes

ThemeSettingsm_widget

Constructor & Destructor Documentation

ThemeInterface::ThemeInterface  ) 
 

Definition at line 9 of file plugin.cpp.

References m_widget.

ThemeInterface::~ThemeInterface  )  [virtual]
 

Definition at line 14 of file plugin.cpp.


Member Function Documentation

bool ThemeInterface::accept  )  [virtual]
 

Callback for appearance app when OK is clicked (return true when style has to re-applied).

Implements StyleExtendedInterface.

Definition at line 45 of file plugin.cpp.

References m_widget.

QWidget * ThemeInterface::create QWidget *  parent,
const char *  name = 0
[virtual]
 

Return a new settings page.

Implements StyleExtendedInterface.

Definition at line 38 of file plugin.cpp.

References m_widget.

QString ThemeInterface::description  )  const [virtual]
 

Return a (longer) description for the style.

Implements StyleExtendedInterface.

Definition at line 28 of file plugin.cpp.

References qApp.

bool ThemeInterface::hasSettings  )  const [virtual]
 

Does this style support customization

Implements StyleExtendedInterface.

Definition at line 33 of file plugin.cpp.

QString ThemeInterface::name  )  const [virtual]
 

Return a short name for the style.

Implements StyleInterface.

Definition at line 23 of file plugin.cpp.

References qApp.

QRESULT ThemeInterface::queryInterface const QUuid ,
QUnknownInterface ** 
[virtual]
 

Implements QUnknownInterface.

Definition at line 58 of file plugin.cpp.

References QUnknownInterface::addRef(), IID_QUnknown, IID_Style, IID_StyleExtended, QS_FALSE, and QS_OK.

void ThemeInterface::reject  )  [virtual]
 

Callback for appeaeance app when Cancel is clicked.

Implements StyleExtendedInterface.

Definition at line 53 of file plugin.cpp.

QStyle * ThemeInterface::style  )  [virtual]
 

Return a new style.

Implements StyleInterface.

Definition at line 18 of file plugin.cpp.


Member Data Documentation

ThemeSettings* ThemeInterface::m_widget [private]
 

Definition at line 29 of file plugin.h.

Referenced by accept(), create(), and ThemeInterface().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:53:52 2005 for OPIE by  doxygen 1.4.2