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

kate

  • kate
  • interfaces
pluginmanager.cpp
1/* This file is part of the KDE project
2 Copyright (C) 2001 Christoph Cullmann <cullmann@kde.org>
3
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public
6 License version 2 as published by the Free Software Foundation.
7
8 This library is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 Library General Public License for more details.
12
13 You should have received a copy of the GNU Library General Public License
14 along with this library; see the file COPYING.LIB. If not, write to
15 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16 Boston, MA 02110-1301, USA.
17*/
18
19#include "pluginmanager.moc"
20
21#include "plugin.h"
22#include "documentmanager.h"
23#include "toolviewmanager.h"
24#include "pluginmanager.h"
25
26#include "../app/katepluginmanager.h"
27#include "../app/kateapp.h"
28
29namespace Kate
30{
31
32class PrivatePluginManager
33 {
34 public:
35 PrivatePluginManager ()
36 {
37 }
38
39 ~PrivatePluginManager ()
40 {
41 }
42
43 KatePluginManager *pluginMan;
44 };
45
46PluginManager::PluginManager (void *pluginManager) : TQObject ((KatePluginManager*) pluginManager)
47{
48 d = new PrivatePluginManager ();
49 d->pluginMan = (KatePluginManager*) pluginManager;
50}
51
52PluginManager::~PluginManager ()
53{
54 delete d;
55}
56
57Plugin *PluginManager::plugin(const TQString &name)
58{
59 return d->pluginMan->plugin(name);
60}
61
62bool PluginManager::pluginAvailable(const TQString &name)
63{
64 return d->pluginMan->pluginAvailable (name);
65}
66
67Plugin *PluginManager::loadPlugin(const TQString &name,bool permanent)
68{
69 return d->pluginMan->loadPlugin (name, permanent);
70}
71
72void PluginManager::unloadPlugin(const TQString &name,bool permanent)
73{
74 d->pluginMan->unloadPlugin (name, permanent);
75}
76
77}
78
Kate
Namespace collecting as much of the internal Kate classes as we can manage.
Definition: kateapp.h:32

kate

Skip menu "kate"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kate

Skip menu "kate"
  • kate
  • libkonq
  • twin
  •   lib
Generated for kate by doxygen 1.9.4
This website is maintained by Timothy Pearson.