[KLF Backend][KLF Tools][KLF Home]
KLatexFormula Project
Public Types | Public Member Functions
KLFConfigProp< T > Class Template Reference

#include <klfconfigbase.h>

Inheritance diagram for KLFConfigProp< T >:
Inheritance graph
[legend]
Collaboration diagram for KLFConfigProp< T >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef T Type

Public Member Functions

 KLFConfigProp ()
 operator Type () const
const Type operator() () const
const Typeoperator= (const Type &newvalue)
bool operator== (const Type &compareValue) const
bool operator!= (const Type &compareValue) const
bool setValue (const QVariant &newvalue)
bool setValue (const Type &newvalue)
Type defaultValue () const
bool defaultValueDefinite () const
Type value () const
bool hasValue () const
virtual QVariant toVariant () const
virtual QVariant defaultValueVariant () const
void initialize (KLFConfigBase *confptr, const QString &propName, const Type &defaultValue, bool isDefaultValueDefinite=true)
void setDefaultValue (const Type &defaultValue)
void connectQObjectProperty (QObject *object, const QByteArray &propName)
void disconnectQObjectProperty (QObject *object, const QByteArray &propName)
void connectQObjectSlot (QObject *object, const QByteArray &slotName)
void disconnectQObjectSlot (QObject *object, const QByteArray &slotName)

Detailed Description

template<class T>
class KLFConfigProp< T >

Definition at line 115 of file klfconfigbase.h.


Member Typedef Documentation

template<class T >
typedef T KLFConfigProp< T >::Type

Definition at line 118 of file klfconfigbase.h.


Constructor & Destructor Documentation

template<class T >
KLFConfigProp< T >::KLFConfigProp ( ) [inline]

Definition at line 120 of file klfconfigbase.h.


Member Function Documentation

template<class T >
void KLFConfigProp< T >::connectQObjectProperty ( QObject object,
const QByteArray propName 
) [inline]
template<class T >
void KLFConfigProp< T >::connectQObjectSlot ( QObject object,
const QByteArray slotName 
) [inline]
template<class T >
Type KLFConfigProp< T >::defaultValue ( ) const [inline]
template<class T >
bool KLFConfigProp< T >::defaultValueDefinite ( ) const [inline]

Definition at line 168 of file klfconfigbase.h.

template<class T >
virtual QVariant KLFConfigProp< T >::defaultValueVariant ( ) const [inline, virtual]

Reimplemented from KLFConfigPropBase.

Definition at line 192 of file klfconfigbase.h.

References KLFVariantConverter< T >::convert(), and KLFConfigProp< T >::defaultValue().

template<class T >
void KLFConfigProp< T >::disconnectQObjectProperty ( QObject object,
const QByteArray propName 
) [inline]
template<class T >
void KLFConfigProp< T >::disconnectQObjectSlot ( QObject object,
const QByteArray slotName 
) [inline]
template<class T >
bool KLFConfigProp< T >::hasValue ( ) const [inline]

Definition at line 181 of file klfconfigbase.h.

template<class T >
void KLFConfigProp< T >::initialize ( KLFConfigBase confptr,
const QString propName,
const Type defaultValue,
bool  isDefaultValueDefinite = true 
) [inline]
template<class T >
KLFConfigProp< T >::operator Type ( ) const [inline]

Definition at line 123 of file klfconfigbase.h.

References KLFConfigProp< T >::value().

template<class T >
bool KLFConfigProp< T >::operator!= ( const Type compareValue) const [inline]

Definition at line 140 of file klfconfigbase.h.

References KLFConfigProp< T >::value().

template<class T >
const Type KLFConfigProp< T >::operator() ( ) const [inline]

Definition at line 127 of file klfconfigbase.h.

References KLFConfigProp< T >::value().

template<class T >
const Type& KLFConfigProp< T >::operator= ( const Type newvalue) [inline]

Definition at line 131 of file klfconfigbase.h.

References KLFConfigProp< T >::setValue().

template<class T >
bool KLFConfigProp< T >::operator== ( const Type compareValue) const [inline]

Definition at line 136 of file klfconfigbase.h.

References KLFConfigProp< T >::value().

template<class T >
void KLFConfigProp< T >::setDefaultValue ( const Type defaultValue) [inline]

Definition at line 211 of file klfconfigbase.h.

References KLFConfigProp< T >::defaultValue().

template<class T >
bool KLFConfigProp< T >::setValue ( const QVariant newvalue) [inline, virtual]

Reimplemented from KLFConfigPropBase.

Definition at line 145 of file klfconfigbase.h.

Referenced by KLFConfigProp< T >::operator=().

template<class T >
bool KLFConfigProp< T >::setValue ( const Type newvalue) [inline]
template<class T >
virtual QVariant KLFConfigProp< T >::toVariant ( ) const [inline, virtual]
template<class T >
Type KLFConfigProp< T >::value ( ) const [inline]

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

Generated by doxygen 1.7.6.1. The KLatexFormula website is hosted on sourceforge.net