Commit Graph

12 Commits

Author SHA1 Message Date
Mark Gaiser
f83a899bc8 Lets use const.
REVIEW: 103009
2011-11-02 23:12:46 +01:00
Mark Gaiser
41bd519f43 Made the icon property a QVariant.
If a string is passed a KIcon(string) object will be created.
If a QIcon is passed that will be used.

REVIEW: 103009
2011-11-02 21:28:30 +01:00
Marco Martin
5788424702 qmenu bindings with the QtComponents api 2011-10-28 18:57:34 +02:00
Marco Martin
284277083e Merge branch 'master' into plasma/viranch/qml-qmenu 2011-10-13 12:52:14 +02:00
Marco Martin
019617f3bc paint grey when disabled 2011-08-20 17:43:36 +02:00
Viranch Mehta
3a5367fcbf Directive changes + licensing 2011-08-17 23:26:21 +05:30
Viranch Mehta
e677aafcad Rename QMenuItem to QMenuAction, QMenuItem was already defined. Add support for separators in QMenus 2011-08-17 23:21:04 +05:30
Viranch Mehta
220cae4242 Make QMenuItem a derived class of QAction (to minimize its implementation) 2011-08-17 20:30:53 +05:30
Viranch Mehta
c34d4ea456 Make QMenu fairly usable in QML plasmoids, separate out QMenu and QMenuItem classes 2011-08-17 03:22:25 +05:30
Viranch Mehta
cd6d910a2f Implement ability to add actions in the QMenu and hence create QMenuItem 2011-08-07 05:11:21 +05:30
Viranch Mehta
2c6677aaf4 QMenu QML binding (with test 'hello','world' menu entries) 2011-08-02 19:43:48 +05:30
Nicolás Alvarez
cde1151099 Merged scratch/mart/plasma-components into subtree plasma/declarativeimports. 2011-02-10 14:41:47 -03:00