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

KUtils

  • kutils
kcmoduleinfo.h
Go to the documentation of this file.
1/*
2 Copyright (c) 1999 Matthias Hoelzer-Kluepfel <hoelzer@kde.org>
3 Copyright (c) 2000 Matthias Elter <elter@kde.org>
4 Copyright (c) 2003 Daniel Molkentin <molkentin@kde.org>
5 Copyright (c) 2003,2006 Matthias Kretz <kretz@kde.org>
6
7 This file is part of the KDE project
8
9 This library is free software; you can redistribute it and/or
10 modify it under the terms of the GNU Library General Public
11 License version 2, as published by the Free Software Foundation.
12
13 This library is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 Library General Public License for more details.
17
18 You should have received a copy of the GNU Library General Public License
19 along with this library; see the file COPYING.LIB. If not, write to
20 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 Boston, MA 02110-1301, USA.
22*/
23
24#ifndef KCMODULEINFO_H
25#define KCMODULEINFO_H
26
27#include <kcmutils_export.h>
28#include <kservice.h>
29
30class QString;
31class QStringList;
32
47class KCMUTILS_EXPORT KCModuleInfo // krazy:exclude=dpointer (implicitly shared)
48{
49
50public:
51
59 KCModuleInfo(const QString& desktopFile);
60
68 KCModuleInfo( KService::Ptr moduleInfo );
69
70
76 KCModuleInfo( const KCModuleInfo &rhs );
77
82 KCModuleInfo();
83
87 KCModuleInfo &operator=( const KCModuleInfo &rhs );
88
92 bool operator==( const KCModuleInfo &rhs ) const;
93
97 bool operator!=( const KCModuleInfo &rhs ) const;
98
102 ~KCModuleInfo();
103
107 QString fileName() const;
108
112 QStringList keywords() const;
113
117 QString moduleName() const;
118
122 KService::Ptr service() const;
123
127 QString comment() const;
128
132 QString icon() const;
133
137 QString docPath() const;
138
142 QString library() const;
143
148 QString handle() const;
149
154 int weight() const;
155
156private:
157 class Private;
158 Private * d;
159};
160
161#endif // KCMODULEINFO_H
162
163// vim: ts=2 sw=2 et
KCModuleInfo
A class that provides information about a KCModule.
Definition: kcmoduleinfo.h:48
KSharedPtr< KService >
kcmutils_export.h
operator==
bool operator==(const KEntry &k1, const KEntry &k2)
operator!=
bool operator!=(const KEntry &k1, const KEntry &k2)
kservice.h
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.

KUtils

Skip menu "KUtils"
  • Main Page
  • Namespace List
  • Namespace Members
  • 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