Plasma
QScript::Pointer< T > Class Template Reference
#include <backportglobal.h>
Inheritance diagram for QScript::Pointer< T >:

Public Types | |
| typedef T * | pointer_type |
| typedef QExplicitlySharedDataPointer < Pointer< T > > | wrapped_pointer_type |
Public Member Functions | |
| uint | flags () const |
| operator const T * () const | |
| operator T * () | |
| void | setFlags (uint flags) |
| void | unsetFlags (uint flags) |
| ~Pointer () | |
Static Public Member Functions | |
| static wrapped_pointer_type | create (T *value, uint flags=0) |
| static void | fromScriptValue (const QScriptValue &value, T *&target) |
| static QScriptValue | toScriptValue (QScriptEngine *engine, T *const &source) |
Protected Member Functions | |
| Pointer (T *value, uint flags) | |
Detailed Description
template<typename T>
class QScript::Pointer< T >
Definition at line 213 of file backportglobal.h.
Member Typedef Documentation
template<typename T >
| typedef T* QScript::Pointer< T >::pointer_type |
Definition at line 216 of file backportglobal.h.
template<typename T >
| typedef QExplicitlySharedDataPointer<Pointer<T> > QScript::Pointer< T >::wrapped_pointer_type |
Definition at line 217 of file backportglobal.h.
Constructor & Destructor Documentation
template<typename T >
| QScript::Pointer< T >::~Pointer | ( | ) | [inline] |
Definition at line 219 of file backportglobal.h.
template<typename T >
| QScript::Pointer< T >::Pointer | ( | T * | value, | |
| uint | flags | |||
| ) | [inline, protected] |
Definition at line 293 of file backportglobal.h.
Member Function Documentation
template<typename T >
| static wrapped_pointer_type QScript::Pointer< T >::create | ( | T * | value, | |
| uint | flags = 0 | |||
| ) | [inline, static] |
Definition at line 235 of file backportglobal.h.
template<typename T >
| uint QScript::Pointer< T >::flags | ( | ) | const [inline] |
Definition at line 285 of file backportglobal.h.
template<typename T >
| static void QScript::Pointer< T >::fromScriptValue | ( | const QScriptValue & | value, | |
| T *& | target | |||
| ) | [inline, static] |
Definition at line 247 of file backportglobal.h.
template<typename T >
| QScript::Pointer< T >::operator const T * | ( | ) | const [inline] |
Definition at line 230 of file backportglobal.h.
template<typename T >
| QScript::Pointer< T >::operator T * | ( | ) | [inline] |
Definition at line 225 of file backportglobal.h.
template<typename T >
| void QScript::Pointer< T >::setFlags | ( | uint | flags | ) | [inline] |
Definition at line 287 of file backportglobal.h.
template<typename T >
| static QScriptValue QScript::Pointer< T >::toScriptValue | ( | QScriptEngine * | engine, | |
| T *const & | source | |||
| ) | [inline, static] |
Definition at line 240 of file backportglobal.h.
template<typename T >
| void QScript::Pointer< T >::unsetFlags | ( | uint | flags | ) | [inline] |
Definition at line 289 of file backportglobal.h.
The documentation for this class was generated from the following file:
KDE 4.2 API Reference