• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • kdelibs
  • KDE Home
  • 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     KCMUTILS_EXPORT KCModule *loadModule(const KCModuleInfo &module, ErrorReporting
00076         report, QWidget * parent = 0, const QStringList& args = QStringList() );
00077 
00086     KCMUTILS_EXPORT KCModule *loadModule( const QString &module, ErrorReporting report,
00087         QWidget *parent = 0, const QStringList& args = QStringList() );
00088 
00093     KCMUTILS_EXPORT void unloadModule(const KCModuleInfo &mod);
00094 
00102 #ifndef KDE_NO_DEPRECATED
00103     KCMUTILS_EXPORT KDE_DEPRECATED void showLastLoaderError(QWidget *parent);
00104 #endif
00105 
00115     KCMUTILS_EXPORT KCModule* reportError( ErrorReporting report, const QString & text,
00116         const QString &details, QWidget * parent );
00117 
00118 }
00119 
00120 // vim: ts=2 sw=2 et
00121 #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
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
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