KDED
#include "vfolder_menu.h"
#include "kbuildservicefactory.h"
#include "kbuildsycocainterface.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"
Include dependency graph for vfolder_menu.cpp:
Go to the source code of this file.
Macros | |
#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) |
Macro Definition 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 323 of file vfolder_menu.cpp.
#define FOR_ALL_APPLICATIONS_END } } |
Definition at line 330 of file vfolder_menu.cpp.
#define FOR_CATEGORY | ( | category, | |
it | |||
) |
Value:
foreach (AppsInfo *info, m_appsInfoStack) \
{ \
for(KService::List::ConstIterator it = list.constBegin(); \
it != list.constEnd(); ++it) \
{
T value(int i) const
typedef ConstIterator
QStringList list(const QString &fileClass)
Definition at line 332 of file vfolder_menu.cpp.
#define FOR_CATEGORY_END } } |
Definition at line 339 of file vfolder_menu.cpp.
Function Documentation
|
static |
Definition at line 41 of file vfolder_menu.cpp.
|
static |
Definition at line 1446 of file vfolder_menu.cpp.
|
static |
Definition at line 1505 of file vfolder_menu.cpp.
|
static |
Definition at line 56 of file vfolder_menu.cpp.
|
static |
Definition at line 450 of file vfolder_menu.cpp.
|
static |
Definition at line 461 of file vfolder_menu.cpp.
|
static |
Definition at line 116 of file vfolder_menu.cpp.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.