Commit Graph

1090 Commits

Author SHA1 Message Date
Marco Martin
cc21f6fcfe applet doesn't inherit from QGraphicsWidget 2012-11-08 18:23:00 +01:00
Aaron Seigo
09cf013164 prepend platformcontents to prefixes 2012-10-31 16:02:23 +01:00
Aaron Seigo
5f22041391 fix build of libplasma merged from 4.10 branch into frameworks 2012-10-31 12:19:38 +01:00
Christoph Feck
03a88c40c0 SVN_SILENT removed 2012-10-31 12:17:19 +01:00
Aaron Seigo
f024af5de1 use KDeclarative to determine the platform paths 2012-10-31 12:16:21 +01:00
David Faure
3e623699ce Merge remote-tracking branch 'origin/KDE/4.10' into frameworks
Conflicts:
	kdecore/services/kmimeglobsfileparser.cpp [whole file is gone]
	kdecore/sycoca/kprotocolinfo.cpp [rewritten in kio; hand-merged]
	kdeui/widgets/kmainwindow.cpp [geometry handling, code is gone]
	kfile/kfileplacesitem.cpp
	kio/kio/kfileitem.cpp [tons of kurl/qmimetype differences for the big if(!d) patch]
	kio/tests/kfileitemtest.cpp [kurl]
	plasma/private/applethandle.cpp [namespace]
	plasma/runnermanager.cpp
	staging/kservice/src/services/kservicetypetrader.h [i18n]
2012-10-30 19:53:28 +01:00
Aaron Seigo
d1140aca7d remove a number of unused variables 2012-10-25 21:17:01 +02:00
Christoph Feck
3f1e310891 Merge branch 'KDE/4.9' into KDE/4.10 2012-10-25 04:27:27 +02:00
Jon Severinsson
a6bcd52059 plasma: QPixmap platform integration has changed in Qt5, disable it for now.
This essentially makes WindowShadows a no-op, but it is better than not compiling...

REVIEW: 106989
2012-10-23 14:10:01 +02:00
Marco Martin
c91905047b check for applet 2012-10-22 16:39:32 +02:00
David Faure
e7e77f118a Merge remote-tracking branch 'origin/KDE/4.10' into frameworks
Conflicts:
	cmake/modules/FindKDE4Internal.cmake [ON vs TRUE]
	experimental/libkdeclarative/kdeclarative.cpp [include changes]
	kdecore/CMakeLists.txt [kshareddatacache.cpp exception support, but file moved]
	kdecore/kernel/kcmdlineargs.cpp [+1 option, but qi18n]
	kdeui/widgets/ktextedit.cpp [moc]
	kdewebkit/kwebpage.cpp [QUrl]
	kfile/kfilewidget.cpp [QUrl]
	kfile/kurlnavigatortogglebutton.cpp [QT_NO_ACCESSIBILITY]
	kinit/kinit.cpp [document path]
	kio/kfile/kurlrequester.cpp [KDE::icon]
	kio/kio/kprotocolmanager.cpp [kded5]
	kio/kio/krun.cpp [document path]
	kioslave/ftp/ftp.cpp [QUrl]
	kioslave/http/kcookiejar/CMakeLists.txt [upd file resurrected]
	kioslave/http/kcookiejar/kcookiescfg.upd [resurrected]
	kioslave/http/kcookiejar/kcookiewin.cpp [KVBox porting]
	mimetypes/kde.xml [kexi gone]
	nepomuk/core/resourcedata.cpp [deleted]
	nepomuk/test/CMakeLists.txt [deleted]
	plasma/private/packages.cpp [Plasma::Applet::NoBackground]
	tier1/kjs/src/kjs/jsonstringify.cpp [unsigned int]
	tier1/solid/src/solid/CMakeLists.txt [hello udisks2]
2012-10-19 15:10:38 +02:00
Montel Laurent
4eeaf0d718 erge remote-tracking branch 'origin/KDE/4.9' into KDE/4.10 2012-10-11 22:35:29 +02:00
Marco Martin
3c55ec6a25 manage buttons even if they are under applet shadow 2012-10-11 21:09:14 +02:00
Montel Laurent
2118a77f73 Merge remote-tracking branch 'origin/KDE/4.9' into KDE/4.10 2012-10-10 23:18:56 +02:00
Jaime Torres
0e45385db4 avoid a possible null pointer ussage
propAnim has been already checked for not being null, but was not
checked here.

