Inkscape
Vector Graphics Editor
registry.cpp
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
11
#include "
registry.h
"
12
13
namespace
Inkscape
{
14
namespace
UI {
15
namespace
Widget {
16
17
//===================================================
18
19
//---------------------------------------------------
20
21
Registry::Registry
() : _updating(false) {}
22
23
Registry::~Registry
() =
default
;
24
25
bool
26
Registry::isUpdating
()
27
{
28
return
_updating
;
29
}
30
31
void
32
Registry::setUpdating
(
bool
upd)
33
{
34
_updating
= upd;
35
}
36
37
void
Registry::setDesktop
(
SPDesktop
*desktop)
38
{
//
39
_desktop
=
desktop
;
40
}
41
42
//====================================================
43
44
45
}
// namespace Dialog
46
}
// namespace UI
47
}
// namespace Inkscape
48
49
/*
50
Local Variables:
51
mode:c++
52
c-file-style:"stroustrup"
53
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
54
indent-tabs-mode:nil
55
fill-column:99
56
End:
57
*/
58
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :
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:150
Inkscape
CMYK to sRGB conversion routines.
Definition:
actions-canvas-snapping.h:27
registry.h
src
ui
widget
registry.cpp
Generated on Sun Apr 7 2024 04:01:34 for Inkscape by
1.9.4