Commit Graph

79 Commits

Author SHA1 Message Date
David Faure
0fd5c690c8 KStandardDirs::locate/locateLocal ported, by script, this time.
(kdesdk/scripts/kf5/convert-kstandarddirs.pl coming up)
2012-05-30 20:25:25 +02:00
David Faure
4ce1afaa9f Enable -DQT_NO_URL_CAST_FROM_STRING globally, and fix the code. 2012-05-02 15:08:52 +02:00
Sune Vuorela
101a0b38f1 add some klocale includes to plasma to make it build 2012-03-24 11:51:32 +01:00
David Faure
2365f2c657 Some KUrl-QUrl porting. 2012-03-11 10:34:38 +01:00
David Faure
083d157684 Merge remote-tracking branch 'origin/KDE/4.8' into origin-frameworks
Conflicts:
	kdecore/network/k3datagramsocket.cpp
	kdeui/actions/kstandardaction.cpp
	kdeui/dialogs/kconfigdialogmanager.cpp
	kdeui/icons/kicondialog.cpp
	kdeui/itemviews/kviewstatesaver.h
	kfile/knewfilemenu.cpp
	kio/misc/kpac/downloader.cpp
	kio/tests/kdirlistertest.cpp
	kparts/browserextension.cpp
	nepomuk/core/nepomukmainmodel.cpp
	nepomuk/query/queryserviceclient.cpp
	nepomuk/test/ratingpaintertestwidget.cpp
	nepomuk/ui/kedittagsdialog.cpp
	nepomuk/ui/ktagcloudwidget.cpp
	nepomuk/ui/ktagdisplaywidget.cpp
	nepomuk/ui/nepomukmassupdatejob.cpp
	nepomuk/ui/tagwidget.cpp
	nepomuk/utils/daterangeselectionwidget.cpp
	nepomuk/utils/facetwidget.cpp
	nepomuk/utils/searchwidget.cpp
	plasma/containment.cpp
	plasma/datacontainer.cpp
	plasma/deprecated/animator.cpp
	plasma/extenders/extender.cpp
	plasma/plasma.h
	plasma/scripting/wallpaperscript.cpp
	tier1/solid/tests/networkingclient.cpp
(signal/slot normalization changes conflicted with KUrl->QUrl changes
and with other changes in frameworks)
2012-02-14 12:32:25 +01:00
Dawit Alemayehu
fb0b49af8c Normalize all signal/slot connections.
REVIEW: 103728
2012-02-13 14:27:21 -05: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
Aaron Seigo
2c7751ccef Merge remote-tracking branch 'origin/KDE/4.7' into frameworks
Conflicts:
	CMakeLists.txt
	kio/kio/kfileitem.cpp
	plasma/datacontainer.cpp
	plasma/datacontainer.h
	plasma/private/wallpaper_p.h
	plasma/private/wallpaperrenderthread.cpp
2011-10-30 10:44:59 +01:00
Aaron Seigo
97743420a0 add a wallpaper render that takes a pre-loaded QImage. FAR FAR faster than re-loading from disk if already in memory.
new API (new overload, really), but required to fix iperformance issues elsewhere, so considered a bug fix
2011-10-30 10:24:57 +01:00
Stephen Kelly
9fca702bb0 Merge remote-tracking branch 'origin/KDE/4.7' into frameworks 2011-09-22 17:04:54 +02:00
Aaron Seigo
064b78d8b1 only allow valid values for the resize method, and add missing getters 2011-09-19 16:18:52 +02:00
Aaron Seigo
82eee5c3b7 avoid compiling in debug strings when compiled without debug 2011-07-29 15:46:52 +02:00
Aaron Seigo
ca860417c9 PluginLoader API changes 2011-07-20 00:06:24 +02:00
Aaron Seigo
8d5cd041c0 no longer provide access to the package from the class, let Package do that; adapt to Package merge 2011-07-15 12:58:06 +02:00
Aaron Seigo
9b4621d339 --PackageMetadata; 2011-05-31 00:11:55 +02:00
Aaron Seigo
cfdccb7968 addUrls becomes virtual, setUrls is dropped 2011-05-18 16:04:50 +02:00
Aaron Seigo
3e236c281a remove the dropUrls approach 2011-05-18 15:08:07 +02:00
Aaron Seigo
58c27026ef Merge remote-tracking branch 'origin/master' into libplasma2 2011-05-12 22:39:05 +02:00
Andreas Hartmetz
c9529c5563 Plasma Wallpaper: Fix targetSize updating logic.
As discussed with Aaron a few weeks ago on IRC.
2011-05-09 14:17:06 +02:00
Aaron Seigo
5aa1e5865b mimetype -> MimeType 2011-05-06 12:23:42 +02:00
Aaron Seigo
8a41ab7051 comment not accurate afaict 2011-05-06 12:02:46 +02:00
Aaron Seigo
6112778ca1 remove protected member 2011-05-06 11:57:49 +02:00
Aaron Seigo
b0ef0e7991 wallpaper thrading simplifications 2011-04-30 17:17:44 +02:00
Aaron Seigo
cd8025f605 minor style fix 2011-04-30 13:29:26 +02:00
Aaron Seigo
aa2c6b7683 more api niceness 2011-04-30 13:29:26 +02:00
Aaron Seigo
5f0daaec50 use the API, luke! 2011-04-30 13:29:26 +02:00
Aaron Seigo
5a3c398e5a delay url setting until initialized 2011-03-03 07:52:13 +01:00
Aaron J. Seigo
f721ef40fc see if a wallpaper plugin can handle (import, display, etc) a given mimetype; this may be different from the drop types supported!
svn path=/trunk/KDE/kdelibs/; revision=1217338
2011-01-26 20:08:35 +00:00
Aaron J. Seigo
abae2d7686 provide compat with wallpapers that implement a slot connection to urlDropped
svn path=/trunk/KDE/kdelibs/; revision=1217118
2011-01-25 20:51:53 +00:00
Aaron J. Seigo
c3c211f374 addurl into the scripting
svn path=/trunk/KDE/kdelibs/; revision=1217115
2011-01-25 20:41:50 +00:00
Sinny Kumari
30b570357f Make wallpaper capable of setting particular Image
http://svn.reviewboard.kde.org/r/6375/

