#include <mdeclarativecache.h>
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 |
Definition at line 34 of file mdeclarativecache.h.
| MDeclarativeCache::MDeclarativeCache | ( | ) | [inline] |
| virtual MDeclarativeCache::~MDeclarativeCache | ( | ) | [inline, virtual] |
| 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.
| 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.
MDeclarativeCachePrivate* const MDeclarativeCache::d_ptr [static, protected] |
Definition at line 77 of file mdeclarativecache.h.
1.5.6