Commit Graph

304 Commits

Author SHA1 Message Date
Marco Martin
16ee068aba coronabase becomes corona
correctly build all files currently included in libplasma (some will
have to be enabled again)
2012-11-08 18:23:36 +01:00
Marco Martin
64fde089f2 correctly build applet and containment 2012-11-08 18:23:28 +01:00
David Faure
a2b502dbf4 Port the last uses of KMimeType. Only plasma/package.cpp is left... 2012-06-20 00:38:04 +02:00
David Faure
af211f7c93 KIcon("foo") -> KDE::icon("foo")
include kicon.h -> kiconloader.h, or often, nothing at all.
2012-04-28 13:17:42 +02:00
John Layt
f404ada067 Remove unneeded klocale.h and kglobal.h
Replace locale.h with klocalizedstring.h where only i18n() needed
2012-04-06 16:42:07 +01:00
Claus Christensen
658fad620a Replaced KGlobal::config() by KSharedConfig::openConfig()
Remodified:   kded/kdedadaptor.cpp
2012-03-24 19:33:54 +01:00
Marco Martin
7c959ff917 operations completely delegated to coronabase 2012-02-28 20:40:28 +01:00
Marco Martin
26d4132e42 use an internal coronabase
delegate functions to it
2012-02-28 20:24:41 +01:00
Marco Martin
8b00555903 move some stuff in qgv's private 2012-02-28 20:00:42 +01:00
Torgny Nyblom
8f6075ac7c include kicon.h 2012-02-10 19:59:05 +01:00
David Faure
9057ce0c70 Fix compilation with the new cmake automoc stuff. 2012-02-08 23:34:07 +01:00
Stephen Kelly
8d37df4b8f Remove moc includes that can be omitted.
Mostly these are "<name>.moc" style includes which are incorrect
compared to qmake and cmake automoc behaviour.
2012-01-31 22:44:36 +01:00
David Faure
6a01732860 Merge remote-tracking branch 'origin/KDE/4.8' into origin-frameworks
Conflicts:
	CMakeLists.txt [version number]
	kdecore/tests/kcharsetstest.cpp [deleted]
2012-01-13 11:29:36 +01:00
Nikita Churaev
6dcaf4fe7f Fix one-pixel distance from some edges.
REVIEW: 103595
2011-12-31 11:45:02 +04:00
Aaron Seigo
8b09ffb51f Merge remote branch 'origin/KDE/4.7' into frameworks
Conflicts:
	plasma/corona.cpp
	plasma/packagemetadata.cpp
	plasma/private/packages.cpp
	plasma/theme.cpp
2011-12-20 11:57:49 +01:00
Aaron Seigo
64373cf1da sanity check the y just as we do the x 2011-12-16 14:52:16 +01:00
Aaron Seigo
7491b9e71f appletsrc files are SimpleConfigs
cascading, let alone kdeglobals, make no sense whatsoever for them. so just skip that overhead.
2011-12-12 09:23:26 +01:00
Aaron Seigo
90b02f3973 massive step towards QGraphicsView being separated from libplasma
* remove extenders (never panned out, used by exactly two components that we can find .. anywhere)
* move animations to libplasmagqv
* schedule js anims to be put into the js scriptengine
* move all QGraphicsProxyWidgets, except for IconWidget which is still used by PopupApplet, into libplasmaqgv
* create a subclass-able private class for Applet

TODO: move out icon widget, address FIXMES in graphicswidgetappletprivate.cpp and decide how to register the "right" private class for instantiation in Applet ctors
2011-11-17 14:43:37 +01:00
Marco Martin
33e9192346 Merge branch 'libplasma2' into frameworks
Conflicts:
	plasma/CMakeLists.txt
	plasma/popupapplet.cpp
2011-08-12 11:45:49 +02:00
Matthias Fuchs
0b9f5d68d2 Correctly display popups when using multiple screens
If there are multiple screens with different resolutions or which
are not alligned the same way then it could happen that popups at
the edge were drawn (partially) offscreen.
This patch fixes that issue.

REVIEW:102118
BUG:256835
FIXED-IN:4.7.1
(cherry picked from commit c50f180f29a5d46093e0172baf71f6dcf9f23281)
2011-07-31 13:10:00 +02:00
Matthias Fuchs
d2c63bfdcd Use a qobject_cast instead of a dynamic_cast.
(cherry picked from commit f93aa997b1de14f76b6e1c8862992d590b77e776)
2011-07-31 13:09:48 +02:00
Matthias Fuchs
a18379e5d0 Correctly display popups when using multiple screens
If there are multiple screens with different resolutions or which
are not alligned the same way then it could happen that popups at
the edge were drawn (partially) offscreen.
This patch fixes that issue.

REVIEW:102118
BUG:276336
FIXED-IN:4.7.1
2011-07-31 13:04:00 +02:00
Matthias Fuchs
db3b17abf2 Use a qobject_cast instead of a dynamic_cast. 2011-07-31 13:03:49 +02:00
Aaron Seigo
011f79bca8 get rid of vestigal m_corona now 2011-07-30 20:21:15 +02:00
Aaron Seigo
296951ada0 revert change to tooltipmanager 2011-07-30 20:06:50 +02:00
Aaron Seigo
a665c17a6c remove some api duplication 2011-07-30 20:05:46 +02:00
Aaron Seigo
82eee5c3b7 avoid compiling in debug strings when compiled without debug 2011-07-29 15:46:52 +02:00
Aaron Seigo
35898d57f1 get rid of all Class:load(..) methods, use PluginLoader directrly. --apiBloat; 2011-07-19 22:04:22 +02:00
Aaron Seigo
4cc44f6a92 Merge remote-tracking branch 'origin/master' into libplasma2
Conflicts:
	plasma/package.cpp
