David Faure
a2b502dbf4
Port the last uses of KMimeType. Only plasma/package.cpp is left...
2012-06-20 00:38:04 +02:00
David Faure
907c6c2b02
KStandardDirs => QStandardPaths
...
(mostly using kf5/convert-kstandarddirs.pl)
2012-06-05 01:16:35 +02:00
David Faure
657dcbb6dc
Revert "Port to const QRegExp behaviour."
...
This reverts commit 6e8f714e039e9e0b850304ba3df91ab2951a350b.
The Qt5 commit is going to be reverted, and this broke kreplacetest.
2012-05-04 17:31:51 +02:00
Stephen Kelly
54f790a2a5
Port to const QRegExp behaviour.
2012-04-29 12:18:30 +02:00
David Faure
2365f2c657
Some KUrl-QUrl porting.
2012-03-11 10:34:38 +01:00
David Faure
9057ce0c70
Fix compilation with the new cmake automoc stuff.
2012-02-08 23:34:07 +01:00
Stephen Kelly
51dafbe2e9
Use QUrl::scheme() instead of KUrl::protocol().
...
The former lowercases internally in Qt5, so no need
to rely on KUrl API.
2012-02-07 23:42:32 +01:00
Stephen Kelly
8d37df4b8f
Remove moc includes that can be omitted.
...
Mostly these are "<name>.moc" style includes which are incorrect
compared to qmake and cmake automoc behaviour.
2012-01-31 22:44:36 +01:00
Aaron Seigo
199e98ce5b
git rid of gratuitous query term
...
(obsoleted quite some time ago)
2011-10-03 19:54:51 +02:00
Aaron Seigo
82eee5c3b7
avoid compiling in debug strings when compiled without debug
2011-07-29 15:46:52 +02:00
Jacopo De Simoi
14ebf05e43
Saturates the relevance boost given to already run matches;
...
this avoids very commonly selected matches (e.g. konsole) to beat any other match even if the latter is in principle more relevant
svn path=/trunk/KDE/kdelibs/; revision=1128445
2010-05-19 09:51:21 +00:00
Aaron J. Seigo
8a059f5997
SVN_SILENT: pedantic spacing
...
svn path=/trunk/KDE/kdelibs/; revision=1099006
2010-03-04 22:27:03 +00:00
Aaron J. Seigo
32683cd664
initialComponents is unsigned, so can't -1 from it; just return if the components list is empty
...
BUG:227118
svn path=/trunk/KDE/kdelibs/; revision=1090799
2010-02-16 02:36:28 +00:00
Aaron J. Seigo
73cb722f17
http://, man:/, file:/// and file:// all work as expected
...
svn path=/trunk/KDE/kdelibs/; revision=1083259
2010-01-31 22:26:58 +00:00
Michael Pyne
1ae27ef35f
Forwardport KDE 4.4 bugfix for KRunner (bug 224204, ftp/http URLs don't open web browser)
...
to KDE 4.5. Patch reviewed by Marco Martin.
BUG:224204
svn path=/trunk/KDE/kdelibs/; revision=1083225
2010-01-31 21:22:13 +00:00
Michael Pyne
564d86e134
Fix bug 221371 in KDE 4.5 (man: and info: syntax no longer works in krunner)
...
svn path=/trunk/KDE/kdelibs/; revision=1073381
2010-01-12 04:14:32 +00:00
John Layt
6e9943e36c
krazy fixes, mostly include guards and copyright tags
...
svn path=/trunk/KDE/kdelibs/; revision=1066779
2009-12-27 22:16:11 +00:00
Aaron Charles Reichman
4c31342c2e
Fixed some spelling errors flagged by krazy
...
svn path=/trunk/KDE/kdelibs/; revision=1060866
2009-12-10 09:16:30 +00:00
Jacopo De Simoi
132b963dbe
Single runner mode in libplasma
...
svn path=/trunk/KDE/kdelibs/; revision=1053993
2009-11-25 09:37:47 +00:00
Jacopo De Simoi
dc295eca70
Add removeMatch(es) methods
...
Review: http://reviewboard.kde.org/r/2260
svn path=/trunk/KDE/kdelibs/; revision=1053618
2009-11-24 12:05:46 +00:00
Marco Martin
43bb2fe895
if a path doesn't have any slash is too ambiguous to be sure we're in filesystem context
...
svn path=/trunk/KDE/kdelibs/; revision=1052112
2009-11-20 20:01:32 +00:00
Aaron J. Seigo
5b548a7de8
* unlock what our d -was-, not what it is in operator=
...
* change the macros to make this feasible
svn path=/trunk/KDE/kdelibs/; revision=1048137
2009-11-12 19:52:41 +00:00
Aaron J. Seigo
fd6cd93e9d
prevent deadlocks
...
svn path=/trunk/KDE/kdelibs/; revision=1044840
2009-11-04 19:01:43 +00:00
Aaron J. Seigo
db3d20e4d0
make it assignable
...
svn path=/trunk/KDE/kdelibs/; revision=1044541
2009-11-04 00:21:55 +00:00
Aaron J. Seigo
b32e268e15
meh; can't move these files into a subdir as-is; need to think of a more clever strategy
...
svn path=/trunk/KDE/kdelibs/; revision=1019657
2009-09-04 08:58:34 +00:00
Aaron J. Seigo
b711b96ee0
runner infra into a subdir
...
svn path=/trunk/KDE/kdelibs/; revision=1019561
2009-09-03 21:21:27 +00:00
Laurent Montel
5c1bd9571b
const'ify
...
svn path=/trunk/KDE/kdelibs/; revision=992157
2009-07-06 11:37:02 +00:00
Ryan P. Bitanga
9b6304fcde
Add adaptive search for KRunner
...
svn path=/trunk/KDE/kdelibs/; revision=967705
2009-05-13 19:18:30 +00:00
Jacopo De Simoi
13dd4280f7
Finally constify isValid() [BIC]
...
svn path=/trunk/KDE/kdelibs/; revision=963116
2009-05-03 23:13:52 +00:00
Jacopo De Simoi
7e598b49ec
Invalidate the context using a dummy pointer instead of 0. This avoids emitting to a null pointer.
...
BUG: 188940
svn path=/trunk/KDE/kdelibs/; revision=957813
2009-04-22 22:50:20 +00:00
Laurent Montel
72e29219f2
use ref
...
svn path=/trunk/KDE/kdelibs/; revision=941649
2009-03-20 08:25:20 +00:00
Aaron J. Seigo
546895b775
time to introduce the ability for runners to decide if they care to that they should return early
...
svn path=/trunk/KDE/kdelibs/; revision=934729
2009-03-03 17:27:28 +00:00
Aaron J. Seigo
89e8786c5d
SVN_SILENT: some minor clean ups here and there
...
svn path=/trunk/KDE/kdelibs/; revision=934712
2009-03-03 16:44:35 +00:00
Jacopo De Simoi
235f81fa36
Added a stale flag to searchJobs; less pollution from old queries; fixed a misplaced brace in previous commit that made krunner unable to run any command :(
...
svn path=/trunk/KDE/kdelibs/; revision=934467
2009-03-03 08:02:13 +00:00
Aaron J. Seigo
a9ea89d812
case insensitive matching patch couresty of Diaa Sami
...
svn path=/trunk/KDE/kdelibs/; revision=917754
2009-01-28 14:09:36 +00:00
Aaron J. Seigo
2a8e07ba42
use value/contains better.
...
svn path=/trunk/KDE/kdelibs/; revision=895573
2008-12-11 02:52:06 +00:00
Aaron J. Seigo
fda8cf20d7
take the space location from the cleaned up path, not the original term
...
BUG:154395
svn path=/trunk/KDE/kdelibs/; revision=895431
2008-12-10 18:15:47 +00:00
Aaron J. Seigo
4b08c03726
change KDE includes to use the .h style now that we're in libs
...
svn path=/trunk/KDE/kdelibs/; revision=879795
2008-11-04 02:04:34 +00:00
Aaron J. Seigo
1b523b9054
ok, this time JUST the plasma dir ;)
...
svn path=/trunk/KDE/kdelibs/; revision=879759
2008-11-03 23:08:39 +00:00
Aaron J. Seigo
fa5a2d87d9
bum-de-dum! plasma to kdelibs.
...
svn path=/trunk/KDE/kdelibs/; revision=879757
2008-11-03 23:03:26 +00:00
Allen Winter
a7aebfa60a
a bunch more coding style fixes. still some lines longer than 100 chars.
...
this is definitely helping me find false positives in the Krazy style checker.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870161
2008-10-11 22:48:38 +00:00
Marijn Kruisselbrink
21b148b963
change all ClassName::Private classes to ClassNamePrivate, and adjust friends accordingly; this makes plasma compilable with gcc < 4.2
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=826893
2008-07-01 18:56:43 +00:00
Jakub Stachowski
795129a4ad
If path is a symlink then examine its target.
...
BUG: 163738
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=819655
2008-06-11 17:26:36 +00:00
Aaron J. Seigo
39230257f7
don't misidentify local files and network locations
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=818917
2008-06-10 01:08:33 +00:00
Thiago Macieira
3d0ddada81
Accept URLs that have no hostname (such as smb:/ and zeroconf:/) as
...
type NetworkLocation too.
This makes it possible to type zeroconf:/ in krunner and load the
associated program (Dolphin in my case), just like in KDE 3.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=812822
2008-05-26 13:21:06 +00:00
Aaron J. Seigo
a3d432d16d
fix deadlock
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809963
2008-05-19 19:58:06 +00:00
Aaron J. Seigo
2ec2a2b346
allow finding and running matches by id
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806697
2008-05-12 04:53:42 +00:00
Aaron J. Seigo
6019dc7b27
huge patch, but it's needed to avoid crashes and i can't wait on other people's pending work forever. so...
...
QueryMatch by value! shared dptr == no copy of data either! so (nearly) all the speed love of pointers with none of the crash hate. woo!
RunnerContext also by value! die pointers die!
also get rid of tons of locking that just doesn't make sense anymore; get rid of data priority enum as well since it's completely meaningless.
speed, glory, stability! ftw!
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805661
2008-05-09 03:49:11 +00:00
Aaron J. Seigo
f3188fb672
SearchMatch -> QueryMatch
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=803385
2008-05-02 18:46:05 +00:00
Aaron J. Seigo
a8647e4ecc
SearchTerm -> Query
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=803374
2008-05-02 18:17:09 +00:00