KDED
VFolderMenu Class Reference
#include <vfolder_menu.h>
Classes | |
class | appsInfo |
class | docInfo |
struct | MenuItem |
class | SubMenu |
Signals | |
void | newService (const QString &path, KService **entry) |
Public Member Functions | |
QStringList | allDirectories () |
SubMenu * | parseMenu (const QString &file, bool forceLegacyLoad=false) |
void | setTrackId (const QString &id) |
VFolderMenu () | |
~VFolderMenu () | |
Public Attributes | |
QStringList | m_allDirectories |
appsInfo * | m_appsInfo |
QPtrList< appsInfo > | m_appsInfoList |
QPtrList< appsInfo > | m_appsInfoStack |
SubMenu * | m_currentMenu |
QStringList | m_defaultAppDirs |
QStringList | m_defaultDataDirs |
QStringList | m_defaultDirectoryDirs |
QStringList | m_defaultLegacyDirs |
QStringList | m_defaultMergeDirs |
QStringList | m_directoryDirs |
QDomDocument | m_doc |
docInfo | m_docInfo |
QValueStack< VFolderMenu::docInfo > | m_docInfoStack |
bool | m_forcedLegacyLoad |
bool | m_legacyLoaded |
QDict< SubMenu > | m_legacyNodes |
SubMenu * | m_rootMenu |
bool | m_track |
QString | m_trackId |
QDict< KService > | m_usedAppsDict |
Detailed Description
Definition at line 32 of file vfolder_menu.h.
Constructor & Destructor Documentation
VFolderMenu::VFolderMenu | ( | ) |
Definition at line 303 of file vfolder_menu.cpp.
VFolderMenu::~VFolderMenu | ( | ) |
Definition at line 309 of file vfolder_menu.cpp.
Member Function Documentation
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.
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.
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.
Member Data Documentation
Definition at line 99 of file vfolder_menu.h.
Definition at line 134 of file vfolder_menu.h.
Definition at line 136 of file vfolder_menu.h.
Definition at line 135 of file vfolder_menu.h.
Definition at line 141 of file vfolder_menu.h.
Definition at line 102 of file vfolder_menu.h.
Definition at line 101 of file vfolder_menu.h.
Definition at line 103 of file vfolder_menu.h.
Definition at line 105 of file vfolder_menu.h.
Definition at line 104 of file vfolder_menu.h.
Definition at line 107 of file vfolder_menu.h.
Definition at line 139 of file vfolder_menu.h.
Definition at line 119 of file vfolder_menu.h.
Definition at line 120 of file vfolder_menu.h.
Definition at line 142 of file vfolder_menu.h.
Definition at line 143 of file vfolder_menu.h.
Definition at line 108 of file vfolder_menu.h.
Definition at line 140 of file vfolder_menu.h.
Definition at line 144 of file vfolder_menu.h.
Definition at line 145 of file vfolder_menu.h.
Definition at line 137 of file vfolder_menu.h.
The documentation for this class was generated from the following files: