Scribus
Open source desktop publishing at your fingertips
StyleContextProxy Class Reference

#include <stylecontextproxy.h>

Inheritance diagram for StyleContextProxy:
Collaboration diagram for StyleContextProxy:

Public Member Functions

const Styleresolve (const QString &name) const
 
 StyleContextProxy (const Style *style)
 
 StyleContextProxy (const StyleContextProxy &other)
 
StyleContextProxyoperator= (const StyleContextProxy &other)
 
const StyledefaultStyle () const
 
void setDefaultStyle (const Style *def)
 
bool checkConsistency () const
 
bool contextContained (const StyleContext *context) const
 
- Public Member Functions inherited from StyleContext
 StyleContext (const StyleContext &o)
 
StyleContextoperator= (const StyleContext &o)
 
int version () const
 
void invalidate ()
 
bool connect (QObject *receiver, const char *member) const
 
bool disconnect (QObject *receiver, const char *member=0) const
 
- Public Member Functions inherited from Observable< StyleContext >
 Observable (UpdateManager *um=NULL)
 
virtual void update ()
 
- Public Member Functions inherited from MassObservable< StyleContext * >
 MassObservable (UpdateManager *um=NULL)
 
void setUpdateManager (UpdateManager *um)
 
virtual void update (StyleContext *what)
 
virtual void updateLayout (StyleContext *what)
 
void connectObserver (Observer< StyleContext * > *o)
 
bool connectObserver (QObject *o, const char *slot)
 
void disconnectObserver (Observer< StyleContext * > *o)
 
bool disconnectObserver (QObject *o, const char *slot=0)
 

Additional Inherited Members

- Protected Member Functions inherited from MassObservable< StyleContext * >
virtual void updateNow (UpdateMemento *what)
 
- Protected Attributes inherited from StyleContext
int m_version
 
int m_cnt
 
- Protected Attributes inherited from MassObservable< StyleContext * >
QSet< Observer< StyleContext * > * > m_observers
 
Private_SignalchangedSignal
 
UpdateManagerm_um
 

Detailed Description

This class turns a style into a new stylecontext: it maps the empty name "" to the given default style and uses the style's context to resolve all other names.


The documentation for this class was generated from the following files: