• 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::library
QString library() const
Definition kcmoduleinfo.cpp:171
KCModuleInfo::fileName
QString fileName() const
Definition kcmoduleinfo.cpp:141
KCModuleInfo::operator=
KCModuleInfo & operator=(const KCModuleInfo &rhs)
Assignment operator.
Definition kcmoduleinfo.cpp:98
KCModuleInfo::service
KService::Ptr service() const
Definition kcmoduleinfo.cpp:156
KCModuleInfo::comment
QString comment() const
Definition kcmoduleinfo.cpp:161
KCModuleInfo::icon
QString icon() const
Definition kcmoduleinfo.cpp:166
KCModuleInfo::keywords
QStringList keywords() const
Definition kcmoduleinfo.cpp:146
KCModuleInfo::weight
int weight() const
Definition kcmoduleinfo.cpp:192
KCModuleInfo::operator==
bool operator==(const KCModuleInfo &rhs) const
Returns true if rhs describes the same KCModule as this object.
Definition kcmoduleinfo.cpp:104
KCModuleInfo::docPath
QString docPath() const
Definition kcmoduleinfo.cpp:176
KCModuleInfo::operator!=
bool operator!=(const KCModuleInfo &rhs) const
Definition kcmoduleinfo.cpp:109
KCModuleInfo::moduleName
QString moduleName() const
Definition kcmoduleinfo.cpp:151
KCModuleInfo::KCModuleInfo
KCModuleInfo(const QString &desktopFile)
Constructs a KCModuleInfo.
Definition kcmoduleinfo.cpp:82
KCModuleInfo::handle
QString handle() const
Definition kcmoduleinfo.cpp:184
KService::Ptr
KSharedPtr< KService > Ptr
kcmutils_export.h
kservice.h
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.13.2 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