Commit Graph

115 Commits

Author SHA1 Message Date
David Faure
3d0d287103 perl -pi -e 's/KGlobal::locale/KLocale::global/' ... 2012-09-03 23:09:27 +02:00
David Faure
ffdf930f8c Ran kdesdk/scripts/kf5/convert-kstandarddirs.pl 2012-06-12 12:59:34 +02:00
David Faure
0fd5c690c8 KStandardDirs::locate/locateLocal ported, by script, this time.
(kdesdk/scripts/kf5/convert-kstandarddirs.pl coming up)
2012-05-30 20:25:25 +02:00
Julien Desgats
a69cb53cc5 Fixed some QIcon and kiconloader compile errors for Plasma
Reviewed by: Kevin Ottens
2012-04-28 16:57:00 +02:00
David Faure
af211f7c93 KIcon("foo") -> KDE::icon("foo")
include kicon.h -> kiconloader.h, or often, nothing at all.
2012-04-28 13:17:42 +02:00
Claus Christensen
658fad620a Replaced KGlobal::config() by KSharedConfig::openConfig()
Remodified:   kded/kdedadaptor.cpp
2012-03-24 19:33:54 +01:00
Sune Vuorela
101a0b38f1 add some klocale includes to plasma to make it build 2012-03-24 11:51:32 +01:00
David Faure
9057ce0c70 Fix compilation with the new cmake automoc stuff. 2012-02-08 23:34:07 +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
aad3d107b4 get rid of the big lock -> nothing uses it and it's just asking for a crash-due-to-deletion 2011-11-14 10:34:01 +01:00
Aaron Seigo
82eee5c3b7 avoid compiling in debug strings when compiled without debug 2011-07-29 15:46:52 +02:00
Aaron Seigo
35898d57f1 get rid of all Class:load(..) methods, use PluginLoader directrly. --apiBloat; 2011-07-19 22:04:22 +02:00
Aaron Seigo
776fe21b83 adapt to Package merge: return a Package by reference rather than a pointer 2011-07-15 12:58:33 +02:00
Aaron Seigo
acbe5b960e const consistency in setupScript 2011-05-31 00:12:57 +02:00
Aaron Seigo
1ba57eb84c remove PackageMetadata usage 2011-05-31 00:07:13 +02:00
Aaron Seigo
be8b64f95c don't use PackageMetadata 2011-05-31 00:03:39 +02:00
Aaron Seigo
ef5e0a8884 get rid of deprecated methods 2011-05-26 23:02:15 +02:00
Aaron Seigo
983bacb8b7 pass by reference instead of a pointer 2011-05-20 09:01:12 +02:00
Aaron Seigo
48fa4d1db7 virtuals! 2011-05-20 08:57:33 +02:00
Aaron Seigo
8a41ab7051 comment not accurate afaict 2011-05-06 12:02:46 +02:00
Aaron Seigo
b35a4dd02c use the id() to build the config off of
this falls back to objectName but uses the pluginName first. more sensible.
2011-04-30 13:29:25 +02:00
Aaron J. Seigo
99b57b9c65 allow runners to signal that matching should be suspended for them
svn path=/trunk/KDE/kdelibs/; revision=1171157
2010-09-02 22:18:03 +00:00
Jaime Torres Amate
57bbfe755c delete some uneeded if (pointer not null)
http://reviewboard.kde.org/r/5021/

svn path=/trunk/KDE/kdelibs/; revision=1167869
2010-08-25 14:48:41 +00:00
Aaron J. Seigo
70fd5a6ae4 give init() a nicer default implmementation by calling reloadConfiguration
svn path=/trunk/KDE/kdelibs/; revision=1167529
2010-08-24 20:38:35 +00:00
Aaron J. Seigo
fb209051f2 inverted
svn path=/trunk/KDE/kdelibs/; revision=1106793
2010-03-23 22:54:01 +00:00
Aaron J. Seigo
b16960c73b allow loading of individual runners, including from packages
svn path=/trunk/KDE/kdelibs/; revision=1106782
2010-03-23 22:43:34 +00:00
Ivan Čukić
2e5064ca2f Changed method name
svn path=/trunk/KDE/kdelibs/; revision=1093946
2010-02-21 19:30:11 +00:00
Ivan Čukić
da3fcc1b67 Mime ddata support in runners
svn path=/trunk/KDE/kdelibs/; revision=1093881
2010-02-21 17:06:10 +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
Aaron J. Seigo
94da57f819 put dataEngine() support into AbstractRunner, joining the ranks of Applet, ContainmentActions, Wallpaper and the private PlasmoidService
svn path=/trunk/KDE/kdelibs/; revision=1051212
2009-11-19 00:19:11 +00:00
Petri Damstén
c80e22969c Implement missing actionsForMatch.
Review: http://reviewboard.kde.org/r/2180/

