From d048506bb65a3f77102f07f54c7bfc16c80e003e Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Thu, 10 Mar 2022 19:51:52 +0200 Subject: kxkb: transparent indicator background feature Signed-off-by: Mavridis Philippe --- kxkb/kxkbconfig.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kxkb/kxkbconfig.cpp') diff --git a/kxkb/kxkbconfig.cpp b/kxkb/kxkbconfig.cpp index a01fd6a0e..8e6890161 100644 --- a/kxkb/kxkbconfig.cpp +++ b/kxkb/kxkbconfig.cpp @@ -131,6 +131,7 @@ bool KxkbConfig::load(int loadMode) m_useThemeColors = config->readBoolEntry("UseThemeColors", false); m_colorBackground = config->readColorEntry("ColorBackground", new TQColor(TQt::gray)); + m_bgTransparent = config->readBoolEntry("BgTransparent", false); m_colorLabel = config->readColorEntry("ColorLabel", new TQColor(TQt::white)); m_labelFont = config->readFontEntry("LabelFont", new TQFont("sans", 10, TQFont::Bold)); m_labelShadow = config->readBoolEntry("LabelShadow", true); @@ -230,6 +231,7 @@ void KxkbConfig::save() config->writeEntry("UseThemeColors", m_useThemeColors); config->writeEntry("ColorBackground", m_colorBackground); + config->writeEntry("BgTransparent", m_bgTransparent); config->writeEntry("ColorLabel", m_colorLabel); config->writeEntry("LabelFont", m_labelFont); config->writeEntry("LabelShadow", m_labelShadow); -- cgit v1.2.1