Home · All Classes · Main Classes · Deprecated
Public Member Functions

MLibrary Class Reference

This class provides the library information to MTheme which uses it to load the correct css files. More...

Inherits MAssembly.

List of all members.

Public Member Functions

 MLibrary (const QString &libraryName)
virtual ~MLibrary ()

Detailed Description

This class provides the library information to MTheme which uses it to load the correct css files.

This class should not be used manually, but with M_LIBRARY macro. The macro will use M_LIBRARY_NAME as the name of the library. M_LIBRARY_NAME is automatically defined by m.prf when .pro file has CONFIG += m.

You must use M_LIBRARY macro in one of your library source files to instantiate the static MLibrary object. This object will be instantiated while the library gets loaded, and destroyed when the library gets unloaded.


Constructor & Destructor Documentation

MLibrary::MLibrary ( const QString libraryName  ) 

Constructs the MLibrary object and registers it to MTheme.

MLibrary::~MLibrary (  )  [virtual]

Destructs the MLibrary object and unregisters it from MTheme.


Copyright © 2010 Nokia Corporation
MeeGo Touch