Skip to main content ::
::
KOffice API Docs
::
Skip to Link Menu
/
KOffice
/
API Docs
/
karbon
karbon
karbon
karbon_tool_registry.h
1
/*
2
Copyright (c) 2004 Boudewijn Rempt <boud@valdyas.org>
3
Copyright (c) 2005 Sven Langkamp <longamp@reallygood.de>
4
5
This library is free software; you can redistribute it and/or
6
modify it under the terms of the GNU Library General Public
7
License as published by the Free Software Foundation; either
8
version 2 of the License, or (at your option) any later version.
9
10
This library is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
Library General Public License for more details.
14
15
You should have received a copy of the GNU Library General Public License
16
along with this library; see the file COPYING.LIB. If not, write to
17
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18
* Boston, MA 02110-1301, USA.
19
*/
20
21
#ifndef KARBON_TOOL_REGISTRY_H_
22
#define KARBON_TOOL_REGISTRY_H_
23
24
#include <tqvaluevector.h>
25
#include <koffice_export.h>
26
class
TDEActionCollection;
27
class
VTool
;
28
class
KarbonView;
29
class
KarbonAbstractToolFactory;
30
34
class
KARBONBASE_EXPORT
KarbonToolRegistry
:
private
TQValueVector<KarbonAbstractToolFactory*>
35
{
36
public
:
37
virtual
~KarbonToolRegistry
();
38
39
static
KarbonToolRegistry
* instance();
40
41
void
createTools( TDEActionCollection * ac, KarbonView* view );
42
void
add(KarbonAbstractToolFactory* factory);
43
44
private
:
45
KarbonToolRegistry
();
46
KarbonToolRegistry
(
const
KarbonToolRegistry
&);
47
KarbonToolRegistry
operator=(
const
KarbonToolRegistry
&);
48
49
static
KarbonToolRegistry
*m_singleton;
50
};
51
52
#endif
// KARBON_TOOL_REGISTRY_H_
53
KarbonToolRegistry
A registry where new tool plugins can register themselves.
Definition
karbon_tool_registry.h:35
VTool
The base class for all karbon tools.
Definition
vtool.h:52
karbon
Skip menu "karbon"
Main Page
Class Hierarchy
Alphabetical List
Class List
File List
Class Members
karbon
Skip menu "karbon"
chalk
example
filters
interfaces
karbon
kchart
kdgantt
kexi
kformula
kivio
koshell
kplato
kpresenter
kspread
kword
lib