Commit Graph

330 Commits

Author SHA1 Message Date
Aaron J. Seigo
b03d2dc7bd most calls don't care if the widget has a layout, so make this behaviour controllable by the caller
svn path=/trunk/KDE/kdebase/runtime/; revision=1097162
2010-02-28 15:32:21 +00:00
Aaron J. Seigo
3ce97e4d1d until there is a better solution (e.g. one that doesn't lead to crashes due to dangling pointers in random QScriptValue objects), don't quietly add layouts to existing QGraphicsWidgets that already have a layout
svn path=/trunk/KDE/kdebase/runtime/; revision=1097160
2010-02-28 15:13:54 +00:00
Aaron J. Seigo
320d5f8f69 misnamed
svn path=/trunk/KDE/kdebase/runtime/; revision=1095395
2010-02-24 08:15:10 +00:00
Aaron J. Seigo
befcae6884 minimal icon bindings, makes Plasma::IconWidget actually useful
svn path=/trunk/KDE/kdebase/runtime/; revision=1095318
2010-02-24 00:35:37 +00:00
Richard Dale
d89fab4a41 * Allow Containment plasmoids to be installed
svn path=/trunk/KDE/kdebase/runtime/; revision=1095293
2010-02-23 23:11:26 +00:00
Aaron J. Seigo
16cd227083 fix the extraction of the layout items
svn path=/trunk/KDE/kdebase/runtime/; revision=1094811
2010-02-23 09:41:14 +00:00
Aaron J. Seigo
82d8d472b9 rowspan, colspan and alignment
svn path=/trunk/KDE/kdebase/runtime/; revision=1094761
2010-02-23 08:19:13 +00:00
Richard J. Moore
cc5c47e270 A fairly large patch, but mostly moving things. In order to allow
us to use QScriptEngines from other sources (such as QML) we need
to change the code so that we don't have a custom QScriptEngine
subclass - only one codebase can do that at a time. The scriptenv
is now a normal QObject and contains a QScriptEngine instead of
inheriting from it.

svn path=/trunk/KDE/kdebase/runtime/; revision=1094259
2010-02-22 11:33:21 +00:00
Aaron J. Seigo
c58131cd40 don't show progress; this is usually completely unwaranted
svn path=/trunk/KDE/kdebase/runtime/; revision=1091914
2010-02-17 21:38:39 +00:00
Aaron J. Seigo
5ba47f8c6d these are not getters
svn path=/trunk/KDE/kdebase/runtime/; revision=1091416
2010-02-16 21:18:40 +00:00
Aaron J. Seigo
66d58f1229 show file name in error message; can't backport this to the 4.4 branch since it changes a translated string, will do something slightly different in the 4.4 branch instead.
BUG:227137

svn path=/trunk/KDE/kdebase/runtime/; revision=1091105
2010-02-16 17:48:54 +00:00
Aaron J. Seigo
ce64431653 QRectF, so it can be used in the bindings
svn path=/trunk/KDE/kdebase/runtime/; revision=1090779
2010-02-16 00:10:30 +00:00
Aaron J. Seigo
361ffdbbb9 register the animation enums
svn path=/trunk/KDE/kdebase/runtime/; revision=1090654
2010-02-15 18:08:32 +00:00
Aaron J. Seigo
d0c51018c0 unecessary
svn path=/trunk/KDE/kdebase/runtime/; revision=1090651
2010-02-15 18:03:25 +00:00
Aaron J. Seigo
58c8a6cc0a share the dataengine bindings between applet and dataengine
svn path=/trunk/KDE/kdebase/runtime/; revision=1089372
2010-02-13 00:53:46 +00:00
Aaron J. Seigo
1072174a96 a bit more manual, but it works much better.DataEngine::serviceForSource actually works now, for instance
svn path=/trunk/KDE/kdebase/runtime/; revision=1089368
2010-02-13 00:32:26 +00:00
Aaron J. Seigo
dda89cd693 offer as properties
svn path=/trunk/KDE/kdebase/runtime/; revision=1089246
2010-02-12 19:19:54 +00:00
Script Kiddy
a42176e409 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1085566
2010-02-05 13:31:20 +00:00
Aaron J. Seigo
e3e4a580d9 isUserConfiguring
svn path=/trunk/KDE/kdebase/runtime/; revision=1083610
2010-02-01 16:19:32 +00:00
Aaron J. Seigo
0df331ac6c since dataengine objects are shared, we likely will already have a wrapper object for a dataengine so re-use them if they exist.
svn path=/trunk/KDE/kdebase/runtime/; revision=1083608
2010-02-01 16:18:49 +00:00
Aaron J. Seigo
de26219d43 debug should be hooked up to the debug method
svn path=/trunk/KDE/kdebase/runtime/; revision=1083607
2010-02-01 16:13:21 +00:00
Aaron J. Seigo
52eacdf240 another class of API warts found and fixed thanks to documenting: isFoo -> foo for properties
svn path=/trunk/KDE/kdebase/runtime/; revision=1081161
2010-01-27 21:06:03 +00:00
Aaron J. Seigo
3c299a6678 missing enum
svn path=/trunk/KDE/kdebase/runtime/; revision=1077844
2010-01-20 23:52:32 +00:00
Aaron J. Seigo
10238e16af implementation of Service
svn path=/trunk/KDE/kdebase/runtime/; revision=1077832
2010-01-20 23:29:53 +00:00
Aaron J. Seigo
1549eb3528 move DummyService to dataengine.h where so it doesn't need to be duplicated elsewhere
svn path=/trunk/KDE/kdebase/runtime/; revision=1077830
2010-01-20 23:25:24 +00:00
Aaron J. Seigo
c1f3d903d8 * much simpler way of registering DataEngine::Data
* register the metatype by name with Qt so it can find it; this allows DataEngine::query() to work properly

svn path=/trunk/KDE/kdebase/runtime/; revision=1077821
2010-01-20 23:13:40 +00:00
Aaron J. Seigo
59ca56a770 extenders
svn path=/trunk/KDE/kdebase/runtime/; revision=1077776
2010-01-20 21:40:55 +00:00
Aaron J. Seigo
95663c101d subs doesn't act on the KLocalizedString itself, but returns a new one. so we need to assign it to our message each time we call subs(..) so that the values are actually captured.
svn path=/trunk/KDE/kdebase/runtime/; revision=1077771
2010-01-20 21:29:57 +00:00
Aaron J. Seigo
f6d908b151 should be dataUpdated like everywhere else in plasma
svn path=/trunk/KDE/kdebase/runtime/; revision=1077767
2010-01-20 21:12:24 +00:00
Aaron J. Seigo
cfb3f78aee include files in the caller's context
svn path=/trunk/KDE/kdebase/runtime/; revision=1075353
2010-01-15 22:23:00 +00:00
Bernhard Beschow
049da47b89 fix compilation when -DKDE4_ENABLE_FINAL=ON is specified
svn path=/trunk/KDE/kdebase/runtime/; revision=1074622
2010-01-14 12:24:40 +00:00
Aaron J. Seigo
2095163074 missing enums on the Svg objects
svn path=/trunk/KDE/kdebase/runtime/; revision=1073879
2010-01-13 03:14:02 +00:00
Aaron J. Seigo
a876582696 no longer necessary
svn path=/trunk/KDE/kdebase/runtime/; revision=1073850
2010-01-12 23:40:35 +00:00
Aaron J. Seigo
a44ebee80d easing curve is now necessary due to change in animation API from easingCurveType to easingCurve
svn path=/trunk/KDE/kdebase/runtime/; revision=1073846
2010-01-12 23:32:56 +00:00
André Wöbbeking
d685a5f359 -pedantic
svn path=/trunk/KDE/kdebase/runtime/; revision=1073712
2010-01-12 18:26:56 +00:00
Aaron J. Seigo
c3b9c61da1 able to fetch property animation; was missing in js relative to the c++
svn path=/trunk/KDE/kdebase/runtime/; revision=1073568
2010-01-12 11:16:33 +00:00
Aaron J. Seigo
1ea98c3161 the object, not its data. (if the trolls themselves can't get this stuff right ... ;)
svn path=/trunk/KDE/kdebase/runtime/; revision=1073565
2010-01-12 11:11:35 +00:00
Aaron J. Seigo
6d466c00c5 easing curve enum
svn path=/trunk/KDE/kdebase/runtime/; revision=1073427
2010-01-12 09:23:17 +00:00
Aaron J. Seigo
a8c5f32de4 animation direction
svn path=/trunk/KDE/kdebase/runtime/; revision=1073407
2010-01-12 08:04:51 +00:00
Patrick Spendrin
11c94def34 return a value
svn path=/trunk/KDE/kdebase/runtime/; revision=1073100
2010-01-11 15:57:54 +00:00
Aaron J. Seigo
76c882740b ok, include the moc file everywhere it needs to be, with more ifdef uglies
svn path=/trunk/KDE/kdebase/runtime/; revision=1072594
2010-01-10 13:03:53 +00:00
Aaron J. Seigo
e8796ab87c make it possible to turn off all eternal extensions
svn path=/trunk/KDE/kdebase/runtime/; revision=1071432
2010-01-08 00:55:46 +00:00
Aaron J. Seigo
f8eb8c96e9 runners now support extensions (and network/local io), though without any access restrictions
svn path=/trunk/KDE/kdebase/runtime/; revision=1070945
2010-01-07 02:39:49 +00:00
Aaron J. Seigo
366ca646bd dataengines now support extensions (and network/local io), though without any access restrictions
svn path=/trunk/KDE/kdebase/runtime/; revision=1070944
2010-01-07 02:27:54 +00:00
Aaron J. Seigo
88496997f9 moderately lame way to get conditional compilation of GUI features
svn path=/trunk/KDE/kdebase/runtime/; revision=1070943
2010-01-07 02:26:44 +00:00
Aaron J. Seigo
a85e29367a isolate out the common QScriptEngine setup that is sharable between the various ScriptEngines; this will prevent having to reimplement (or more likely copy and paste) the extensions loading, print, debug, etc. from the applet implementation to get that support in dataengines and runners.
svn path=/trunk/KDE/kdebase/runtime/; revision=1070936
2010-01-07 02:04:59 +00:00
Aaron J. Seigo
5946da0f42 implement a specialized findChild; this makes it look like there's the usual findChild, but this one is defanged
svn path=/trunk/KDE/kdebase/runtime/; revision=1070552
2010-01-06 00:23:31 +00:00
Aaron J. Seigo
092bf9d3e6 count/itemAt; plugs some holes that made layouts rather unuseful (though getting reports about these things is nice: people are actually using them! wow! :)
svn path=/trunk/KDE/kdebase/runtime/; revision=1070549
2010-01-05 23:48:56 +00:00
Aaron J. Seigo
03da062151 adapt to Animation api change
svn path=/trunk/KDE/kdebase/runtime/; revision=1069734
2010-01-04 09:24:13 +00:00
Script Kiddy
ef89647363 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1068962
2010-01-02 11:35:49 +00:00