Commit graph

35 commits

Author SHA1 Message Date
Ivailo Monev
eebedd4c76 kdeui: send locale and language change events from KGlobalSettings
the signals come from the locale KCM however applications, libraries and
widgets handling of such changes is mixed - some do it on
QEvent::LocaleChange, some on QEvent::LanguageChange, some when the
KGlobalSettings signal is send so sending the events will make sure that
locale changes take effect immediatly (when and wherethe event is watched
for ofcourse, KCalendarWidget does it for one)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-29 07:55:01 +03:00
Ivailo Monev
e978590acd generic: define KDE_DEFAULT_DEBUG_AREA in the main build file for each library
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-09 23:43:20 +03:00
Ivailo Monev
c778105bde kdeui: format and indent kglobalsettings source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-01-02 00:26:14 +02:00
Ivailo Monev
6b477ad3dc kdeui: merge KGlobalSettingsData into KGlobalSettings::Private
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-01-01 20:48:04 +02:00
Ivailo Monev
e3117700d8 kdeui: remove unused KGlobalSettings::allowDefaultBackgroundImages() method
unused, no GUI to disable/enable it and palettes use colors (altough QBrush
can hold a texture)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-01-01 20:02:17 +02:00
Ivailo Monev
7a67866279 kdeui: read the mouse button mapping from the correct config
the mouse KCM stores the value in kcminputrc, not kdeglobals

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-01-01 19:48:10 +02:00
Ivailo Monev
409253ab09 kdeui: enable complex animation effects by default if compositing manager is running
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-03 03:22:28 +02:00
Ivailo Monev
7d102a665e kdeui: remove FIXME
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-22 23:45:40 +02:00
Ivailo Monev
0ddd9e7046 kdeui: rewrite KGlobalSettings graphics effects level getter
why does a method named reloadStyleSettings reload graphics effects level
settings and not application style settings?

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-22 04:44:24 +02:00
Ivailo Monev
8cc2e71c91 kdeui: enable tear-off handles depending on the graphic effects level
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-21 23:39:15 +02:00
Ivailo Monev
1d760e4f09 kdeui: remove reference to non-existing KPopupTitle class
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-21 23:35:59 +02:00
Ivailo Monev
c43d9e8df7 kdeui: prepare for Katie changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-19 05:02:18 +02:00
Ivailo Monev
8358e51463 kdeui: remove redundant QFontInfo header inclusion in kglobalsettings source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-15 20:57:58 +02:00
Ivailo Monev
134d90ee06 kdecore: remove unused custom autostart path
the XDG path is be used instead, the custom autostart path was for programs
and scripts which is not feature mentioned in the spec

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-04 09:54:48 +02:00
Ivailo Monev
642042c30e kdeui: default to Oxygen_White as cursor theme
same default as the one in startkde script

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-03 10:37:03 +02:00
Ivailo Monev
dbb4526272 kdeui: apply cursor theme from KGlobalSettings::activate()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-03 01:55:59 +02:00
Ivailo Monev
889ae8d00f kdeui: simplify code for cursor theme setup
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-03 01:52:02 +02:00
Ivailo Monev
ad4cff3535 kdeui: apply style override only to GUI type applications
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-06-01 01:06:57 +03:00
Ivailo Monev
3596ccd22e kdeui: fallback to kcheckrunning as check for full session in KGlobalSettings constructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-26 09:04:59 +03:00
Ivailo Monev
f910886e6b kdeui: override application style like palette
this is done so that all application use the style set in the config
regardless if the platform plugin environment variable (QT_PLATFORM_PLUGIN)
is set in the current environment as the application may be a D-Bus service
and as such is not started by kdeinit4 for example

more changes are required to not rely on KDE_FULL_SESSION and perhaps even
more environment variables (kcheckrunning should be used instead) but that
is for another commit

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-26 08:49:51 +03:00
Ivailo Monev
926345627a generic: bump minimum Katie version requirement to 4.12.0
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-22 03:54:07 +03:00
Ivailo Monev
db9e41bf06 kdeui: reduce the size of default fonts table data
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-04-16 20:47:17 +03:00
Ivailo Monev
2308ca50cc generic: change default font families to DejaVu Sans and DejaVu Sans Mono
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-01-17 07:36:44 +02:00
Ivailo Monev
70001acb2c kdeui: add definitions for default fonts
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-01-17 07:10:52 +02:00
Ivailo Monev
9e104caaa4 kdeui: adjust to Katie changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-12-29 11:12:16 +02:00
Ivailo Monev
322c3f78cc generic: replace QDesktopServices with QStandardPaths and bump minimum Katie version required
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-11-21 18:06:49 +02:00
Ivailo Monev
5d2d39e853 generic: drop support for operating systems Katie does not support
replace internal definitions with Q_OS_<OS> alternatives checks while at it

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-25 04:48:18 +02:00
Ivailo Monev
c10a61a5c7 generic: KApplication cleanup
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-05-04 23:52:26 +00:00
Ivailo Monev
61333c4671 generic: namespaced Qt4/Katie build fixes
most of the changes were done trought Katie's namefsck script which
convertes forward class declarations to include directives, however
other fixes here and there were needed as well as some questionable
changes to Q_DECLARE_TYPEINFO() macro calls because they most likely
have to do the namespacing themselfs (QT_BEGIN/END_NAMESPACE, and
probably will be in Katie) meaning that some of the changes may be
temporary and reverted later.

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2017-08-04 09:24:39 +00:00
Ivailo Monev
21ad0df488 generic: make changes required for building against katie 2015-08-11 05:56:07 +03:00
Ivailo Monev
5333e9917d generic: remove deprecated API 2015-02-28 03:27:54 +00:00
Ivailo Monev
82fc15f54b generic: use CMake moc instead of automoc4 by default
for compatibilty reasons automoc4 support is not removed but it
shall be in the future. automoc4 has not been maintained for a
while (last commit is from 2011) and the stable release is from
2009.

CMake version >= 2.8.6 provides the functionality for mocking so
I see no reason to not make use of it.
2015-02-27 07:40:26 +00:00
Ivailo Monev
c7a2a17692 yet more windows and mac code remove 2014-11-19 15:30:39 +00:00
Ivailo Monev
c3f3bcb965 windows code remove 2014-11-19 15:17:14 +00:00
Ivailo Monev
814163a8dc initial import 2014-11-13 01:04:59 +02:00