Home · All Classes · Main Classes · Deprecated
Classes | Defines

mstyle.h File Reference

Include dependency graph for corelib/style/mstyle.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MStyle
class  MStyleContainer

Defines

#define M_STYLE(CLASS)
#define M_STYLE_INTERNAL(CLASS)
#define M_STYLE_ATTRIBUTE(TYPE, NAME, CAMELNAME)
#define M_STYLE_PTR_ATTRIBUTE(TYPE, NAME, CAMELNAME)
#define M_STYLE_CONTAINER(STYLE_CLASS)
#define M_STYLE_CONTAINER_INTERNAL(STYLE_CLASS)
#define M_STYLE_MODE(MODE)

Define Documentation

#define M_STYLE (   CLASS  ) 
Value:
public: \
    CLASS(); \
    protected: \
    virtual ~CLASS(); \
    CLASS(class CLASS##Data* data); \
    class CLASS##Data *data; \
    private:

Definition at line 27 of file corelib/style/mstyle.h.

#define M_STYLE_ATTRIBUTE (   TYPE,
  NAME,
  CAMELNAME 
)
Value:
Q_PROPERTY(TYPE NAME READ NAME WRITE set##CAMELNAME) \
    public: \
    const TYPE& NAME() const; \
    void set##CAMELNAME(const TYPE& NAME); \
    private:

Definition at line 46 of file corelib/style/mstyle.h.

#define M_STYLE_CONTAINER (   STYLE_CLASS  ) 
Value:
public: \
    STYLE_CLASS##Container(); \
    virtual ~STYLE_CLASS##Container(); \
    const STYLE_CLASS* operator->() const { return static_cast<const STYLE_CLASS*>(currentStyle()); } \
    protected: \
    STYLE_CLASS##Container(class STYLE_CLASS##ContainerPrivate* dd); \
    virtual const char* styleType() const; \
    class STYLE_CLASS##ContainerPrivate * const d_ptr; \
    typedef const STYLE_CLASS* (STYLE_CLASS##Container::*dummyNeverToBeUsedPtr)() const; \
    dummyNeverToBeUsedPtr _dummyNeverToBeUsed(); \
    private: \
    Q_DECLARE_PRIVATE(STYLE_CLASS##Container)

Definition at line 65 of file corelib/style/mstyle.h.

#define M_STYLE_CONTAINER_INTERNAL (   STYLE_CLASS  ) 
Value:
public: \
    STYLE_CLASS##Container(); \
    virtual ~STYLE_CLASS##Container(); \
    const STYLE_CLASS* operator->() const { return static_cast<const STYLE_CLASS*>(currentStyle()); } \
    protected: \
    STYLE_CLASS##Container(class STYLE_CLASS##ContainerPrivate* dd); \
    virtual const char* styleType() const; \
    typedef const STYLE_CLASS* (STYLE_CLASS##Container::*dummyNeverToBeUsedPtr)() const; \
    dummyNeverToBeUsedPtr _dummyNeverToBeUsed(); \
    private: \
    Q_DECLARE_PRIVATE(STYLE_CLASS##Container)

Definition at line 83 of file corelib/style/mstyle.h.

#define M_STYLE_INTERNAL (   CLASS  ) 
Value:
public: \
    CLASS(); \
    virtual ~CLASS(); \
    protected: \
    CLASS(class CLASS##Data* data); \
    private:

Definition at line 37 of file corelib/style/mstyle.h.

#define M_STYLE_MODE (   MODE  ) 
Value:
public: \
    void setMode##MODE();

Definition at line 97 of file corelib/style/mstyle.h.

#define M_STYLE_PTR_ATTRIBUTE (   TYPE,
  NAME,
  CAMELNAME 
)
Value:
Q_PROPERTY(TYPE NAME READ NAME WRITE set##CAMELNAME) \
    public: \
    const TYPE NAME() const; \
    void set##CAMELNAME(const TYPE NAME); \
    private:

Definition at line 54 of file corelib/style/mstyle.h.


Copyright © 2010 Nokia Corporation Generated on Thu Nov 4 2010 18:14:23 (PDT)
Doxygen 1.7.1
MeeGo Touch