summaryrefslogtreecommitdiffstats
path: root/kxkb/kcmlayout.h
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2024-11-12 23:23:00 +0200
committerMavridis Philippe <[email protected]>2024-11-12 23:23:00 +0200
commit753873e6d73ffcf00199d31e084e6a96b9eb84e0 (patch)
treef9a04c6245200db777e2942ed9dc1fecd44d9a9e /kxkb/kcmlayout.h
parent71068b3b258a340be30a91c3a5af92718da70cdd (diff)
downloadtdebase-753873e6d73ffcf00199d31e084e6a96b9eb84e0.tar.gz
tdebase-753873e6d73ffcf00199d31e084e6a96b9eb84e0.zip
Kxkb: Improvements for tray window pixmap manager, optimize settings reloadings
* Rename LayoutIcon to LayoutIconManager for clarity * Remove use of singleton pattern for LayoutIconManager * Do not reload all Kxkb settings every time we are requested to get a pixmap! * Use pointer to global KxkbConfig instance instead of keeping own copy * Make "Transparent background" checkbox available for theme colors in the GUI * Minor code cleanup in LayoutIconManager * KxkbConfig: do not reload settings every time getKxkbOptions() is called; if settings actually need to be re-read, it must be done maunally before calling this function Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'kxkb/kcmlayout.h')
-rw-r--r--kxkb/kcmlayout.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kxkb/kcmlayout.h b/kxkb/kcmlayout.h
index db0f89690..256946ad1 100644
--- a/kxkb/kcmlayout.h
+++ b/kxkb/kcmlayout.h
@@ -11,6 +11,7 @@
class OptionListItem;
+class LayoutIconManager;
class LayoutConfigWidget;
class XkbRules;
@@ -52,6 +53,7 @@ protected slots:
void changed();
private:
+ LayoutIconManager *m_icoMgr;
LayoutConfigWidget* widget;
XkbRules *m_rules;