svn path=/trunk/KDE/kdelibs/; revision=1049917
2009-11-16 07:24:39 +00:00
Petri Damstén
5b2b221562 * Add translation support for runner and dataengine packages
* Use pladmoid package for runners too.

svn path=/trunk/KDE/kdelibs/; revision=1047782
2009-11-12 06:38:16 +00:00
Aaron J. Seigo
b9ea759162 split out the private class into its own file
svn path=/trunk/KDE/kdelibs/; revision=1047325
2009-11-11 00:25:27 +00:00
Petri Damstén
0244d72222 Add missing functions to RunnerScript.
Review: http://reviewboard.kde.org/r/2054/

svn path=/trunk/KDE/kdelibs/; revision=1045443
2009-11-06 06:33:24 +00:00
Aaron J. Seigo
3e7c2125a8 call init() in runner manager so all runners get it called
svn path=/trunk/KDE/kdelibs/; revision=1041873
2009-10-28 18:15:23 +00:00
Andreas Hartmetz
191256f279 don't forget to unlock that lock; hopefully fixes krunner hangs.
svn path=/trunk/KDE/kdelibs/; revision=1036628
2009-10-17 13:55:18 +00:00
Aaron J. Seigo
d8d346822e some light weight locking around the speed member
svn path=/trunk/KDE/kdelibs/; revision=1032959
2009-10-08 23:32:25 +00:00
Aaron J. Seigo
fad3e0814b move the elapsed time object into the performMatch method; this prevents access by multiple threads by putting a unique QTime object in each thread. thanks Hellgrind (and maelcum for running it)
svn path=/trunk/KDE/kdelibs/; revision=1032955
2009-10-08 23:23:52 +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
Ryan P. Bitanga
ef32813846 Move actionsFromMenu from AbstractRunner to plasma.h
svn path=/trunk/KDE/kdelibs/; revision=1002462
2009-07-26 02:51:21 +00:00
Ryan P. Bitanga
139c3abdc4 Ensure a menu pointer is passed to actionsFromMenu
svn path=/trunk/KDE/kdelibs/; revision=1002154
2009-07-25 08:09:26 +00:00
Ryan P. Bitanga
284bac4310 Add the convenience method for extracting actions from QMenus to AbstractRunner
svn path=/trunk/KDE/kdelibs/; revision=1002128
2009-07-25 04:42:52 +00:00
Aaron J. Seigo
88b5064525 remove an unused variable and initialize hasRunOptions
BUG:193017

svn path=/trunk/KDE/kdelibs/; revision=969403
2009-05-18 09:39:43 +00:00
Aaron J. Seigo
d7fdb6deb1 constification
svn path=/trunk/KDE/kdelibs/; revision=944561
2009-03-25 18:33:41 +00:00
Aaron J. Seigo
b2bb1b569c API review: clearSyntaxes gone; setSyntaxes in; small apidox fix
svn path=/trunk/KDE/kdelibs/; revision=944548
2009-03-25 17:41:15 +00:00
Aaron J. Seigo
acaa4108df provide a way for runners to define their syntax; may experience some small api shifts yet, but nothing major and it works.
svn path=/trunk/KDE/kdelibs/; revision=944088
2009-03-25 01:08:08 +00:00
Jacopo De Simoi
25a80b322c Create local copy of runnerContext in the runnerjob ctor
svn path=/trunk/KDE/kdelibs/; revision=938690
2009-03-12 17:25:13 +00:00
Jacopo De Simoi
0d12d6b3b8 Uff, I guess we will live with duplicates for some more time. My previous commit breaks krunner as it *only* runs stuff which is autocompleted. Will backrevert -
svn path=/trunk/KDE/kdelibs/; revision=935428
2009-03-05 06:02:11 +00:00
Aaron J. Seigo
dd4eeb685c dfaure is my hero for making sycoca stuff thread safe :)))
svn path=/trunk/KDE/kdelibs/; revision=935383
2009-03-04 23:09:16 +00:00