REVIEW: 106782
2012-10-10 19:11:21 +02:00
Jaime Torres
fe259f19bb include missing initializations
an uninitialized variable can be the origin of several bugs.
unfortunately, not the one I suffer.

REVIEW: 106781
2012-10-10 19:07:06 +02:00
Marco Martin
3cd6781dca fix handle geometry
in case of big shadows check for a hint about shadow size
always draw full frame for applets with no background
2012-10-10 15:38:43 +02:00
Marco Martin
bab9b0a1a3 don't put buttons if the theme doesn't have any 2012-10-09 18:21:01 +02:00
Marco Martin
95682718bf hint-scrollbar-size element for scrollbar width/height 2012-10-09 17:49:23 +02:00
Aaron Seigo
9d61df3894 default config was completely unused
this was probably not helped by lack of documentation, but it is most
likely because we never found a real world use case for it. all use
cases we can currently imagine are able to be handled using other methods
2012-10-05 18:08:33 +02:00
Giorgos Tsiapaliokas
737650febb expand the theme package in order to include *.svgz files
REVIEW: 106557
2012-09-25 01:06:02 +03:00
Aaron Seigo
1c00d44a50 make DataEngineManager private; use DataEngineConsumer instead 2012-09-24 16:09:16 +02:00
Aaron Seigo
97a13a9dbe make DataEngineConsumer public API
this will become the prefered way to access DataEngines rather than
DataEngineManager which exposes implementation details that need to
be manually managed
2012-09-24 15:52:16 +02:00
Aaron Seigo
35590c27eb use QCoreApplication::applicationName() instead of KAboutData 2012-09-24 15:52:16 +02:00
Giorgos Tsiapaliokas
5652490a0e Add Wallpaper::setPackagePath and Wallpaper::packagePath 2012-09-24 15:22:42 +03:00
Antonis Tsiapaliokas
87c70a42b4 appletDestroyed() is emitted in ~Applet(). But this can happen even if
it isn't destroyed but it just have been deleted. So we rename the
appletDestroyed() to appletDeleted().
2012-09-24 15:05:17 +03:00
Sebastian Kügler
885ca80083 API change: listWallpaperInfoForMimetype listWallpaperInfoForMimeType
(capital T instead of t, in line with mimeType everywhere else)
2012-09-23 01:13:16 +02:00
David Faure
72c4428b03 Fix compilation after kservice framework extraction 2012-09-18 18:23:40 +02:00
David Faure
e23f57ef9e Port KGlobal::mainComponent() to KComponentData::mainComponent()
except in klibrary/kpluginloader, where I just removed the now-useless
argument.
2012-09-16 22:31:57 +02:00
David Faure
0e74ac0cd9 Remove unnecessary kapplication.h includes. 2012-09-04 21:16:49 +02:00
David Faure
3d0d287103 perl -pi -e 's/KGlobal::locale/KLocale::global/' ... 2012-09-03 23:09:27 +02:00
Kevin Funk
7328967f2c Plasma: Compile with ENABLE_REMOTE_WIDGETS on 2012-08-24 14:29:30 +02:00
Nicolas Lécureuil
d50d3a3162 Convert to makedefine01 2012-08-24 03:16:04 +02:00
Nicolas Lécureuil
c87dad12e5 Use config-plasma.h instead of config.g 2012-08-24 02:44:08 +02:00
Kevin Ottens
c474486a59 Add missing config.h include 2012-08-23 22:10:24 +02:00
Nicolas Lécureuil
1e9c19aa5a Remove useless include 2012-08-23 04:15:32 +02:00
Frédéric Sheedy
ddbf7df71b Correction of spelling errors for c++ files 2012-08-12 10:56:17 -04:00
Albert Astals Cid
ac117b6c2d Remove unneded kglobal.h includes
Found with
diff -ub  <( wcgrep -l "kglobal\.h" | sort ) <(wcgrep -l 'KGlobal::\|K_GLOBAL\|KSharedConfigPtr' | sort ) | grep -v CMakeLists.txt | grep ^"-\."
2012-08-06 00:27:15 +02:00
Kevin Ottens
77b49e1a8a Use #if HAVE_X11 instead of #ifdef HAVE_X11 as advised by David 2012-08-03 13:00:02 +02:00
Kevin Ottens
22f74fc0ca More removals of Q_WS_* in favor of Q_OS_* or HAVE_X11 2012-08-03 11:45:20 +02:00
Albert Astals Cid
75ccb1b463 More K_GLOBAL_STATIC -> Q_GLOBAL_STATIC porting
Acked by dfaure
REVIEW: 105611
2012-07-19 21:19:01 +02:00
Marco Martin
f65d8b2abb move all ContainmentPrivate impl in own file 2012-07-17 14:21:45 +02:00
Marco Martin
4a747bf164 appletprivate.cpp -> applet_p.cpp 2012-07-17 13:44:50 +02:00
Marco Martin
095a196120 move qgv privates in graphicsview/private 2012-07-16 21:35:17 +02:00
David Faure
68a7db068b KUrl::List -> QList<QUrl> everywhere. Make KDirNotify API take urls, to avoid conversions in the caller.
DBus, however, needs QList<QUrl> <-> QStringList conversions, which is why
both nepomuk and now KIO have methods for this... => submitted to Qt5's QUrl.
2012-07-15 23:56:29 +02:00
David Faure
02260596a2 Fix compilation with Qt4 2012-06-23 01:00:19 +02:00
Stephen Kelly
9d49500245 Merge remote-tracking branch 'origin/KDE/4.8' into frameworks
Conflicts:
	CMakeLists.txt
	interfaces/terminal/example/CMakeLists.txt
	kdecore/CMakeLists.txt
	kdeui/actions/ktogglefullscreenaction.cpp
	kdeui/widgets/khelpmenu.cpp
	kio/kio/accessmanager.cpp
	kio/kio/accessmanagerreply_p.cpp
	nepomuk/core/nepomukmainmodel.cpp
	nepomuk/core/resourcedata.cpp
	nepomuk/core/resourcemanager.cpp
	nepomuk/query/andterm_p.h
	nepomuk/query/comparisonterm.cpp
	nepomuk/query/comparisonterm_p.h
	nepomuk/query/literalterm.cpp
	nepomuk/query/literalterm_p.h
	nepomuk/query/negationterm.cpp
	nepomuk/query/negationterm_p.h
	nepomuk/query/optionalterm.cpp
	nepomuk/query/optionalterm_p.h
	nepomuk/query/orterm.cpp
	nepomuk/query/orterm_p.h
	nepomuk/query/query.cpp
	nepomuk/query/resourceterm.cpp
	nepomuk/query/resourceterm_p.h
	nepomuk/query/resourcetypeterm.cpp
	nepomuk/query/resourcetypeterm_p.h
	nepomuk/query/term_p.h
	plasma/package.cpp
	plasma/private/service_p.h
	plasma/runnermanager.cpp
	staging/kwidgets/autotests/kiconloader_unittest.cpp
	tier1/kcoreaddons/src/caching/kshareddatacache.cpp
	tier1/kdbusaddons/src/kdbusinterprocesslock.cpp
	tier1/solid/src/solid/backends/fstab/fstabmanager.cpp
	tier1/solid/src/solid/backends/wmi/wmicdrom.cpp
	tier1/solid/src/solid/backends/wmi/wmidevice.cpp
	tier1/solid/src/solid/backends/wmi/wmimanager.cpp
	tier1/solid/src/solid/backends/wmi/wmiopticaldisc.cpp
2012-06-16 13:40:47 +02:00
David Faure
d2a0d70fcd Ran convert-kstandarddirs.pl and fixed compilation (includes) in a few places 2012-06-12 15:02:33 +02:00
David Faure
907c6c2b02 KStandardDirs => QStandardPaths
(mostly using kf5/convert-kstandarddirs.pl)
2012-06-05 01:16:35 +02:00
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