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

kate

  • kate
  • interfaces
pluginconfiginterfaceextension.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 "pluginconfiginterfaceextension.h"
20 #include "pluginconfiginterfaceextension.moc"
21 
22 #include "plugin.h"
23 
24 namespace Kate
25 {
26 
27 class PrivatePluginConfigInterfaceExtension
28 {
29  public:
30  PrivatePluginConfigInterfaceExtension() {}
31  ~PrivatePluginConfigInterfaceExtension() {}
32 };
33 
34 }
35 
36 using namespace Kate;
37 
38 PluginConfigPage::PluginConfigPage ( TQWidget *parent, const char *name ) : TQWidget (parent, name) { }
39 
40 PluginConfigPage::~PluginConfigPage () { }
41 
42 unsigned int PluginConfigInterfaceExtension::globalPluginConfigInterfaceExtensionNumber = 0;
43 
44 PluginConfigInterfaceExtension::PluginConfigInterfaceExtension()
45 {
46  globalPluginConfigInterfaceExtensionNumber++;
47  myPluginConfigInterfaceExtensionNumber = globalPluginConfigInterfaceExtensionNumber++;
48 
49  d = new PrivatePluginConfigInterfaceExtension();
50 }
51 
52 PluginConfigInterfaceExtension::~PluginConfigInterfaceExtension()
53 {
54  delete d;
55 }
56 
57 unsigned int PluginConfigInterfaceExtension::pluginConfigInterfaceExtensionNumber () const
58 {
59  return myPluginConfigInterfaceExtensionNumber;
60 }
61 
62 PluginConfigInterfaceExtension *Kate::pluginConfigInterfaceExtension (Plugin *plugin)
63 {
64  if (!plugin)
65  return 0;
66 
67  return static_cast<PluginConfigInterfaceExtension*>(plugin->tqt_cast("Kate::PluginConfigInterfaceExtension"));
68 }
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.1
This website is maintained by Timothy Pearson.