Commit Graph

95 Commits

Author SHA1 Message Date
Marco Martin
9de619ed86 remove the QVariant workaround since the QScriptEngine::newVariant() should be fixed now in qt.
it seems to work for now, will keep the js scriptengine unchanged for a while to check for eventual problems.
if this work out will make the merge with the qml engine way easier

svn path=/trunk/KDE/kdebase/runtime/; revision=1185556
2010-10-13 18:08:07 +00:00
Marco Martin
65f7d021d1 add QList<double> as the known types: the plotter needs it
svn path=/trunk/KDE/kdebase/runtime/; revision=1182468
2010-10-04 17:23:21 +00:00
Aaron J. Seigo
92dce059a1 add activate(), since QGraphicsLayout often does it at rather inopportune times and requires manual intervention
svn path=/trunk/KDE/kdebase/runtime/; revision=1181766
2010-10-02 02:09:38 +00:00
Aaron J. Seigo
a421a1bd6a make it possible to instantiate a plain QGraphicsWidget
svn path=/trunk/KDE/kdebase/runtime/; revision=1181765
2010-10-02 02:05:57 +00:00
Aaron J. Seigo
f7c8bd278d make maps-n-hashes in maps-n-hashes work
svn path=/trunk/KDE/kdebase/runtime/; revision=1176437
2010-09-17 18:06:20 +00:00
Aaron J. Seigo
91dafe9793 split out the gui and non-gui bookkeeping; improve the kconfig binding bit
svn path=/trunk/KDE/kdebase/runtime/; revision=1175801
2010-09-16 01:13:34 +00:00
Aaron J. Seigo
348343ee0f fix i18np up, avoid fatal errors
svn path=/trunk/KDE/kdebase/runtime/; revision=1171475
2010-09-03 22:36:45 +00:00
Aaron J. Seigo
c9b045fa86 themed colors
svn path=/trunk/KDE/kdebase/runtime/; revision=1170430
2010-08-31 20:47:05 +00:00
Aaron J. Seigo
b5669412c5 reorg the sources; was growing increasingly messy and was only going to get "worse" as DataEngine grows
svn path=/trunk/KDE/kdebase/runtime/; revision=1159715
2010-08-06 02:01:40 +00:00
Aaron J. Seigo
f2ebfa98e3 --buildWarnings;
svn path=/trunk/KDE/kdebase/runtime/; revision=1129249
2010-05-21 18:49:40 +00:00
Aaron J. Seigo
a0822e0beb make Qt::MouseButton in signals work
svn path=/trunk/KDE/kdebase/runtime/; revision=1129248
2010-05-21 18:48:09 +00:00
Alex Merry
01c231b642 Remove a Q_DECLARE_METATYPE for DataEngine* - this is now in dataengine.h
svn path=/trunk/KDE/kdebase/runtime/; revision=1126824
2010-05-14 23:17:01 +00:00
Aaron J. Seigo
47406f1250 some janitoring
svn path=/trunk/KDE/kdebase/runtime/; revision=1120759
2010-04-29 22:00:19 +00:00
Aaron J. Seigo
be24205109 key modifiers enum
svn path=/trunk/KDE/kdebase/runtime/; revision=1110136
2010-04-02 01:04:06 +00:00
Aaron J. Seigo
282a4f833e ensure the value passed to stretch is always > 0
svn path=/trunk/KDE/kdebase/runtime/; revision=1110071
2010-04-01 19:57:13 +00:00
Aaron J. Seigo
611d61d73f * event handlers, w3c style, for all the plasma callbacks
* added mouse and keyboard events

svn path=/trunk/KDE/kdebase/runtime/; revision=1109755
2010-04-01 00:46:44 +00:00
Aaron J. Seigo
99945e5a99 QSizePolicy, need to make size policy setting possible
svn path=/trunk/KDE/kdebase/runtime/; revision=1107165
2010-03-24 23:56:07 +00:00
Aaron J. Seigo
8df3489f24 allow connecting engine sources to pretty much anything in the script
svn path=/trunk/KDE/kdebase/runtime/; revision=1101799
2010-03-10 23:10:33 +00:00
Aaron J. Seigo
7b3c875217 IntervalAlignment
svn path=/trunk/KDE/kdebase/runtime/; revision=1101332
2010-03-09 22:29:08 +00:00
Aaron J. Seigo
2003e72a37 not needed atm
svn path=/trunk/KDE/kdebase/runtime/; revision=1101326
2010-03-09 22:18:23 +00:00
Aaron J. Seigo
920eef1666 support for Svg* marshalling, used with e.g. Plasma::SvgWidget
svn path=/trunk/KDE/kdebase/runtime/; revision=1101267
2010-03-09 20:01:51 +00:00
Aaron J. Seigo
e0dbf4f1d8 clean up actions
svn path=/trunk/KDE/kdebase/runtime/; revision=1100980
2010-03-09 05:33:40 +00:00
Aaron J. Seigo
826c9ae1d5 * move kstyles from runtime into workspace
* make a proper library out of the oxygen helper lib
* make the oxygen widget and kwin style link against it

svn path=/trunk/KDE/kdebase/runtime/; revision=1097791
2010-03-02 03:40:34 +00:00
Bruno de Oliveira Abinader
1bd327f133 Added support for passing QEasingCurve::Type enumerator literal string as valid argument on type() js binding
svn path=/trunk/KDE/kdebase/runtime/; revision=1097616
2010-03-01 19:11:32 +00:00
Aaron J. Seigo
6722dbdd97 need to return a QIcon otherwise the poor little binding's head gets confused
svn path=/trunk/KDE/kdebase/runtime/; revision=1097598
2010-03-01 18:39:03 +00:00
Aaron J. Seigo
3b16876d4a full popupapplet support
svn path=/trunk/KDE/kdebase/runtime/; revision=1097178
2010-02-28 16:11:48 +00:00
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
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
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
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
Aaron J. Seigo
e3e4a580d9 isUserConfiguring
svn path=/trunk/KDE/kdebase/runtime/; revision=1083610
2010-02-01 16:19:32 +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
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
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
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