VFolderMenu Class Reference
Inheritance diagram for VFolderMenu:

Detailed Description
Definition at line 32 of file vfolder_menu.h.
Signals | |
void | newService (const QString &path, KService **entry) |
Public Member Functions | |
VFolderMenu () | |
~VFolderMenu () | |
SubMenu * | parseMenu (const QString &file, bool forceLegacyLoad=false) |
QStringList | allDirectories () |
void | setTrackId (const QString &id) |
Public Attributes | |
QStringList | m_allDirectories |
QStringList | m_defaultDataDirs |
QStringList | m_defaultAppDirs |
QStringList | m_defaultDirectoryDirs |
QStringList | m_defaultMergeDirs |
QStringList | m_defaultLegacyDirs |
QStringList | m_directoryDirs |
QDict< SubMenu > | m_legacyNodes |
docInfo | m_docInfo |
QValueStack< VFolderMenu::docInfo > | m_docInfoStack |
appsInfo * | m_appsInfo |
QPtrList< appsInfo > | m_appsInfoStack |
QPtrList< appsInfo > | m_appsInfoList |
QDict< KService > | m_usedAppsDict |
QDomDocument | m_doc |
SubMenu * | m_rootMenu |
SubMenu * | m_currentMenu |
bool | m_forcedLegacyLoad |
bool | m_legacyLoaded |
bool | m_track |
QString | m_trackId |
Classes | |
class | appsInfo |
class | docInfo |
struct | MenuItem |
class | SubMenu |
Member Function Documentation
VFolderMenu::SubMenu * VFolderMenu::parseMenu | ( | const QString & | file, | |
bool | forceLegacyLoad = false | |||
) |
Parses VFolder menu defintion and generates a menu layout.
The newService signals is used as callback to load a specific service description.
- Parameters:
-
file Menu file to load forceLegacyLoad flag indicating whether the KDE "applnk" directory should be processed at least once.
Definition at line 1624 of file vfolder_menu.cpp.
QStringList VFolderMenu::allDirectories | ( | ) |
Returns a list of all directories involved in the last call to parseMenu(), excluding the KDE Legacy directories.
A change in any of these directories or in any of their child- directories can result in changes to the menu.
Definition at line 85 of file vfolder_menu.cpp.
void VFolderMenu::setTrackId | ( | const QString & | id | ) |
Debug function to enable tracking of what happens with a specific menu item id.
Definition at line 1675 of file vfolder_menu.cpp.
The documentation for this class was generated from the following files: