Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
registry.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: GPL-2.0-or-later
2
/*
3
* Authors:
4
* Ralf Stephan <ralf@ark.in-berlin.de>
5
*
6
* Copyright (C) 2005 Authors
7
*
8
* Released under GNU GPL v2+, read the file 'COPYING' for more information.
9
*/
10
#ifndef SEEN_INKSCAPE_UI_WIDGET_REGISTRY_H
11
#define SEEN_INKSCAPE_UI_WIDGET_REGISTRY_H
12
13
class
SPDesktop
;
14
15
namespace
Inkscape
{
16
namespace
UI {
17
namespace
Widget {
18
19
class
Registry
{
20
public
:
21
Registry
();
22
~Registry
();
23
24
bool
isUpdating
();
25
void
setUpdating
(
bool
);
26
27
SPDesktop
*
desktop
()
const
{
return
_desktop
; }
28
void
setDesktop
(
SPDesktop
*
desktop
);
29
30
protected
:
31
bool
_updating
;
32
33
SPDesktop
*
_desktop
=
nullptr
;
34
};
35
36
}
// namespace Dialog
37
}
// namespace UI
38
}
// namespace Widget
39
40
#endif
// SEEN_INKSCAPE_UI_WIDGET_REGISTRY_H
41
42
/*
43
Local Variables:
44
mode:c++
45
c-file-style:"stroustrup"
46
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
47
indent-tabs-mode:nil
48
fill-column:99
49
End:
50
*/
51
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :
Inkscape::UI::Widget::Registry
Definition
registry.h:19
Inkscape::UI::Widget::Registry::Registry
Registry()
Definition
registry.cpp:21
Inkscape::UI::Widget::Registry::desktop
SPDesktop * desktop() const
Definition
registry.h:27
Inkscape::UI::Widget::Registry::setUpdating
void setUpdating(bool)
Definition
registry.cpp:32
Inkscape::UI::Widget::Registry::_updating
bool _updating
Definition
registry.h:31
Inkscape::UI::Widget::Registry::isUpdating
bool isUpdating()
Definition
registry.cpp:26
Inkscape::UI::Widget::Registry::~Registry
~Registry()
Inkscape::UI::Widget::Registry::_desktop
SPDesktop * _desktop
Definition
registry.h:33
Inkscape::UI::Widget::Registry::setDesktop
void setDesktop(SPDesktop *desktop)
Definition
registry.cpp:37
SPDesktop
To do: update description of desktop.
Definition
desktop.h:149
Inkscape
Helper class to stream background task notifications as a series of messages.
Definition
actions-canvas-snapping.h:27
src
ui
widget
registry.h
Generated on Sun Jul 6 2025 04:02:06 for Inkscape by
1.9.8