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

KUtils

kcmoduleinfo.h

Go to the documentation of this file.
00001 /*
00002   Copyright (c) 1999 Matthias Hoelzer-Kluepfel <hoelzer@kde.org>
00003   Copyright (c) 2000 Matthias Elter <elter@kde.org>
00004   Copyright (c) 2003 Daniel Molkentin <molkentin@kde.org>
00005   Copyright (c) 2003,2006 Matthias Kretz <kretz@kde.org>
00006 
00007   This file is part of the KDE project
00008 
00009   This library is free software; you can redistribute it and/or
00010   modify it under the terms of the GNU Library General Public
00011   License version 2, as published by the Free Software Foundation.
00012 
00013   This library is distributed in the hope that it will be useful,
00014   but WITHOUT ANY WARRANTY; without even the implied warranty of
00015   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016   Library General Public License for more details.
00017 
00018   You should have received a copy of the GNU Library General Public License
00019   along with this library; see the file COPYING.LIB.  If not, write to
00020   the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00021   Boston, MA 02110-1301, USA.
00022 */
00023 
00024 #ifndef KCMODULEINFO_H
00025 #define KCMODULEINFO_H
00026 
00027 #include <kutils_export.h>
00028 #include <kservice.h>
00029 
00030 class QString;
00031 class QStringList;
00032 
00047 class KUTILS_EXPORT KCModuleInfo // krazy:exclude=dpointer (implicitly shared)
00048 {
00049 
00050 public:
00051 
00059   KCModuleInfo(const QString& desktopFile);
00060 
00068   KCModuleInfo( KService::Ptr moduleInfo );
00069 
00070 
00076   KCModuleInfo( const KCModuleInfo &rhs );
00077 
00082   KCModuleInfo();
00083 
00087   KCModuleInfo &operator=( const KCModuleInfo &rhs );
00088 
00092   bool operator==( const KCModuleInfo &rhs ) const;
00093 
00097   bool operator!=( const KCModuleInfo &rhs ) const;
00098 
00102   ~KCModuleInfo();
00103 
00107   QString fileName() const;
00108 
00112   QStringList keywords() const;
00113 
00117   QString moduleName() const;
00118 
00122   KService::Ptr service() const;
00123 
00127   QString comment() const;
00128 
00132   QString icon() const;
00133 
00137   QString docPath() const;
00138 
00142   QString library() const;
00143 
00148   QString handle() const;
00149 
00154   int weight() const;
00155 
00156 private:
00157   class Private;
00158   Private * d;
00159 };
00160 
00161 #endif // KCMODULEINFO_H
00162 
00163 // vim: ts=2 sw=2 et

KUtils

Skip menu "KUtils"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal