• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeutils
 

tdeutils

  • tdeutils
tdecmoduleloader.h
1/*
2 Copyright (c) 1999 Matthias Hoelzer-Kluepfel <hoelzer@kde.org>
3 Copyright (c) 2002-2003 Daniel Molkentin <molkentin@kde.org>
4
5 This file is part of the KDE project
6
7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Library General Public
9 License version 2, as published by the Free Software Foundation.
10
11 This library is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 Library General Public License for more details.
15
16 You should have received a copy of the GNU Library General Public License
17 along with this library; see the file COPYING.LIB. If not, write to
18 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 Boston, MA 02110-1301, USA.
20*/
21#ifndef MODLOADER_H
22#define MODLOADER_H
23
24#include <tdecmodule.h>
25#include <tdecmoduleinfo.h>
26
27class TQWidget;
28class KLibLoader;
29
45class TDEUTILS_EXPORT TDECModuleLoader
46{
47 public:
48
63 static TDECModule *loadModule(const TDECModuleInfo &module, bool withFallback=true,
64 TQWidget * parent = 0, const char * name = 0,
65 const TQStringList & args = TQStringList() ) TDE_DEPRECATED;
66
78 static TDECModule *loadModule(const TQString &module, TQWidget *parent = 0,
79 const char *name = 0, const TQStringList & args = TQStringList()) TDE_DEPRECATED;
80
84 enum ErrorReporting {
88 None = 0,
93 Inline = 1,
97 Dialog = 2,
101 Both = 3
102 };
103
117 static TDECModule *loadModule(const TDECModuleInfo &module, ErrorReporting
118 report, bool withFallback=true, TQWidget * parent = 0,
119 const char * name = 0, const TQStringList & args = TQStringList() );
120
133 static TDECModule *loadModule(const TQString &module, ErrorReporting
134 report, TQWidget *parent = 0, const char *name = 0,
135 const TQStringList & args = TQStringList());
136
141 static void unloadModule(const TDECModuleInfo &mod);
142
150 static void showLastLoaderError(TQWidget *parent) TDE_DEPRECATED;
151
152
181 static bool testModule( const TQString& module );
182
190 static bool testModule( const TDECModuleInfo& module );
191
203 static TDECModule* reportError( ErrorReporting report, const TQString & text,
204 TQString details, TQWidget * parent );
205
206 private:
207
212 static TDECModule* load(const TDECModuleInfo &mod, const TQString &libname,
213 KLibLoader *loader, ErrorReporting report, TQWidget * parent = 0,
214 const char * name = 0, const TQStringList & args = TQStringList() );
215
216};
217#endif // MODLOADER_H
218
KLibLoader
TDECModuleInfo
A class that provides information about a TDECModule.
Definition: tdecmoduleinfo.h:50
TDECModuleLoader
Loads a KControl Module.
Definition: tdecmoduleloader.h:46
TDECModuleLoader::ErrorReporting
ErrorReporting
Determines the way errors are reported.
Definition: tdecmoduleloader.h:84
TDECModule

tdeutils

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

tdeutils

Skip menu "tdeutils"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeutils by doxygen 1.9.4
This website is maintained by Timothy Pearson.