Commit Graph

190 Commits

Author SHA1 Message Date
heena mahour
b17ca9f007 Merge branch 'heenamahour/gsoc' of git://anongit.kde.org/plasma-framework into heenamahour/plasma2 2013-08-17 08:15:01 +00:00
heena mahour
3fb515ca6d Added margin Hints to highlight and indent Desktop.qml 2013-08-16 15:36:32 +00:00
Sebastian Kügler
2256c5ad1c Fix text elide in button and toolbutton
Also use a Plasma.Label, instead of doing it on our own
2013-08-14 05:46:55 +02:00
Sebastian Kügler
7fb579610a Return QObject* instead of Service*
Service* is not understood as return type, QObject is.
2013-08-14 03:26:43 +02:00
Martin Gräßlin
f50a5412ba Drop windowId property from PlasmaCore.Dialog
Property windowId was according to the comments only provided because
KWin needed it. KWin's usecase was to know the window Id of the window
where a given item is rendered to. In QtQuick a QQuickItem provides a
pointer to the QQuickWindow holding the item. This means this hack is no
longer needed.

REVIEW: 112033
2013-08-13 06:47:10 +02:00
Sebastian Kügler
fd3f1eaa35 Reduce KDE4 usage in cmake setup 2013-08-09 05:22:20 +02:00
Sebastian Kügler
db9b0016d1 remove last remains of kdebug 2013-08-09 04:14:26 +02:00
Kevin Ottens
418bcfa75a Add missing includes
The latest changes to KImageCache are slightly source incompatible, so
some types have to be included earlier.
2013-08-06 18:59:47 +02:00
Alex Richardson
7e8f62acad fix including sortfiltermodeltest.moc 2013-08-06 18:21:25 +02:00
Eike Hein
f63357bd29 Make the setData() accessor take a QVariant as payload.
The implementation now specifically tries to support byte arrays
being passed in, which is what the base class speaks. To try and
retain the previous behavior anything else is attempted to be
converted to a string and failing that, silently dropped.

REVIEW:111748
CCBUG:322567
2013-08-06 12:01:53 +02:00
Sebastian Kügler
b89451fb25 Merge branch 'master' into sebas/kplugins 2013-08-05 16:30:23 +02:00
Marco Martin
ea42678895 make minimumWidth/maximum/implicit exportable
both the applet and its compact representation can now export minimumWidth,implicitWidth etc and those are exported to the root graphics item.

the minimum width of the applet is used to collapse in popup
2013-08-05 15:37:21 +02:00
heena mahour
18266f3ab7 import org.kde.dirmodel 2.0 installed 2013-08-03 10:21:05 +00:00
Kevin Ottens
3eaa4d83f4 runnermodeltest is manual not automated 2013-08-01 12:38:47 +02:00
Sebastian Kügler
f034b84daf add ctor back in that got lost during the merge 2013-07-30 21:31:12 +02:00
Kevin Ottens
0e590217f8 Port away from kdebug 2013-07-30 08:05:09 +02:00
Giorgos Tsiapaliokas
6d000fe183 s/QVariantHash/QVariantMap.
QVariantHash isn't consumable from QML
2013-07-29 19:09:06 +03:00
Sebastian Kügler
d3b9cf5f35 merge 2013-07-25 14:45:49 +02:00
Kevin Ottens
c42406cabc Pull in the KDE4Attic dependency 2013-07-25 11:54:15 +02:00
Sebastian Kügler
06925637a7 Merge branch 'master' into sebas/kplugins 2013-07-18 11:59:42 +02:00
Marco Martin
c0f3730686 forward port the scrolling fixes of plasma1 vers 2013-07-16 19:30:25 +02:00
Sebastian Kügler
84cd704368 Merge branch 'master' into sebas/kplugins 2013-07-12 10:35:09 +02:00
Alex Neundorf
454bf83be3 -adapt to current changes in kdelibs regarding kde4support: use ${KDE4Support_LIBRARIES} when using it
Search for KDE4Support, but after searching KDELibs4, this is hackish, but currentlx necessary due to
cyclic dependencies we still have

