24 Commits

Author SHA1 Message Date
Craig Drummond
b6bd94c236 Update (c) year 2022-01-08 21:24:07 +00:00
Craig Drummond
11bb7571c9 Update (c) year 2021-01-01 10:06:43 +00:00
Thomas Uhle
1d25d0dbfc Use QGuiApplication::applicationDisplayName() as application name
Using a consistent spelling of the application name (w.r.t. case-sensitivity)
whenever communicating with the desktop environment is common practice to
always have the same name displayed (as window title, in a window switcher
dialog, etc.). That is also what already has been done in Notify::show().
2020-06-06 18:55:36 +02:00
Thomas Uhle
9f5e3bfa33 Additionally call Inhibit() from org.freedesktop.login1.Manager
to also support desktop environments that do not provide
org.freedesktop.PowerManagement.Inhibit (newer GNOME releases for instance).
2020-06-06 18:30:05 +02:00
Thomas Uhle
4599a49484 Fix bus name of freedesktop.org's power management
While the interface name truely is 'org.freedesktop.PowerManagement.Inhibit',
its bus name is yet just 'org.freedesktop.PowerManagement'.
2020-06-06 18:00:16 +02:00
Craig Drummond
d7b3965b9b Update (c) year 2020-01-01 11:51:13 +00:00
Craig Drummond
cb9efe205f Update (c) year 2019-09-15 15:56:58 +01:00
Craig Drummond
eff0e66d39 Use AUTOMOC 2018-03-07 19:04:14 +00:00
Craig Drummond
2139d3dbb8 Update (c) year 2018-01-01 10:11:39 +00:00
Craig Drummond
b63c6fbe26 Use Qt5's translation framework - ts files, not po files. 2017-04-08 10:35:31 +01:00
Craig Drummond
0a73215867 Update (c) year 2017-04-02 18:45:30 +01:00
Craig Drummond
a517bf4f17 Remove KDE4 and Ubuntu Touch support 2017-04-01 22:55:27 +01:00
Craig Drummond
705648420a Update (c) year 2016-01-08 18:55:13 +00:00
Craig Drummond
9533f12881 Update (c) year 2015-08-13 21:12:34 +01:00
craig.p.drummond
93b70ec240 Rename mpd source folder to mpd-interface to help build errors when libmpdclient(?) is also installed.
BUG: 650
2015-03-16 19:18:52 +00:00
craig.p.drummond
190670a986 For Linux non-KDE builds, use login1 interface to detect system resuming. 2015-02-04 21:59:29 +00:00
craig.p.drummond
64c06773ce Alter includes to have su-folder - e.g. utils.h -> support/utils.h 2014-05-13 18:37:52 +00:00
craig.p.drummond
7bcb40d159 Use Q_GLOBAL_STATIC for Qt only builds 2014-03-17 19:52:47 +00:00
craig.p.drummond
810abcf4f4 Correct assignment!!!! :-( 2014-01-08 19:48:29 +00:00
craig.p.drummond
addfca835a Update (c) year 2014-01-06 19:32:05 +00:00
craig.p.drummond@gmail.com
aaaf3ee6c4 Clean up inhibit code, place logic into powermanagement class. 2013-09-03 11:25:23 +00:00
craig.p.drummond@gmail.com
7398456bf2 Inhibit suspend if this is enabled whilst playing 2013-09-03 11:16:45 +00:00
craig.p.drummond@gmail.com
e86bfa8f6a Fix KDE compile 2013-09-03 11:14:09 +00:00
craig.p.drummond
b1b0b8a294 Add option to prevent system from suspending whilst playing (Linux only). 2013-09-02 18:25:54 +00:00