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

KDECore

  • kdecore
  • sycoca
ksycocatype.h
Go to the documentation of this file.
1/* This file is part of the KDE project
2 Copyright (C) 1998, 1999 Torben Weis <weis@kde.org>
3 Waldo Bastian <bastian@kde.org>
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public
7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version.
9
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details.
14
15 You should have received a copy of the GNU Library General Public License
16 along with this library; see the file COPYING.LIB. If not, write to
17 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 Boston, MA 02110-1301, USA.
19*/
20
21#ifndef KSYCOCATYPE_H
22#define KSYCOCATYPE_H
23
31enum KSycocaType { KST_KSycocaEntry = 0, KST_KService = 1, KST_KServiceType = 2, KST_KMimeType = 3,
32 KST_KFolderMimeType = 4, KST_KDEDesktopMimeType = 5 /*compat*/, KST_KMimeTypeEntry = 6 /*internal*/,
33 KST_KServiceGroup = 7, KST_KImageIOFormat = 8, KST_KProtocolInfo = 9,
34 KST_KServiceSeparator = 10,
35 KST_KCustom = 1000 };
36
44enum KSycocaFactoryId { KST_KServiceFactory = 1,
45 KST_KServiceTypeFactory = 2,
46 KST_KServiceGroupFactory = 3,
47 KST_KImageIO = 4, // unused, KDE5: remove
48 KST_KProtocolInfoFactory = 5,
49 KST_KMimeTypeFactory = 6,
50 KST_CTimeInfo = 100 };
51
52#define K_SYCOCAFACTORY( factory_id ) \
53public: \
54 virtual KSycocaFactoryId factoryId() const { return factory_id; } \
55private:
56
57#endif
KSycocaEntry::KSycocaType
KSycocaType
A KSycocaType is a code (out of the KSycocaType enum) assigned to each class type derived from KSycoc...
Definition: ksycocatype.h:31
KSycocaFactory::KSycocaFactoryId
KSycocaFactoryId
A KSycocaFactoryId is a code (out of the KSycocaFactoryId enum) assigned to each class type derived f...
Definition: ksycocatype.h:44
KST_CTimeInfo
@ KST_CTimeInfo
Definition: ksycocatype.h:50
KST_KImageIOFormat
@ KST_KImageIOFormat
Definition: ksycocatype.h:33
KST_KCustom
@ KST_KCustom
Definition: ksycocatype.h:35
KST_KMimeType
@ KST_KMimeType
Definition: ksycocatype.h:31
KST_KDEDesktopMimeType
@ KST_KDEDesktopMimeType
Definition: ksycocatype.h:32
KST_KServiceFactory
@ KST_KServiceFactory
Definition: ksycocatype.h:44
KST_KServiceGroup
@ KST_KServiceGroup
Definition: ksycocatype.h:33
KST_KMimeTypeEntry
@ KST_KMimeTypeEntry
Definition: ksycocatype.h:32
KST_KProtocolInfo
@ KST_KProtocolInfo
Definition: ksycocatype.h:33
KST_KImageIO
@ KST_KImageIO
Definition: ksycocatype.h:47
KST_KFolderMimeType
@ KST_KFolderMimeType
Definition: ksycocatype.h:32
KST_KServiceSeparator
@ KST_KServiceSeparator
Definition: ksycocatype.h:34
KST_KServiceGroupFactory
@ KST_KServiceGroupFactory
Definition: ksycocatype.h:46
KST_KServiceTypeFactory
@ KST_KServiceTypeFactory
Definition: ksycocatype.h:45
KST_KMimeTypeFactory
@ KST_KMimeTypeFactory
Definition: ksycocatype.h:49
KST_KServiceType
@ KST_KServiceType
Definition: ksycocatype.h:31
KST_KService
@ KST_KService
Definition: ksycocatype.h:31
KST_KSycocaEntry
@ KST_KSycocaEntry
Definition: ksycocatype.h:31
KST_KProtocolInfoFactory
@ KST_KProtocolInfoFactory
Definition: ksycocatype.h:48
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDECore

Skip menu "KDECore"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • 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