svn path=/trunk/KDE/kdelibs/; revision=1216005
2011-01-20 19:50:11 +00:00
Aaron J. Seigo
1217cd2c19 a better name, so that upon reading it is clear that there is a signal called renderCompleted as well as a slot (by changing the name of the (private) slot to something other than renderCompleted)
svn path=/trunk/KDE/kdelibs/; revision=1206548
2010-12-14 22:18:56 +00:00
Kevin Ottens
c0f66faad7 Allow to build libplasma without KIO. Only issue is that the
copying/moving/removal of folders is defunct (so is the package
install/uninstall).

svn path=/trunk/KDE/kdelibs/; revision=1185865
2010-10-14 12:27:15 +00:00
Marco Martin
0d2681a23d the monitor preview becomes optional, with Wallpaper::setPreviewDuringConfiguration() (default off)
image uses it just for slideshows

together with the previous related commits,
FEATURE: new appearance to the background config dialog

svn path=/trunk/KDE/kdelibs/; revision=1162831
2010-08-12 19:51:39 +00:00
Aaron J. Seigo
cf2190d419 the include too
svn path=/trunk/KDE/kdelibs/; revision=1120690
2010-04-29 17:25:05 +00:00
Aaron J. Seigo
ba49acf26a PLASMA_NO_KIO
svn path=/trunk/KDE/kdelibs/; revision=1120689
2010-04-29 17:24:16 +00:00
Kevin Ottens
6a3240b051 libplasma becomes our first lib with profiles support.
svn path=/trunk/KDE/kdelibs/; revision=1120434
2010-04-29 05:57:34 +00:00
Aaron J. Seigo
2ca8a1d2ee allow telling the wallpaper that it is in previewing mode
BUG:229450

svn path=/trunk/KDE/kdelibs/; revision=1099127
2010-03-05 00:54:30 +00:00
Davide Bettio
3c262b40ea Now also cached images loading is async with threads.
svn path=/trunk/KDE/kdelibs/; revision=1099054
2010-03-04 23:22:24 +00:00
Davide Bettio
99855d8afd Async cache image save with QRunnable.
http://reviewboard.kde.org/r/3123/

svn path=/trunk/KDE/kdelibs/; revision=1098980
2010-03-04 21:04:45 +00:00
Davide Bettio
3411b5c8cd This commit adds support to multiple render threads in Plasma::Wallpaper and rendering queuing support.
This commit will fix at least one bug (but it might fix more bugs as side effect).
http://reviewboard.kde.org/r/3092/

svn path=/trunk/KDE/kdelibs/; revision=1098658
2010-03-04 01:33:19 +00:00
Petri Damstén
6fa744bb10 Call initScript in wallpaper init, otherwise initWallpaper might be called before initScript.
svn path=/trunk/KDE/kdelibs/; revision=1050504
2009-11-17 13:29:40 +00:00
Petri Damstén
289b9ac1eb Add WallpaperScript.
Review: http://reviewboard.kde.org/r/1984/

svn path=/trunk/KDE/kdelibs/; revision=1042086
2009-10-29 05:54:11 +00:00
Yuen Hoe Lim
2a5325af51 Amendments to Plasma::Wallpaper for wallpaper contextual actions support.
svn path=/trunk/KDE/kdelibs/; revision=1034320
2009-10-12 13:01:51 +00:00
Aaron J. Seigo
e41352c6ec move our data files into a common place with some decent organization
svn path=/trunk/KDE/kdelibs/; revision=1019549
2009-09-03 20:40:22 +00:00
Aaron J. Seigo
170e38756f usingDiskCache -> usingRenderingCache; removes the implementation detail that it's caching to a disk from the method names; also revert the eroneous setter i added to Wallpaper, it was already there as isUsingRenderingCache
svn path=/trunk/KDE/kdelibs/; revision=967627
2009-05-13 16:13:56 +00:00
Aaron J. Seigo
ba9927eadf add a getter and a Q_PROPERTY for the caching setting
svn path=/trunk/KDE/kdelibs/; revision=967619
2009-05-13 16:03:59 +00:00
Aaron J. Seigo
a792e89d2d the Ptr is reference counted, so don't also give it a QObject pointer, otherwise it gets deleted potentially twice: once when the parent is deleted and again when the last Ptr deref's ... since the Ptr provides mem management, the parent is completely uneeded anyways
svn path=/trunk/KDE/kdelibs/; revision=954078
2009-04-15 02:39:49 +00:00
Aaron J. Seigo
e93021bbb8 don't exec the job, rely on the app to do the right thing (KGlobal ref/deref);
also don't bother with empty keys (mandelbrot paper was pulling that stunt ;)

svn path=/trunk/KDE/kdelibs/; revision=953897
2009-04-14 17:37:40 +00:00