8#include "../decorationdefines.h"
10#include <QFontMetricsF>
12#include <kdecoration2/private/kdecoration2_private_export.h>
28class DecorationSettings;
30class KDECORATIONS_PRIVATE_EXPORT DecorationSettingsPrivate
33 virtual ~DecorationSettingsPrivate();
34 virtual bool isOnAllDesktopsAvailable()
const = 0;
35 virtual bool isAlphaChannelSupported()
const = 0;
36 virtual bool isCloseOnDoubleClickOnMenu()
const = 0;
39 virtual BorderSize borderSize()
const = 0;
40 virtual QFont font()
const;
43 DecorationSettings *decorationSettings();
44 const DecorationSettings *decorationSettings()
const;
47 int smallSpacing()
const;
48 int largeSpacing()
const;
49 void setGridUnit(
int unit);
50 void setLargeSpacing(
int spacing);
51 void setSmallSpacing(
int spacing);
54 explicit DecorationSettingsPrivate(DecorationSettings *parent);
58 const std::unique_ptr<Private> d;
Framework for creating window decorations.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:14:18 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.