Commit graph

18 commits

Author SHA1 Message Date
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