Cache class for QDeclarativeBooster. More...
Public Member Functions |
|
MDeclarativeCache () | |
Constructor. |
|
virtual | ~MDeclarativeCache () |
Destructor. |
|
Static Public Member Functions |
|
static void | populate () |
Populate cache with QApplication and QDeclarativeView. |
|
static QApplication * | qApplication (int &argc, char **argv) |
Returns QApplication instance from cache or creates a new one. |
|
static QDeclarativeView * | qDeclarativeView () |
Returns QDeclarativeView instance from cache or creates a new one. |
|
static QString | applicationDirPath () __attribute__((deprecated)) |
Returns the directory that contains the application executable. |
|
static QString | applicationFilePath () __attribute__((deprecated)) |
Returns the file path of the application executable. |
|
Static Protected Attributes |
|
static MDeclarativeCachePrivate *const |
d_ptr |
Cache class for QDeclarativeBooster.
MDeclarativeCache::MDeclarativeCache | ( | ) | [inline] |
Constructor.
virtual MDeclarativeCache::~MDeclarativeCache | ( | ) | [inline, virtual] |
Destructor.
static QString MDeclarativeCache::applicationDirPath | ( | ) | [static] |
Returns the directory that contains the application executable.
This function is deprecated. It used to be a workaround for QApplication::applicationDirPath() not working on harmattan with qdeclarativebooster and Qt 4.7, but this has been fixed.
static QString MDeclarativeCache::applicationFilePath | ( | ) | [static] |
Returns the file path of the application executable.
This function is deprecated. It used to be a workaround for QApplication::applicationFilePath() not working on harmattan with qdeclarativebooster and Qt 4.7, but this has been fixed.
static void MDeclarativeCache::populate | ( | ) | [static] |
Populate cache with QApplication and QDeclarativeView.
static QApplication* MDeclarativeCache::qApplication | ( | int & | argc, | |
char ** | argv | |||
) | [static] |
Returns QApplication instance from cache or creates a new one.
Ownership of the returned object is passed to the caller. NOTE: This is subject to change.
static QDeclarativeView* MDeclarativeCache::qDeclarativeView | ( | ) | [static] |
Returns QDeclarativeView instance from cache or creates a new one.
Ownership of the returned object is passed to the caller. NOTE: This is subject to change.
MDeclarativeCachePrivate* const MDeclarativeCache::d_ptr [static, protected] |
(C) 2011 Nokia Corporation and/or its subsidiary(-ies). GNU Lesser General Public License version 2.1 All rights reserved. Contact: Nokia Corporation (directui@nokia.com) |
MeeGo 1.2 Harmattan API
|