Alex
2013-07-11 22:57:04 +02:00
Sebastian Kügler
21c04fd3d3 Merge branch 'master' into sebas/kplugins
Conflicts:
	CMakeLists.txt
2013-07-09 02:34:36 +02:00
Sebastian Kügler
a9c022f5b9 Cleanups 2013-07-03 05:12:30 +02:00
Sebastian Kügler
95aa0eee7d remove tdata accessor again 2013-07-03 00:41:54 +02:00
Sebastian Kügler
f9502edb14 Convert to use QVariantMap throughout
This makes it possible again to use DataSource.data from QML. Some more
optimizations are needed, but it already basically works.
2013-07-03 00:39:54 +02:00
Sebastian Kügler
ad08301db4 Add temporary QVariantMap data accessor 2013-07-02 03:21:30 +02:00
Marco Martin
5b0b17f86a respect contents hints 2013-07-01 18:21:29 +02:00
Kevin Ottens
c36c625d9c Port away from KUrl 2013-06-27 16:39:03 +02:00
Sebastian Kügler
6389825172 User Q_ macros for signals and slots 2013-06-21 02:22:02 +02:00
Marco Martin
b324f520fb qt5 port of DirModel 2013-06-19 17:38:06 +02:00
Sebastian Kügler
2b6eea985e use ecm macros for tests in qtextracomponents 2013-06-19 02:51:59 +02:00
Sebastian Kügler
66ed317518 Port and enable unit tests for core bindings
All pass.
2013-06-19 02:48:09 +02:00
Sebastian Kügler
eafac77910 clean up include 2013-06-19 01:15:08 +02:00
Sebastian Kügler
728cf2e53f don't use startdragdistance here
emit click if the cursor is still in the area regardless of the
distance travelled
this because MouseEventListener doesn't start drags

BUG:320893
FIXED-IN:4.11

cherry-picked from ac9592832893cd6562dc0747f8afc1d7f89442c8 in
kde-runtime
2013-06-17 15:25:29 +02:00
Sebastian Kügler
057d592a1a Ensure the busyindicator is square 2013-06-17 15:22:15 +02:00
Marco Martin
50ee44b70d Merge branch 'PlasmaTypesClass' 2013-06-12 11:24:03 +02:00
Marco Martin
7a7914126e Switch is a CheckBox on desktop
the sliding Switch is touch specific
2013-05-25 12:50:32 +02:00
Marco Martin
669ed7a35c register Units 2013-05-16 13:39:30 +02:00
Marco Martin
570d0bdc05 export the Plasma::Types object 2013-05-15 19:51:05 +02:00
Marco Martin
75cbf80f47 add Units from Plasma1 2013-05-15 17:58:30 +02:00
Marco Martin
e07cbe99af allow last column to be bigger
last column wisth is regulated by the page's implicitWidth, but the
final with will always be a multiple of columnWidth
2013-05-15 14:16:44 +02:00
Marco Martin
812b9a06ab get rid of Plasma::Location 2013-05-14 18:27:27 +02:00
Marco Martin
e07600a83f Put all Plasma emums in a Types class
This makes possible to use them directly frmo QML
as a minus, is not pretty and requires tons of search and replace in old
c++ code
2013-05-10 19:29:13 +02:00
Marco Martin
c13a58cf11 checkable and checked properties 2013-05-09 16:16:16 +02:00
Marco Martin
4692c941af add ServiceOperationStatus binding
this class is used to monitor the enabled status of service operations
2013-05-02 18:56:00 +02:00
Marco Martin
08ed91d7e0 Data is a QVariantmap again
this means that DataEngines and the Storage Service are directly usable from QML2 again
2013-05-02 18:02:38 +02:00
Sebastian Kügler
47c63deb6f elegantly work around
the hack
2013-04-30 02:59:02 +02:00
Sebastian Kügler
b68317e930 Use QVariant for MenuItem::icon
This way, we can cover string and QIcon assignments transparently,
another backwards compatibility fix, and easier thing in Plasma2: Now
the user doesn't have to worry about creating QIcons, but can just
assign the icon name, and it will get loaded from the theme. Models that
provide QIcons (such as QStandardItems) now work correctly with
PlasmaCore.MenuItems.
2013-04-30 02:50:42 +02:00