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

KDECore

  • kdecore
  • services
kservicetypeprofile.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  Copyright 2007 David Faure <faure@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 __kservicetypeprofile_h__
22 #define __kservicetypeprofile_h__
23 
24 #include <QtCore/QMap> // KDE5: remove
25 #include <QtCore/QString>
26 #include <QtCore/QList>
27 
28 #include <kservicetypetrader.h>
29 
30 
44 namespace KServiceTypeProfile
45 {
54  KDECORE_EXPORT void writeServiceTypeProfile( const QString& serviceType,
55  const KService::List& services,
56  const KService::List& disabledServices = KService::List() );
57 
58 
66  KDECORE_EXPORT void deleteServiceTypeProfile( const QString& serviceType );
67 
74  KDECORE_EXPORT void setConfigurationMode();
78  KDECORE_EXPORT bool configurationMode();
79 
83  KDECORE_EXPORT bool hasProfile( const QString& serviceType );
84 
89  void clearCache();
90 
91 }
92 
93 #endif
KServiceTypeProfile::deleteServiceTypeProfile
void deleteServiceTypeProfile(const QString &serviceType)
Delete the complete profile for a given servicetype, reverting to the default preference order (the o...
Definition: kservicetypeprofile.cpp:220
KServiceTypeProfile::hasProfile
bool hasProfile(const QString &serviceType)
Definition: kservicetypeprofile.cpp:171
QString
kservicetypetrader.h
KServiceTypeProfile::configurationMode
bool configurationMode()
Definition: kservicetypeprofile.cpp:238
KServiceTypeProfile::writeServiceTypeProfile
void writeServiceTypeProfile(const QString &serviceType, const KService::List &services, const KService::List &disabledServices=KService::List())
Write the complete profile for a given servicetype.
Definition: kservicetypeprofile.cpp:176
KServiceTypeProfile::setConfigurationMode
void setConfigurationMode()
This method activates a special mode of KServiceTypeProfile, in which all/all and all/allfiles are ex...
Definition: kservicetypeprofile.cpp:233
KServiceTypeProfile::clearCache
void clearCache()
Clear all cached information.
Definition: kservicetypeprofile.cpp:103
QList
Definition: kaboutdata.h:33
This file is part of the KDE documentation.
Documentation copyright © 1996-2016 The KDE developers.
Generated on Fri Apr 1 2016 13:35:58 by doxygen 1.8.5 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.8 API Reference

Skip menu "kdelibs-4.14.8 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