Commit Graph

39 Commits

Author SHA1 Message Date
David Faure
9057ce0c70 Fix compilation with the new cmake automoc stuff. 2012-02-08 23:34:07 +01:00
Stephen Kelly
b1b68adb7d Don't use the QtGui module name in includes.
In Qt5, many of them are moved to QtWidgets, so this is the only
way to be source compatible with both Qt 4 and Qt 5.
2012-02-02 10:35:53 +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
71d807c353 Merge remote branch 'origin/KDE/4.7' into frameworks
Conflicts:
	CMakeLists.txt
	kio/kfile/kfilemetadatareaderprocess.cpp
	plasma/CMakeLists.txt
	plasma/packagestructure.cpp
	plasma/private/packages.cpp
	threadweaver/Mainpage.dox
2011-12-04 14:25:38 +01:00
Jaime Torres
4aa690ccc8 return a double usind qMin
qMin is a template, use the right datatype for it.
part of review 103323
2011-12-04 12:28:04 +01:00
Aaron Seigo
82eee5c3b7 avoid compiling in debug strings when compiled without debug 2011-07-29 15:46:52 +02:00
Aaron J. Seigo
a1b6257416 save some memory
svn path=/trunk/KDE/kdelibs/; revision=1101263
2010-03-09 19:59:34 +00:00
Aurélien Gâteau
e510b513c6 Fix use of uninitialized variable (thanks to Valgrind)
setMinimumSize() ... -> setGeometry() ... -> updateDataBuffer()
and updateDataBuffer() uses horizontalScale.

svn path=/trunk/KDE/kdelibs/; revision=1064695
2009-12-21 13:48:24 +00:00
Laurent Montel
5dd9e528fa Add missing read function
svn path=/trunk/KDE/kdelibs/; revision=981749
2009-06-14 09:51:10 +00:00
Aaron J. Seigo
6ca62962e2 do a sweep for kapplication usage
svn path=/trunk/KDE/kdelibs/; revision=963961
2009-05-05 18:11:50 +00:00
Petri Damstén
13e9b7c2c4 delete svgBackground even if svgFilename is empty so it can be resetted.
svn path=/trunk/KDE/kdelibs/; revision=930783
2009-02-24 08:47:03 +00:00
Artur Duque de Souza
cae61ee4ca Use enums from KIconLoader
Instead of using hardcore numbers, it would be great to use the enums provided by 
KIconLoader whenever we use sizes for icons.

Made the change for the obvious ones replacing "16" by KIconLoader::SizeSmall, 
"22" by KIconLoader::SizeSmallMedium and "32" by KIconLoader::SizeMedium.

svn path=/trunk/KDE/kdelibs/; revision=926544
2009-02-15 16:35:52 +00:00
Marco Martin
786bd0be2a draw the black block only is there is no svg background
svn path=/trunk/KDE/kdelibs/; revision=903932
2008-12-31 17:30:52 +00:00
Marco Martin
17bd4d2e99 use the svg background as default
svn path=/trunk/KDE/kdelibs/; revision=903928
2008-12-31 17:19:48 +00:00
Marco Martin
1d7144e6f7 die hardcoded colors, die!
svn path=/trunk/KDE/kdelibs/; revision=894466
2008-12-08 17:51:53 +00:00
Aaron J. Seigo
1376b1dc9b consistent mocing
svn path=/trunk/KDE/kdelibs/; revision=884497
2008-11-15 06:11:17 +00:00
Aaron J. Seigo
df73771a1b ++compile
svn path=/trunk/KDE/kdelibs/; revision=879801
2008-11-04 02:55:37 +00:00
Aaron J. Seigo
1b523b9054 ok, this time JUST the plasma dir ;)
svn path=/trunk/KDE/kdelibs/; revision=879759
2008-11-03 23:08:39 +00:00
Aaron J. Seigo
fa5a2d87d9 bum-de-dum! plasma to kdelibs.
svn path=/trunk/KDE/kdelibs/; revision=879757
2008-11-03 23:03:26 +00:00
Allen Winter
214ac5f91f clean up some kDebugs and kWarnings.
shorten some extra long lines.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870290
2008-10-12 10:20:02 +00:00
Allen Winter
eae853582b coding style fixes.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870205
2008-10-12 01:31:54 +00:00
Dirk Mueller
93a8a87368 stop crashing due to undefined destruction order
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=845983
2008-08-12 18:41:56 +00:00
Alex Merry
7bd180b8bb Catch a memory leak in Plasma::Frame, and make use of QObject parenting where possible.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=845534
2008-08-11 23:26:13 +00:00
Marco Martin
424e4e1c21 SVN_SILENT style fix
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=839105
2008-07-29 11:51:57 +00:00
Marco Martin
235b643d03 fix mem leak
should i backport it to 4.1?
CCMAIL:plasma-devel@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=839007
2008-07-29 09:10:14 +00:00
Bram Schoenmakers
2fc6f26c86 Remove unused variable.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=838503
2008-07-28 00:33:41 +00:00
Marijn Kruisselbrink
21b148b963 change all ClassName::Private classes to ClassNamePrivate, and adjust friends accordingly; this makes plasma compilable with gcc < 4.2
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=826893
2008-07-01 18:56:43 +00:00
Marco Martin
d0ba4e77ec Api change:
Plasma::Svg(imagePath, parent) -> Plasma::Svg(parent)  and
Plasma::PanelSvg(imagePath, parent) -> Plasma::PanelSvg(parent)
updated as needed every class that was using Svg or PanelSvg

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800143
2008-04-23 13:07:41 +00:00
Petri Damstén
77e66bc8fb Convert Meter and SignalPlotter to QGraphicsWidget based widgets
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=799477
2008-04-21 16:26:18 +00:00
Dirk Mueller
9859202dbe typo: seperator -> separator
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=793603
2008-04-04 14:41:19 +00:00
Dan Meltzer
7f624f85d9 Revert one large git mess
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=780657
2008-02-29 17:50:57 +00:00
Dan Meltzer
a081559257 Commit initial progress of work to port to qt4.4
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=780654
2008-02-29 17:43:31 +00:00
Aaron J. Seigo
b19eb3eaff handful more of krazy fixes and i'm done for the night
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=776988
2008-02-19 09:12:34 +00:00
Percy Leonhardt
84f2fad73e The signalplotter needs to know when it is resized. Otherwise the plots are too short for the current width.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=757903
2008-01-06 12:49:32 +00:00
Marijn Kruisselbrink
a7dcbb5456 fixes for platforms where qreal is not a double
btw, wouldn't it be cleaner if all those qMin(0.0, qMax(1.0, foo)) calls are calls to qBound instead?

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=748283
2007-12-14 01:38:32 +00:00
Adriaan de Groot
02023370f2 Disambiguate pow()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746989
2007-12-10 19:45:45 +00:00
Aaron J. Seigo
329d912f47 SVN_SILENT: more licensing updates ... all done with this now i think =)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=712581
2007-09-14 20:17:11 +00:00
Aaron J. Seigo
e0f831373c SVN_SILENT: add "or later" clause. cleared with copyright holders, except for rich moore's ui loader which i need to ask him for permission for first.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=712549
2007-09-14 19:06:18 +00:00
Percy Leonhardt
9268590942 Added a signalplotter to plasma.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=699576
2007-08-13 15:15:19 +00:00