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

KUtils

  • kutils
kcmoduleloader.h
Go to the documentation of this file.
1 /*
2  Copyright (c) 1999 Matthias Hoelzer-Kluepfel <hoelzer@kde.org>
3  Copyright (c) 2002-2003 Daniel Molkentin <molkentin@kde.org>
4  Copyright (c) 2006 Matthias Kretz <kretz@kde.org>
5 
6  This file is part of the KDE project
7 
8  This library is free software; you can redistribute it and/or
9  modify it under the terms of the GNU Library General Public
10  License version 2, as published by the Free Software Foundation.
11 
12  This library is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  Library General Public License for more details.
16 
17  You should have received a copy of the GNU Library General Public License
18  along with this library; see the file COPYING.LIB. If not, write to
19  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20  Boston, MA 02110-1301, USA.
21 */
22 #ifndef KCMODULELOADER_H
23 #define KCMODULELOADER_H
24 
25 #include <kcmodule.h>
26 #include <kcmoduleinfo.h>
27 
28 class QWidget;
29 
43 namespace KCModuleLoader
44 {
48  enum ErrorReporting {
52  None = 0,
57  Inline = 1,
61  Dialog = 2,
65  Both = 3
66  };
67 
75  KCMUTILS_EXPORT KCModule *loadModule(const KCModuleInfo &module, ErrorReporting
76  report, QWidget * parent = 0, const QStringList& args = QStringList() );
77 
86  KCMUTILS_EXPORT KCModule *loadModule( const QString &module, ErrorReporting report,
87  QWidget *parent = 0, const QStringList& args = QStringList() );
88 
93  KCMUTILS_EXPORT void unloadModule(const KCModuleInfo &mod);
94 
102 #ifndef KDE_NO_DEPRECATED
103  KCMUTILS_EXPORT KDE_DEPRECATED void showLastLoaderError(QWidget *parent);
104 #endif
105 
115  KCMUTILS_EXPORT KCModule* reportError( ErrorReporting report, const QString & text,
116  const QString &details, QWidget * parent );
117 
118 }
119 
120 // vim: ts=2 sw=2 et
121 #endif // KCMODULELOADER_H
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jun 1 2013 22:03:37 by doxygen 1.8.3.1 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.10.4 API Reference

Skip menu "kdelibs-4.10.4 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