Commit graph

34 commits

Author SHA1 Message Date
Ivailo Monev
f4c2f5c84e generic: drop stylesheet support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-16 04:31:21 +03:00
Ivailo Monev
3b22af1d92 plasma: mark Plasma::View::trackContainmentChanges() as const
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-31 00:07:56 +03:00
Ivailo Monev
ac36e123ec generic: remove redundant X11 checks and headers inclusions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-10 22:04:39 +03:00
Ivailo Monev
fc2a026d2e plasma: use KSharedConfig instead of compiling config class and update cache settings on config change
also initializing Plasma::ThemePrivate::toolTipDelay member just in case

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-02 13:51:31 +03:00
Ivailo Monev
0fcbeab9fb plasma: drop JS animations
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-05-21 21:44:37 +03:00
Ivailo Monev
a3d14ed9f8 plasma: query KWindowSystem directly for the compositor state
because Plasma::Theme (and Plasma::ThemePrivate indirectly) may be created
before QCoreApplication/QApplication instance by Theme::defaultTheme()
and application instance is required for QX11Info::display() to return
non-null (which KWindowSystem uses but has fallback in case it is null
in KWindowSystem::compositingActive())

note that KWindowSystem::compositingActive() returns cached value if
XFixes is available

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-06 10:27:10 +02:00
Ivailo Monev
148110f398 generic: drop locolor support
`apt-file` search yeilds 221 files matching (8 packages provide such),
it is also unused by plasma even tho there are leftovers from support for it

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-05 01:30:27 +02:00
Ivailo Monev
b63686e9d0 generic: prepare for Katie changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-09 04:43:56 +02:00
Ivailo Monev
d88d74f0c9 plasma: remove unused header inclusion
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-05 12:56:51 +02:00
Ivailo Monev
d37ea70af9 plasma: remove redundant connection to QCoreApplication::aboutTOQuit() signal
at the point where the application is about to exit it is not safe to even
access the global static (by calling Plasma::Theme::defaultTheme()) since
it will be deleted

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-05 04:22:58 +02:00
Ivailo Monev
9b07290ada kdeui: prefix HOME_URL, BUG_REPORT_URL and BUG_REPORT_EMAIL definitions with "KDE_"
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-03 16:25:13 +03:00
Ivailo Monev
096b62f757 generic: minor optimizations
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-20 13:41:05 +03:00
Ivailo Monev
ae32b6c66d generic: add HOME_URL to kglobalsettings header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-20 03:59:30 +03:00
Ivailo Monev
7064a39ed0 plasma: better cache lookup
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-03-02 05:08:23 +02:00
Ivailo Monev
0c830ac352 plasma: save and load cache pixmaps in Katie's default image format
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-28 02:37:04 +02:00
Ivailo Monev
36a84c78c8 plasma: remove reference to non-existing theme
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-01-19 11:20:48 +02:00
Ivailo Monev
e7c722c044 plasma: search for image in translucent sub-directory when compositor is active
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-08-19 15:19:54 +03:00
Ivailo Monev
df60147c5f plasma: format and indent
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-29 17:16:43 +03:00
Ivailo Monev
3bf6381837 plasma: remove methods related to removed KWin effects
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-18 22:48:50 +03:00
Ivailo Monev
a327b2930b Revert "plasma: use reasonable maximum cache cost when build against Katie"
QCache changed reverted in Katie

This reverts commit 36e33c8c9f.
2021-01-09 10:07:20 +02:00
Ivailo Monev
36e33c8c9f plasma: use reasonable maximum cache cost when build against Katie
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-01 06:01:47 +00:00
Ivailo Monev
127a46f99c plasma: fix theme change not taking effect in rare cases
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-06-11 15:43:34 +00:00
Ivailo Monev
aede58befc generic: reimplement KDirWatch
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-05-29 12:18:09 +00:00
Ivailo Monev
fbf3973d05 generic: replace QLatin1Literal with QLatin1String
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-10-30 02:26:10 +00:00
Ivailo Monev
1e3b872a26 generic: get rid of the QStringBuilder requirement
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-10-29 05:06:31 +00:00
Ivailo Monev
718725941c generic: get rid of the effects watcher specific to Plasma
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-08-29 19:39:11 +00:00
Ivailo Monev
c6f33f23aa generic: get rid of KImageCache and KSharedDataCache
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-05 03:48:27 +00:00
Ivailo Monev
dcd602e9d6 plasma: revert animations support removal 2015-10-28 08:55:23 +02:00
Ivailo Monev
636f904183 generic: optimize standard directories lookup
by caching results and storing them in a hash the results should
flow faster, a limit should probably be set on this but for now
there isn't. exists() and realPath() now cannot be called without
object!
2015-10-17 18:53:50 +03:00
Ivailo Monev
f54c727f92 plasm: drop animations support
this will (most importantly) break some applets from kde-workspace
and could use a review + some cleanups (like headers inclusions,
variables declarations, etc.) but it's pretty much complete
2015-10-05 09:23:56 +03:00
Ivailo Monev
69f2daf774 generic: code shrinks 2015-09-28 15:50:22 +00:00
Ivailo Monev
21ad0df488 generic: make changes required for building against katie 2015-08-11 05:56:07 +03: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
814163a8dc initial import 2014-11-13 01:04:59 +02:00