Commit graph

40 commits

Author SHA1 Message Date
Martin Gräßlin
9706da58e3 Port KWin Killer away from deprecated functionality
* KApplication -> QApplication
* Qt::escape -> QString::toHtmlEscaped
* KDebug -> QDebug

In addition it uses KMessageBox::warningContinueCancelWId from
KInterProcessWindowing as we have the window id.

KCmdLineArgs is still used as the replacement is still in
kdeqt5staging.
2013-08-15 11:46:53 +02:00
Martin Gräßlin
6bdbae0277 Switch kwin/killer to XCB
No longer need to link XLib and doesn't use anything except defines
anyway.
2013-07-24 09:58:42 +02:00
Martin Gräßlin
0dc344ee2c KAuth::Action::setHelperID -> setHelperId 2013-07-24 09:58:42 +02:00
Martin Gräßlin
3d6480d32b KMessageBox::warningContinueCancelWId does no longer exist
Let's try without WId and use QWidget::find(WId) instead.
2013-07-24 09:58:42 +02:00
Martin Gräßlin
330d40f425 Fix no cast to/from ASCII intrduced issues
* "" needs to be wrapped in QStringLiteral
* QString::fromUtf8 needed for const char* and QByteArray
* QByteArray::constData() needed to get to the const char*
2013-07-24 09:58:33 +02:00
Aurélien Gâteau
9aea91166b Improve kwin_killer_helper dialog
Simplify dialog text, using different text for local and remote
processes.

Replace "KWin" in the dialog name with "Window Manager".

REVIEW: 110363
2013-05-16 09:39:11 +02:00
Martin Gräßlin
d0cd0b1ce2 Add missing KIcon include 2013-03-15 15:44:08 +01:00
Martin Gräßlin
60c42b7a34 s/KLocale/KLocalizedString/g
Many headers included KLocale to use i18n and co. But those methods are
defined in KLocalizedString and not in KLocale.

With KF5 klocale.h does no longer include KLocalizedString causing lots
of compile errors.
2013-03-07 13:59:15 +01:00
Martin Gräßlin
ea8db29c2b Escape HTML tags in window caption in Aurorae and Killer
The unescaped tags are interpreted as HTML by Aurorae decorations
and the KWin killer. Escaping the tags ensures that the text is not
rendered incorrectly.

BUG: 293657
FIXED-IN: 4.9.0
REVIEW: 104989
2012-05-19 11:56:35 +02:00
Martin Gräßlin
75d0b8403f Add KAuth support to KWin process killer
See http://svn.reviewboard.kde.org/r/4460/
Thanks to Mikael Gerdin for the patch.
CCMAIL: mikael.gerdin@gmail.com
FEATURE: 129476
FIXED-IN: 4.7.0
2011-03-07 18:03:28 +01:00
Martin Gräßlin
0a7e48f7aa KWin uses kdelibs coding style. 2011-01-31 20:07:03 +01:00
Martin Gräßlin
e32fd9e0cd Use kwin icon in the killer helper window.
BUG: 210172

svn path=/trunk/KDE/kdebase/workspace/; revision=1072707
2010-01-10 19:32:57 +00:00
Stephan Binner
35f7ad4ad4 i18n style guide fix
svn path=/trunk/KDE/kdebase/workspace/; revision=1014249
2009-08-22 06:08:08 +00:00
Andrew Coles
8cc4b8fd44 SVN_SILENT
Exclamation point squishing.


svn path=/trunk/KDE/kdebase/workspace/; revision=961868
2009-04-30 20:50:56 +00:00
Marcel Partap
4072d108b1 Rework killer confirmation dialog to make it more obvious that continuing can quite certainly be destructive to the user's data.
GUI

svn path=/trunk/KDE/kdebase/workspace/; revision=961044
2009-04-29 13:42:53 +00:00
Malcolm Hunter
be582d3a1a Typo fixes
svn path=/trunk/KDE/kdebase/workspace/; revision=798922
2008-04-19 22:36:47 +00:00
Luboš Luňák
ba024133df Don't use localized number format for PID, it looks odd.
svn path=/trunk/KDE/kdebase/workspace/; revision=784838
2008-03-12 15:15:29 +00:00
Aaron J. Seigo
b9c69f425b various ebn fixes (markup, uninling, QString())
svn path=/trunk/KDE/kdebase/workspace/; revision=692765
2007-07-26 07:51:16 +00:00
Chusslove Illich
bdb46a1769 Interface modifications to KCmdLineArgs, KAboutData and KComponentData; BIC, SIC. Most of the depending code has been auto-converted to new API.
svn path=/trunk/KDE/kdebase/workspace/; revision=682259
2007-07-02 08:49:20 +00:00
Laurent Montel
a38f0d95e1 K3Process--
svn path=/trunk/KDE/kdebase/workspace/; revision=676771
2007-06-17 17:09:40 +00:00
Luboš Luňák
f52b8e48cd branches/work/kwin_composite becomes new trunk kwin.
svn path=/trunk/KDE/kdebase/workspace/; revision=659202
2007-04-29 17:35:43 +00:00
Luboš Luňák
2b7e1f4993 Remove kwin, kwin_composite will become new trunk kwin, missing merges
from trunk will be merged in.


