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

KUtils

  • sources
  • kde-4.12
  • kdelibs
  • 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 
30 class QString;
31 class QStringList;
32 
47 class KCMUTILS_EXPORT KCModuleInfo // krazy:exclude=dpointer (implicitly shared)
48 {
49 
50 public:
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 
156 private:
157  class Private;
158  Private * d;
159 };
160 
161 #endif // KCMODULEINFO_H
162 
163 // vim: ts=2 sw=2 et
KSharedPtr< KService >
operator!=
bool operator!=(const KEntry &k1, const KEntry &k2)
QString
operator==
bool operator==(const KEntry &k1, const KEntry &k2)
QStringList
kservice.h
KCModuleInfo
A class that provides information about a KCModule.
Definition: kcmoduleinfo.h:47
kcmutils_export.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:34 by doxygen 1.8.7 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 API Reference

Skip menu "kdelibs 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
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



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