add a property to tell if fallback happened

add a property in Svg (and framesvgitem) to tell if the current theme
has this image, or if some fallback did happen
useful for items that are better not displayed than showing the potentially different
default theme

Change-Id: Ib914c0e196c5c941d35d9a600cc7d38818fc754f
fix the test

before 419b344b6 the size of the dialog was wrong, making positioning
of it actually different.
the new value, 71 is actually the correct one.

to make sure to catch similar cases, adds a test on the dialog size and margins as well

Change-Id: I035c66a6745e0e9f265f63cee450fec7a645654d
typo

Change-Id: Ia8dd4676cb45166bfc5f5e55b3c30a15f895d39f
consider the case of fallback as well

consider the case of fallback as well when we are searching for a texture

reviewed by: Eike Hein <hein@kde.org>

Change-Id: I1faa119f9b3486d21ebd07a294b5063a896d7af1
Add margins.horizontal/vertical helpers that return added up margins along one axis.

Adding up margins along the horizontal or vertical axis is often
done to calculate sizing or spacing. This tends to result in scary-
long and bug-prone expression being bound to props, since nobody
seems to like to blowing them up into a code block with a separate
variable assignment. This aims to increase the readability of com-
plex expressions by summing axis margins into a single operand.

Change-Id: I39a37dde80b9314da0c69f3b33d26d26a9ff54d1
respect stylesheet

Change-Id: Ib865c2097d17f5892b250ad2f013c28eadef3e2a
Don't crash if the plasmoid wasn't properly loaded

If d->applet->package().isValid(), then d->qmlObject->mainComponent()
is null.
This makes Plasma crash when a faulty plasmoid is loaded.

REVIEW: 120581
Also check the style for cmake modules
SVN_SILENT made messages (.desktop file)
Adopt QuickAddons in plasma-framework

Removes the code that was moved to QuickAddons

REVIEW: 120596
add icon for spacer

BUG:337995
Change-Id: I1c753298f5d2deb43296eaec94d765f1575f47ce
dd test case

Change-Id: I3af1949b28148652918e28eb76c4733a7bd9650b
remove the old icon when an empty source is set

BUG:339793

reviewer by:Bhushan Shah <bhush94@gmail.com>

Change-Id: I02910e7ec9397c5bb6ca4e5c0ed3793d19aa14e5
crash--

BUG:339875
Change-Id: Ic8ab63853fa9b58dd83e1aa868e9599b0e37f09e
fix css colors

BUG:337317
Change-Id: I5968d6766adbc4678fa94c3d52f6a9674733cfb6
Removed the call of clearDataForMimeJob on a null pointer

tjob pointer is checked for being null (result of the dynamic_cast)
and then passed to clearDataForMimeJob. The issue can be solved by
replacing tjob with job in the problematic line, but since the
mimeTypeRetrieved method called later already processes jobs that
are not KIO::TransferJob, there is no purpose in doing it here as well.

Change-Id: I863ac41ad66ac3cbceca82adeab85498315a5e42
Removed the dead code that used to calculate the direction of a tooltip

The value of the 'dir' variable is quite difficult to calculate,
and it is not used anywhere.

Change-Id: I806a559dde51bdf3b243271fe68ee138faa872f6
always have margins in dialogs

always show full margins in dialogs
this is to make things look less cramped with screen and panel edges
since mouse still has to work on screen edges (fitts law)
in that case it forwards mouse events inside the actual content item
so things like menus at the edge of the screen keep working

Change-Id: I4b8a5a5bac92eadbaf7ad5b9b7dc0d5f364888c3
Fix build with Qt 5.4

The include is no longer indirectly pulled in with latest qtbase changes

Reviewed-by: David Edmundson
Merge "always have margins in dialogs"