lib

Kross::Api::ListT< OBJECT > Class Template Reference

#include <list.h>

Inheritance diagram for Kross::Api::ListT< OBJECT >:

Kross::Api::List Kross::Api::Value< T, V > Kross::Api::Object List of all members.

Detailed Description

template<class OBJECT>
class Kross::Api::ListT< OBJECT >

This template class extends the List class with generic functionality to deal with lists.

Definition at line 119 of file list.h.


Public Member Functions

 ListT ()
 ListT (QValueList< OBJECT > values)
template<typename TYPE>
 ListT (QValueList< TYPE > values)
template<typename TYPE>
 ListT (QIntDict< TYPE > values)
template<typename TYPE>
 ListT (const QPtrList< TYPE > values)
virtual ~ListT ()

Static Public Member Functions

template<typename TYPE>
static Object::Ptr toObject (TYPE t)

Member Function Documentation

template<class OBJECT>
template<typename TYPE>
static Object::Ptr Kross::Api::ListT< OBJECT >::toObject ( TYPE  t  )  [inline, static]

This method got used by the ProxyFunction classes to translate an unknown TYPE to a Object instance.

Classes like Value or ListT or Class are overwriting this method to transparently translate these passed type while this method just assumes that the type is already a Object instance.

Reimplemented from Kross::Api::List.

Definition at line 158 of file list.h.


The documentation for this class was generated from the following file:
KDE Home | KDE Accessibility Home | Description of Access Keys