• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • krita API Reference
  • KDE Home
  • Contact Us
 

KritaWidgets

  • sources
  • kfour-appscomplete
  • krita
  • libs
  • widgets
KoResourceServerProvider.h
Go to the documentation of this file.
1 /* This file is part of the KDE project
2 
3  SPDX-FileCopyrightText: 1999 Matthias Elter <[email protected]>
4  SPDX-FileCopyrightText: 2003 Patrick Julien <[email protected]>
5  SPDX-FileCopyrightText: 2005 Sven Langkamp <[email protected]>
6 
7  SPDX-License-Identifier: LGPL-2.1-or-later
8  */
9 
10 #ifndef KORESOURCESERVERPROVIDER_H
11 #define KORESOURCESERVERPROVIDER_H
12 
13 #include <kritawidgets_export.h>
14 
15 #include <QThread>
16 
17 #include <WidgetsDebug.h>
18 
19 #include "KoResourceServer.h"
20 #include <resources/KoPattern.h>
21 #include <resources/KoAbstractGradient.h>
22 #include <resources/KoColorSet.h>
23 #include <resources/KoSvgSymbolCollectionResource.h>
24 #include <resources/KoGamutMask.h>
25 #include <config-seexpr.h>
26 #if defined HAVE_SEEXPR
27 #include <resources/KisSeExprScript.h>
28 #endif
29 
33 class KRITAWIDGETS_EXPORT KoResourceServerProvider : public QObject
34 {
35  Q_OBJECT
36 
37 public:
38  KoResourceServerProvider();
39  ~KoResourceServerProvider() override;
40 
41  static KoResourceServerProvider* instance();
42 
43  static KoResourceServer<KoPattern> *patternServer();
44  static KoResourceServer<KoAbstractGradient> *gradientServer();
45  static KoResourceServer<KoColorSet> *paletteServer();
46  static KoResourceServer<KoSvgSymbolCollectionResource> *svgSymbolCollectionServer();
47  static KoResourceServer<KoGamutMask> *gamutMaskServer();
48 #if defined HAVE_SEEXPR
49  static KoResourceServer<KisSeExprScript> *seExprScriptServer();
50 #endif
51 
52 private:
53  KoResourceServerProvider(const KoResourceServerProvider&);
54  KoResourceServerProvider operator=(const KoResourceServerProvider&);
55 
56 private:
57  struct Private;
58  Private* const d;
59 };
60 
61 #endif // KORESOURCESERVERPROVIDER_H
QObject
WidgetsDebug.h
Private
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jan 19 2021 23:44:00 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KritaWidgets

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

krita API Reference

Skip menu "krita API Reference"
  • libs
  •   KritaBasicFlakes
  •   brush
  •   KritaUndo2
  •   KritaFlake
  •   image
  •   KritaPlugin
  •   Krita
  •   KritaPigment
  •   KritaResources
  •   KritaStore
  •   ui
  •   KritaWidgets
  •   KritaWidgetUtils
  • plugins
  •   Assitants
  •   Extensions
  •   Filters
  •   Generators
  •   Formats
  •           src
  •   PaintOps
  •     libpaintop

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal