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

KUtils

kcmoduleloader.h

Go to the documentation of this file.
00001 /*
00002   Copyright (c) 1999 Matthias Hoelzer-Kluepfel <hoelzer@kde.org>
00003   Copyright (c) 2002-2003 Daniel Molkentin <molkentin@kde.org>
00004   Copyright (c) 2006 Matthias Kretz <kretz@kde.org>
00005   
00006   This file is part of the KDE project
00007   
00008   This library is free software; you can redistribute it and/or
00009   modify it under the terms of the GNU Library General Public
00010   License version 2, as published by the Free Software Foundation.
00011 
00012   This library is distributed in the hope that it will be useful,
00013   but WITHOUT ANY WARRANTY; without even the implied warranty of
00014   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015   Library General Public License for more details.
00016 
00017   You should have received a copy of the GNU Library General Public License
00018   along with this library; see the file COPYING.LIB.  If not, write to
00019   the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00020   Boston, MA 02110-1301, USA.
00021 */
00022 #ifndef KCMODULELOADER_H
00023 #define KCMODULELOADER_H
00024 
00025 #include <kcmodule.h>
00026 #include <kcmoduleinfo.h>
00027 
00028 class QWidget;
00029 
00043 namespace KCModuleLoader
00044 {
00048     enum ErrorReporting {
00052       None = 0,
00057       Inline = 1,
00061       Dialog = 2,
00065       Both = 3
00066     };
00067 
00075     KUTILS_EXPORT KCModule *loadModule(const KCModuleInfo &module, ErrorReporting
00076         report, QWidget * parent = 0, const QStringList& args = QStringList() );
00077 
00086     KUTILS_EXPORT KCModule *loadModule( const QString &module, ErrorReporting report,
00087         QWidget *parent = 0, const QStringList& args = QStringList() );
00088 
00093     KUTILS_EXPORT void unloadModule(const KCModuleInfo &mod);
00094 
00102     KUTILS_EXPORT KDE_DEPRECATED void showLastLoaderError(QWidget *parent);
00103 
00113     KUTILS_EXPORT KCModule* reportError( ErrorReporting report, const QString & text,
00114         const QString &details, QWidget * parent );
00115 
00116 }
00117 
00118 // vim: ts=2 sw=2 et
00119 #endif // KCMODULELOADER_H

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
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
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