David Edmundson
62fb0d9e24
Don't use KConfig until after QApplication is created
...
Otherwise it creates a warning
10 years ago
Marco Martin
16cff54240
link to kf5quickaddons
...
since it's using qtquicksettings
10 years ago
David Edmundson
54652ce3a3
Remove QT_VERSION checks when we depend on a newer QT version anyway
10 years ago
David Edmundson
792ca1d648
Load QtQuickSettings
...
Reviewers: #plasma
Subscribers: plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D2588
10 years ago
Kai Uwe Broulik
b0940b6b6e
[KRunner] Set componentDisplayName for shortcuts
...
CHANGELOG: KRunner global shortcuts are listed in a "Run Command" category rather than "krunner"
Differential Revision: https://phabricator.kde.org/D2426
10 years ago
Martin Gräßlin
fa0b7a9463
Use new KWindowSystem platform check API
...
Summary:
Reduces code duplication and we always opperate on cached value, that
is the platform is only checked once in application life cycle.
Reviewers: #plasma, hein
Subscribers: plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D2342
10 years ago
David Edmundson
23f5907256
Reposition the krunner window if the width changes
...
This is mostly useful for the first run where the first showEvent()
happens whilst we have a width of 0.
10 years ago
David Edmundson
0cec97bd9d
Restore asynchronous QML object incubation in krunner
...
Summary:
Using KDeclrative::QmlObject::rootObject before it's created blocks the
thread until it finishes so that code always "works" - but displays a
warning and is slower.
We now no longer get a warning on startup.
Reviewers: #plasma
Subscribers: plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D2086
10 years ago
Kai Uwe Broulik
b22a742395
[KRunner] Disable high-dpi scaling
...
It uses Plasma components with their own scaling and they get confused
about Qt's scaling, so better just disable it for now.
Differential Revision: https://phabricator.kde.org/D1765
10 years ago
David Edmundson
22d2261ad0
Don't run krunner if the user isn't allowed to use it
...
Simplifies code a bit. Also prevents manually invoking krunner via DBus
if it's not allowed.
10 years ago
Kai Uwe Broulik
20c047036e
[KRunner] Remove duplicate call to QCommandLineParser::addVersionOption()
...
Qt is smart enough to add it only once but still unneccessary :)
10 years ago
Kai Uwe Broulik
bd11ce1f6e
[KRunner] Honor KAuthorized lineedit_text_completion
...
This key is supposed to disable auto completion for privacy reasons.
Differential Revision: https://phabricator.kde.org/D1601
10 years ago
Aleix Pol
71631906ba
Small cleanup
...
Remove unused includes
Use proper capitalization
10 years ago
Aleix Pol
96ff1c868e
Properly define overrides as suggested by the c++ standard
10 years ago
Kai Uwe Broulik
fce16a6e4c
[KRunner] Fix keep above
...
It seems Qt removes that hint after the show event if we manually set it but Qt's
own flag is not set. This fixes KRunner showing up behind eg. Yakuake
10 years ago
Martin Gräßlin
c6bb9347f0
[krunner] Make it work on Wayland
...
Checks whether a PlasmaShell interface is available, if so it listens
on PlatformSurface events to create/destroy a PlasmaShellSurface and on
move events the position is updated on the PlasmaShellSurface.
10 years ago
Martin Gräßlin
1dbaf2b8c5
[krunner] Don't call KWindowSystem::setState on every event
...
On Wayland that resulted in an endless recursion and also on X11 it's
a little bit too much to update the state on every event.
Let's only do it on the show event (as the comment states) and on
PlatformSurface created events.
10 years ago
Kai Uwe Broulik
87cc9e5ac0
[KRunner] Allow deleting individual entries from the history
...
This adds a "remove" button to each one of them
BUG: 359983
FIXED-IN: 5.7.0
10 years ago
Andreas Hartmetz
b5e814a7b2
Disable fallback session management (requires Qt >= 5.6.0).
...
This prevents processes from dying when session logout is cancelled.
Session restore is not an issue in these, it's disabled anyway.
10 years ago
l10n daemon script
c937f440b1
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
10 years ago
l10n daemon script
278ba70509
SVN_SILENT made messages (.desktop file)
10 years ago
l10n daemon script
b2173723ce
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
10 years ago
Kai Uwe Broulik
2dcd1e0bd8
[KRunner] Forward KRunner switchUser to new KSMServer user switcher
...
REVIEW: 126100
10 years ago
l10n daemon script
40f0461650
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
10 years ago
l10n daemon script
ed0ce07ac5
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
11 years ago
Montel Laurent
a007f294b4
Use new connect api + QStringLiteral
11 years ago
Vishesh Handa
eb5a68b20d
KRunner: Cleanup CMakeLists.txt
...
Unused crap. The global find_package finds what we need. This is just
useless duplication and it is not a complete list.
11 years ago
Vishesh Handa
d11efced2f
KRunner: Set the correct version number
...
Instead of 0.1
11 years ago
Vishesh Handa
981737000b
KRunner: Use KDBusService after parsing the command line params
...
This way --version and --help work even when krunner is already running.
Useful for determining the version number.
11 years ago
Heiko Becker
050c66bfb2
Use PATH_VARS feature of ecm_configure_package_config_file
...
This makes specifying absolute paths on the commandline that are then
encoded into the config file work.
Not hard-coding the packackage prefix is also helpful on a multiarch
layout where the prefix is /usr/${host} but arch-independent files
should still be installed to /usr/share (i.e a level below the
prefix).
REVIEW: 125844
11 years ago
l10n daemon script
80c1c7eada
SVN_SILENT made messages (.desktop file)
11 years ago
l10n daemon script
d3277e8269
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
11 years ago
l10n daemon script
ef8e9abb33
SVN_SILENT made messages (.desktop file)
11 years ago
l10n daemon script
6635cdc956
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
11 years ago
Kai Uwe Broulik
a9378b6e08
Store up to 50 history entries
...
This way auto completion is much more capable but we eventually will show
max. 20 items in the UI to be consistent with the other runners
11 years ago
Kai Uwe Broulik
1ce88d0ff2
Restore FreeFloating options
...
Apparently there are people actually using this
11 years ago
Kai Uwe Broulik
2d2a79390d
Bring back KRunner history
...
When a result is invoked, the query string is prepended to the history, query strings
are only added once. When KRunner is opened, the history will be displayed right away.
The old ComboBox approach caused bad usability because of two vertical lists conflicting
with each other.
REVIEW: 123888
11 years ago
Vishesh Handa
c81b745e5b
KRunner: hide the window on losing focus
...
BUG: 348431
FIXED-IN: 5.4
Reviewed-By: Aleix
11 years ago
David Rosca
eacc660109
Fix build
11 years ago
Bhushan Shah
0b7a607beb
set KAboutData in krunner
...
otherwise drkonqi will not be able to report crash on bugs.kde.org
Reviewed-By: d_ed
11 years ago
l10n daemon script
f8e40f16c2
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
11 years ago
Montel Laurent
5f9ae5e13c
We depend against kf5-5.8 => ecm > 1.6 => we can use new KDE_ variable
11 years ago
Lukáš Tinkl
65a3abb52d
remove checks for Qt 5.4 now that we hard depend on it
11 years ago
l10n daemon script
640f47fdd2
SVN_SILENT made messages (.desktop file)
11 years ago
l10n daemon script
2569d35ff4
SVN_SILENT made messages (.desktop file)
11 years ago
l10n daemon script
5e058803f7
SVN_SILENT made messages (.desktop file)
11 years ago
l10n daemon script
8e3c188f58
SVN_SILENT made messages (.desktop file)
11 years ago
l10n daemon script
99bd87a5ad
SVN_SILENT made messages (.desktop file)
11 years ago
l10n daemon script
5629da4cb1
SVN_SILENT made messages (.desktop file)
11 years ago
Lukáš Tinkl
9b07de80e4
fix krunner dialog being misplaced on external monitors
...
CCBUG: 338116
11 years ago