svn path=/trunk/KDE/kdebase/workspace/; revision=659200
2007-04-29 17:34:49 +00:00
Luboš Luňák
10ea80a963 KWin/KWinModule -> KWM
svn path=/trunk/KDE/kdebase/workspace/; revision=649608
2007-04-02 21:30:50 +00:00
Oswald Buddenhagen
3ee016f50d KProcess -> K3Process
KShellProcess -> K3ShellProcess
KProcIO -> K3ProcIO
KProcessController -> K3ProcessController

not deprecating, as we don't have a replacement yet.
not moving yet, as kdelibs still has heavy dependencies on it.

agreed upon with dfaure.


svn path=/trunk/KDE/kdebase/workspace/; revision=646732
2007-03-26 15:07:10 +00:00
Will Entriken
4a9f1e5b0d construct KGuiItem(QString) explicitly
svn path=/trunk/KDE/kdebase/workspace/; revision=583808
2006-09-13 15:05:55 +00:00
Hamish Rodda
77bc9cd63d Merging in from bleeding edge kdebase branch
- i18n ported
- KAccel removed
- Some fixes for OS X

svn path=/trunk/KDE/kdebase/workspace/; revision=528190
2006-04-10 11:57:13 +00:00
Laurent Montel
a48328e5bc QString::null->QString()
.clear()
etc

svn path=/trunk/KDE/kdebase/workspace/; revision=493536
2006-01-02 16:27:55 +00:00
Stephan Kulow
7a441e1b7a the easy cases
svn path=/trunk/KDE/kdebase/workspace/; revision=466852
2005-10-03 15:13:54 +00:00
Laurent Montel
fef1c0b279 Byebye qvhbox
svn path=/trunk/KDE/kdebase/workspace/; revision=461727
2005-09-18 14:52:14 +00:00
Stephan Kulow
b464518b3c svn merge svn+ssh://coolo@svn.kde.org/home/kde/trunk/KDE/kdebase@438057
svn+ssh://coolo@svn.kde.org/home/kde/branches/work/kde4/kdebase
          .

I couldn't resolve one kicker conflict that results from different
development directions, so I rely on Aaron to sort it out - the file
is commited with conflicts

svn path=/trunk/KDE/kdebase/kwin/; revision=439627
2005-07-28 14:59:42 +00:00
Stephan Binner
5cdfe8100a Replaced several Yes/No dialog buttons
svn path=/trunk/KDE/kdebase/kcontrol/; revision=432857
2005-07-08 19:31:49 +00:00
Andrew Coles
75db450e8b Finished correcting typos in kdebase, phew!
Andrew

svn path=/trunk/kdebase/ksysguard/; revision=312639
2004-05-19 14:32:18 +00:00
Luboš Luňák
b3547b4059 Access the static method directly (not that it wouldn't work via NULL pointer).
svn path=/trunk/kdebase/kwin/; revision=291219
2004-02-25 10:00:37 +00:00
Luboš Luňák
9ace7a3634 Fix i18n.
CCMAIL: 72239-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=290910
2004-02-24 13:32:39 +00:00
Luboš Luňák
7d10a9a2c9 Let's use SIGKILL instead of just SIGTERM. The user has to explicitly
confirm killing the app anyway, and some stuck apps might not exit on SIGTERM.

svn path=/trunk/kdebase/kwin/; revision=261231
2003-10-23 09:29:00 +00:00
Malcolm Hunter
b3144663fd CVS_SILENT Typographical corrections and changes
svn path=/trunk/kdebase/kwin/; revision=261100
2003-10-22 16:57:59 +00:00
Luboš Luňák
52cb814d32 Make the killer dialog transient for the nonresponding window.
svn path=/trunk/kdebase/kwin/; revision=260985
2003-10-22 08:18:04 +00:00
Luboš Luňák
a77da4851e Use KApplication::updateUserTimestamp() instead of trying to set it
directly on the dialog.

svn path=/trunk/kdebase/kwin/; revision=258581
2003-10-13 16:18:24 +00:00
Luboš Luňák
c8c1c6c764 Since the messages are in kwin's .po file, I guess this is needed.
svn path=/trunk/kdebase/kwin/; revision=254815
2003-09-29 11:21:28 +00:00
Luboš Luňák
0ef8354c30 Merging back the process killing helper from kwin_iii to HEAD.
svn path=/trunk/kdebase/kwin/; revision=251615
2003-09-16 19:32:34 +00:00