2011-05-28 00:25:07 +02:00
Aaron Seigo
223795818f check the value before using it 2011-05-28 00:23:37 +02:00
Aaron Seigo
394979daa4 check value of view
BUG:274202
2011-05-27 15:51:20 +02:00
Aaron Seigo
38004e0f9c remove deprecated version of loadLayout 2011-05-27 12:07:12 +02:00
Aaron Seigo
e834795263 remove some empty overloads 2011-05-26 16:42:41 +02:00
Aaron Seigo
eb871eca6a don't set the QObject parent with the parentWidget if the parentWidget is null 2011-04-30 13:29:25 +02:00
Marco Martin
7f46a77e7d fix popup position
if item is in an hidden Dialog, try to find the parent applet and use it instead of item
this fixes the device notifier popup placement
BUG:234564
BUG:253858
2011-04-20 18:12:07 +02:00
Marco Martin
96d0f935c2 popup in the correct place when viewFor is hidden
when item is in an hidden Dialog, try to find the parent applet and position the popup there.
this fixes the devicenotifier popup placement
BUG:253858
BUG:234564
2011-04-20 18:12:07 +02:00
Aaron J. Seigo
56fc44f841 various cleanups
svn path=/trunk/KDE/kdelibs/; revision=1217825
2011-01-28 22:30:54 +00:00
Aaron J. Seigo
cd4e26f59f FEATURE: configurable default containment plugin name
svn path=/trunk/KDE/kdelibs/; revision=1213879
2011-01-12 00:05:13 +00:00
Aaron J. Seigo
3af6a91dd7 * give Corona a proper private header in private/
* don't create the shortcuts dialog until it is actually needed
* unify the handling of the action collections with a list of smart pointers

svn path=/trunk/KDE/kdelibs/; revision=1213847
2011-01-11 20:45:24 +00:00
Marco Martin
d41c2a2b54 set corona stickyFocus property to true.
This means that clicking on an inactive widget doesn't reset the focus, done for 2 reasons:
* consistence: same behaviour as QWidgets and top level windows
* bugfix: the plasmaboard on screen keyboard now can send input to desktop widgets 


svn path=/trunk/KDE/kdelibs/; revision=1213727
2011-01-11 12:14:16 +00:00
Aaron J. Seigo
ab4e0e24d3 constify
svn path=/trunk/KDE/kdelibs/; revision=1208728
2010-12-22 23:37:56 +00:00
Aaron J. Seigo
c21986f62d provide a containmentForScreen implementation that allows adding containments for screens / desktop affinities even in spite of immutabilities
svn path=/trunk/KDE/kdelibs/; revision=1198498
2010-11-18 17:17:56 +00:00
Aaron J. Seigo
0e5e5b7c9d * be sure to set kiosk-based immutability
* don't allow external creation of containments if the corona is immutable; they won't get saved to disk anyways

svn path=/trunk/KDE/kdelibs/; revision=1196287
2010-11-12 22:51:31 +00:00
Kevin Ottens
c09422cc8c Remove deprecated symbols from the build (if KDE_NO_DEPRECATED is defined).
svn path=/trunk/KDE/kdelibs/; revision=1192863
2010-11-04 08:06:43 +00:00
Chani Armitage
25d9f45583 exportLayout function to go with importLayout
also, deprecated the old importLayout in favour of one that only accepts
kconfiggroup.
CCBUG: 248386

svn path=/trunk/KDE/kdelibs/; revision=1180338
2010-09-27 18:16:43 +00:00
Aaron J. Seigo
d071b6e301 remove any stale config data to avoid accidentally merging old and existing containment configs
svn path=/trunk/KDE/kdelibs/; revision=1167946
2010-08-25 18:54:22 +00:00
Marco Martin
02faf90355 new property:
preferredToolBoxPlugin(Containment::Type)
used to decide what toolbox plugin dynamically load, only corona
implementations can decide this.

api review anyone? ;)

CCMAIL:plasma-devel@kde.org

svn path=/trunk/KDE/kdelibs/; revision=1157190
2010-07-30 12:46:22 +00:00
Marco Martin
6b864f6b96 if you map to global the position of the view, you'll get coordinates dpubled
map 0,0 instead

svn path=/trunk/KDE/kdelibs/; revision=1156165
2010-07-28 16:57:41 +00:00
Aaron J. Seigo
3a2ffb1238 call restore on new containments too
svn path=/trunk/KDE/kdelibs/; revision=1152621
2010-07-21 15:57:36 +00:00
Aaron J. Seigo
e07a9c88bb if we don't have a PlasmaView, then ask QDesktopWidget which screen it thinks we are tipping on
BUG:241278

svn path=/trunk/KDE/kdelibs/; revision=1137109
2010-06-11 17:20:29 +00:00