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

kate

  • kate
  • interfaces
pluginconfiginterface.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 "pluginconfiginterface.h"
20
21#include "plugin.h"
22
23namespace Kate
24{
25
26class PrivatePluginConfigInterface
27{
28 public:
29 PrivatePluginConfigInterface() {}
30 ~PrivatePluginConfigInterface() {}
31};
32
33}
34
35using namespace Kate;
36
37unsigned int PluginConfigInterface::globalPluginConfigInterfaceNumber = 0;
38
39PluginConfigInterface::PluginConfigInterface()
40{
41 globalPluginConfigInterfaceNumber++;
42 myPluginConfigInterfaceNumber = globalPluginConfigInterfaceNumber++;
43
44 d = new PrivatePluginConfigInterface();
45}
46
47PluginConfigInterface::~PluginConfigInterface()
48{
49 delete d;
50}
51
52unsigned int PluginConfigInterface::pluginConfigInterfaceNumber () const
53{
54 return myPluginConfigInterfaceNumber;
55}
56
57PluginConfigInterface *Kate::pluginConfigInterface (Plugin *plugin)
58{
59 if (!plugin)
60 return 0;
61
62 return static_cast<PluginConfigInterface*>(plugin->tqt_cast("Kate::PluginConfigInterface"));
63}
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.