• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.38 API Reference
  • KDE Home
  • Contact Us
 

KDED

  • kded
Macros | Functions
vfolder_menu.cpp File Reference
#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"

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

◆ FOR_ALL_APPLICATIONS

#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.

◆ FOR_ALL_APPLICATIONS_END

#define FOR_ALL_APPLICATIONS_END   } }

Definition at line 330 of file vfolder_menu.cpp.

◆ FOR_CATEGORY

#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) \
{
KService::List
QList< Ptr > List

Definition at line 332 of file vfolder_menu.cpp.

◆ FOR_CATEGORY_END

#define FOR_CATEGORY_END   } }

Definition at line 339 of file vfolder_menu.cpp.

Function Documentation

◆ foldNode()

void foldNode ( QDomElement & docElem,
QDomElement & e,
QMap< QString, QDomElement > & dupeList,
QString s = QString() )
static

Definition at line 41 of file vfolder_menu.cpp.

◆ parseAttribute()

QString parseAttribute ( const QDomElement & e)
static

Definition at line 1446 of file vfolder_menu.cpp.

◆ parseLayoutNode()

QStringList parseLayoutNode ( const QDomElement & docElem)
static

Definition at line 1505 of file vfolder_menu.cpp.

◆ replaceNode()

void replaceNode ( QDomElement & docElem,
QDomNode & n,
const QStringList & list,
const QString & tag )
static

Definition at line 56 of file vfolder_menu.cpp.

◆ tagBaseDir()

void tagBaseDir ( QDomDocument & doc,
const QString & tag,
const QString & dir )
static

Definition at line 450 of file vfolder_menu.cpp.

◆ tagBasePath()

void tagBasePath ( QDomDocument & doc,
const QString & tag,
const QString & path )
static

Definition at line 461 of file vfolder_menu.cpp.

◆ track()

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 116 of file vfolder_menu.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDED

Skip menu "KDED"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal