KDED
vfolder_menu.cpp File Reference
#include "vfolder_menu.h"#include "kbuildservicefactory.h"#include <sys/types.h>#include <sys/stat.h>#include <unistd.h>#include <dirent.h>#include <config.h>#include <kdebug.h>#include <kglobal.h>#include <kstandarddirs.h>#include <kservice.h>#include <kde_file.h>#include <QtCore/QMap>#include <QtCore/QFile>#include <QtCore/QDir>#include <QtCore/QRegExp>#include <QtCore/QDirIterator>#include "vfolder_menu.moc"Go to the source code of this file.
Defines | |
| #define | FOR_ALL_APPLICATIONS(it) |
| #define | FOR_ALL_APPLICATIONS_END } } |
| #define | FOR_CATEGORY(category, it) |
| #define | FOR_CATEGORY_END } } |
Functions | |
| static void | foldNode (QDomElement &docElem, QDomElement &e, QMap< QString, QDomElement > &dupeList, QString s=QString()) |
| static QString | parseAttribute (const QDomElement &e) |
| static QStringList | parseLayoutNode (const QDomElement &docElem) |
| static void | replaceNode (QDomElement &docElem, QDomNode &n, const QStringList &list, const QString &tag) |
| static void | tagBaseDir (QDomDocument &doc, const QString &tag, const QString &dir) |
| static void | tagBasePath (QDomDocument &doc, const QString &tag, const QString &path) |
| static void | track (const QString &menuId, const QString &menuName, const QHash< QString, KService::Ptr > &includeList, const QHash< QString, KService::Ptr > &excludeList, const QHash< QString, KService::Ptr > &itemList, const QString &comment) |
Define Documentation
| #define FOR_ALL_APPLICATIONS | ( | it | ) |
Value:
foreach (AppsInfo *info, m_appsInfoStack) \ { \ QHashIterator<QString,KService::Ptr> it = info->applications; \ while (it.hasNext()) \ { \ it.next();
Definition at line 317 of file vfolder_menu.cpp.
| #define FOR_ALL_APPLICATIONS_END } } |
Definition at line 324 of file vfolder_menu.cpp.
| #define FOR_CATEGORY | ( | category, | |||
| it | ) |
Value:
foreach (AppsInfo *info, m_appsInfoStack) \ { \ const KService::List list = info->dictCategories.value(category); \ for(KService::List::ConstIterator it = list.constBegin(); \ it != list.constEnd(); ++it) \ {
Definition at line 326 of file vfolder_menu.cpp.
| #define FOR_CATEGORY_END } } |
Definition at line 333 of file vfolder_menu.cpp.
Function Documentation
| static void foldNode | ( | QDomElement & | docElem, | |
| QDomElement & | e, | |||
| QMap< QString, QDomElement > & | dupeList, | |||
| QString | s = QString() | |||
| ) | [static] |
Definition at line 40 of file vfolder_menu.cpp.
| static QString parseAttribute | ( | const QDomElement & | e | ) | [static] |
Definition at line 1441 of file vfolder_menu.cpp.
| static QStringList parseLayoutNode | ( | const QDomElement & | docElem | ) | [static] |
Definition at line 1500 of file vfolder_menu.cpp.
| static void replaceNode | ( | QDomElement & | docElem, | |
| QDomNode & | n, | |||
| const QStringList & | list, | |||
| const QString & | tag | |||
| ) | [static] |
Definition at line 55 of file vfolder_menu.cpp.
Definition at line 446 of file vfolder_menu.cpp.
Definition at line 457 of file vfolder_menu.cpp.
| static void track | ( | const QString & | menuId, | |
| const QString & | menuName, | |||
| const QHash< QString, KService::Ptr > & | includeList, | |||
| const QHash< QString, KService::Ptr > & | excludeList, | |||
| const QHash< QString, KService::Ptr > & | itemList, | |||
| const QString & | comment | |||
| ) | [static] |
Definition at line 111 of file vfolder_menu.cpp.
KDE 4.3 API Reference