QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RResourceList< T > Class Template Reference

A global list of loadable resources (fonts, hatch patterns, ..). More...

#include <RResourceList.h>

List of all members.

Public Member Functions

T * get (const QString &resName)
QStringList getNames ()
void uninit ()

Public Attributes

QMap< QString, T * > resMap
QMap< QString, QString > resSubstitutionMap

Detailed Description

template<class T>
class RResourceList< T >

A global list of loadable resources (fonts, hatch patterns, ..).


Member Function Documentation

template<class T>
T* RResourceList< T >::get ( const QString &  resName)
inline
Returns:
Resource with the given name or an invalid resource. The returned resource is loaded first if it isn't already.
template<class T>
QStringList RResourceList< T >::getNames ( )
inline
Returns:
List of all available resource names.
template<class T>
void RResourceList< T >::uninit ( )
inline

Member Data Documentation

template<class T>
QMap<QString, T*> RResourceList< T >::resMap
template<class T>
QMap<QString, QString> RResourceList< T >::resSubstitutionMap

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