summaryrefslogtreecommitdiffstats
path: root/ksmserver/shutdown.cpp
Commit message (Collapse)AuthorAgeFilesLines
* ksmserver: Fix FTBFS when building without tdehw library.Slávek Banko2024-10-121-0/+2
| | | | | Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 2b6ca044662284548f3e870ecec450311e1f5aee)
* KSMServer: reload power-managerrc settings every time before they are neededMavridis Philippe2024-08-011-0/+2
| | | | | Signed-off-by: Mavridis Philippe <[email protected]> (cherry picked from commit 88a090066be5f7c0d9611b88eb8f27902e1409ed)
* KSMServer: improve suspend codeMavridis Philippe2024-08-011-34/+62
| | | | | | | | | | 1. Some code deduplication. Suspending is now handled via the public method `suspend(int)` which is DCOP-accessible and maps SuspendType values to corresponding TDEHWLib TDESystemPowerState values, and the internal method `suspendInternal(int)` which performs the chosen suspend and optionally locks the screen beforehand. 2. Options are now read from power-managerrc on startup and stored in memory to avoid reading the configuration file every time a suspend is requested. 3. SuspendType is now a member of KSMServer class (instead of KSMShutdownDlg) 4. A new DCOP-accessible method `suspendOptions()` returns a TQStringList of all available suspend options. Signed-off-by: Mavridis Philippe <[email protected]> (cherry picked from commit d88718ee027e329565d2d97c5cadde4aa1b83166)
* Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT definesMichele Calgaro2024-01-161-5/+5
| | | | | Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit a4241b7911d2e0b36edfb02f616b8b282050c0ec)
* Replace various '#define' strings - part 6Michele Calgaro2023-12-261-1/+1
| | | | | Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit c4a6487c827add9382001ff1892b8fb3bfa94682)
* Replace Qt with TQtMichele Calgaro2023-11-141-1/+1
| | | | | Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit b965cbac5b21345e9dfc768a7e4f660ffa4aa72f)
* Respect build option WITH_TDEHWLIB, otherwise it can lead to FTBFS in ↵Slávek Banko2021-05-181-2/+2
| | | | | | special cases. Signed-off-by: Slávek Banko <[email protected]>
* Conversion startkde -> starttde, exitkde -> exittde in r14-xdg-upd file and ↵Michele Calgaro2018-11-011-3/+3
| | | | | | related usage in code. This resolves bug 2282 and 2283. Signed-off-by: Michele Calgaro <[email protected]>
* ksmserver: Added support for hybrid suspend (aka suspend to RAM + suspend to ↵Michele Calgaro2016-04-241-9/+14
| | | | | | | | disk). This relates to bug 2601. Signed-off-by: Michele Calgaro <[email protected]>
* Allow contitional build with tdehwlibSlávek Banko2014-10-181-0/+4
| | | | Signed-off-by: Slávek Banko <[email protected]>
* If drkonqi launches during logout show it after 30 seconds have elapsedTimothy Pearson2014-10-051-4/+15
|
* Use the "confirm logout" option in KSMServer::logoutTimedFrancois Andriot2014-03-161-5/+12
|
* Fix screen sometimes not being hidden on power management action or desktop ↵Timothy Pearson2014-01-081-1/+1
| | | | | | switch Handle kdesktop_lock termination in a more sane manner by simply relaunching it if possible
* Add progress bar to logout status dialogMichele Calgaro2013-11-211-5/+11
| | | | This resolves Bug 1667
* Add support for freeze suspend stateSlávek Banko2013-09-221-0/+3
|
* Attempt to fix report of logout status dialog not appearing after client ↵Timothy Pearson2013-08-081-0/+7
| | | | | | interaction This relates to Bug 760
* Update tdehw-based media manager for new mount APITimothy Pearson2013-08-081-8/+10
| | | | | | Allow active VT to be queried from tdm Only display media notification messages on active VT Hide logout action buttons if logout process unstalls
* Fix logout dialog appearing during client interactionTimothy Pearson2013-08-081-1/+19
|
* Hide logout status dialog during Phase1 client interactionTimothy Pearson2013-08-061-0/+3
| | | | This relates to Bug 760
* Provide visual indication of SaveYourself hang protection timerTimothy Pearson2013-08-031-6/+41
| | | | | Reduce hang protection timer to 20 seconds This relates to Bug 760
* Provide more detail in logout dialog during SaveYourself-related tasksTimothy Pearson2013-07-311-0/+51
|
* Show program that is taking the longest to process the SmsDie request in the ↵Timothy Pearson2013-07-311-5/+23
| | | | | | logout status dialog Fix glitch in service termination
* Fix ksmserver crash when logout dialog is disabledTimothy Pearson2013-07-251-11/+17
|
* Do not show logout status dialog if the user has turned it off in their ↵Timothy Pearson2013-07-251-4/+6
| | | | configuration
* Allow the user to manually abort a stalled SaveYourself processTimothy Pearson2013-07-211-6/+74
| | | | This partially resolves Bug 760
* Beautify logout processTimothy Pearson2013-07-181-4/+18
|
* Fix premature termination of applications during shutdown on slow machinesTimothy Pearson2013-06-011-2/+10
|
* Add shutdown progress text and next program being terminated to shutdown dialogTimothy Pearson2013-05-161-11/+44
|
* Fix lock screen interaction with suspend/hibernateTimothy Pearson2013-05-071-1/+5
| | | | Use built-in premultiplied ARGB method
* Add cmake configure option to support ksmserver shutdown debugging timing ↵Darrell Anderson2013-04-261-2/+4
| | | | markers.
* Use TDE hardware library to authorize and control shutdown related session ↵Timothy Pearson2013-04-251-47/+59
| | | | | | options This resolves Bug 1071
* Fix long delay at session termination on certain systemsTimothy Pearson2013-04-241-17/+62
| | | | | This resolves Bug 760 Add shutdown profiling code and disable at compile time
* Rename additional header files to avoid conflicts with KDE4Timothy Pearson2013-02-151-4/+4
|
* Rename common header files for consistency with class renamingTimothy Pearson2013-02-141-1/+1
|
* Rename a number of libraries and executables to avoid conflicts with KDE4Timothy Pearson2013-01-271-1/+1
|
* Rename a number of libraries and executables to avoid conflicts with KDE4Timothy Pearson2013-01-261-1/+1
|
* Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4Timothy Pearson2013-01-251-6/+6
|
* Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4Timothy Pearson2013-01-241-5/+5
|
* Rename KApplication to TDEApplication to avoid conflicts with KDE4Timothy Pearson2013-01-201-27/+27
|
* Add check box control to enable/disable the session exit (feedback)Darrell Anderson2012-06-081-7/+7
| | | | | dialog box. This resolves bug report 681.
* Fix displaying of logout status dialog with manually triggered save sessionSlávek Banko2012-06-061-1/+1
| | | | This closes Bug 922
* Fix desktop lock not engaging on suspendTimothy Pearson2012-05-201-1/+42
| | | | This closes Bug 1003
* Fix fancy logout not allowing interaction with save dialogsTimothy Pearson2012-05-161-21/+22
| | | | | This closes Bug 922 Fix desktop wallpaper export failing when triggered by krootbacking or ksmserver and konsole or kdesktop_lock not previously loaded
* Revert "Rename a number of old tq methods that are no longer tq specific"Timothy Pearson2011-12-161-1/+1
| | | | This reverts commit 73c08b592db45af554b9f21029bc549d70f683ab.
* Rename a number of old tq methods that are no longer tq specificTimothy Pearson2011-12-151-1/+1
|
* Fix failure to resume from suspend/hibernate or simply clicking the Cancel ↵tpearson2011-10-081-0/+5
| | | | | | button on the shutdown screen... git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1257818 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
* Use new modal system nofitication dialog in kdebase smservertpearson2011-09-121-2/+2
| | | | | | | | Add fancy startup dialog to match the fancy shutdown dialog This is only used if the themed splash screen is turned off git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1253056 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
* Force windows with the modal system notification atom set to stay above ↵tpearson2011-09-101-3/+24
| | | | | | | | | | | other windows Enhance logout sequence appearance Add remote folder synchronization on logout support Fix flickering to black window with subsequent partial repaint of certain widgets occurring during fancy logout sequence git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1252640 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
* Add new _KDE_WM_MODAL_SYS_NOTIFICATION atom to disable ↵tpearson2011-09-091-1/+5
| | | | | | | | | menu/close/on-all-desktops buttons Improve the appearance of the TDE logout sequence using the new atom git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1252231 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
* Move krootbacking executable from kdeartwork to kdebasetpearson2011-08-271-4/+8
| | | | | | | | | Reenable HAL media manager Fix system tray with ARGB visuals (again) Beautify logout process git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1249834 283d02a7-25f6-0310-bc7c-ecb5cbfe19da