Commit Graph

48 Commits

Author SHA1 Message Date
Aaron J. Seigo
bbaebc6b1b move workspace/plasma/lib to workspace/lib/plasma so that we can do:
#include <plasma/foo.h>

in headers in libplasma. this is important so that they can be used post-install by third party plugins, apps, etc.

also, changed Applet::loadDataEngine to just Applet::dataEngine and make it actually return the data engine; move the applets to using it. safer and fewer LoC

svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=670850
2007-06-02 17:29:39 +00:00
Alexander Wiedenbruch
0de27801c9 Add KarambaManager for easier loading of SuperKaramba themes
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=670527
2007-06-01 21:32:03 +00:00
Aaron J. Seigo
2c5f8a75bf move Corona to libplasma where others can enjoy it and where we can use it from Applet
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=670279
2007-05-31 22:27:33 +00:00
Matt Williams
d0bf0c8c09 Install the plasma_export header
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=669833
2007-05-30 14:34:12 +00:00
Aaron J. Seigo
77307ba1dd icon buttons generally work now. huzzah. you can theme them with iconbutton.svg with the following elements, all of which are optional:
- background
 - background-hover
 - background-pressed
 - foreground
 - foregound-hover
 - foreground-pressed

what each does is left as an exercise for the reader ;)

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=669620
2007-05-29 20:37:21 +00:00
Aaron J. Seigo
3f2e92b6ae add the start of an icon button. the stupid number of svg's needs to be wrapped into two with svg elements for them, geometry isn't managed right (e.g. we ignore text width) etc.. but the basics exist. should be usable by hacking's end tomorrow, and then we can play with using them to pop menus and expanders. i'll get to Phase yet ;)
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=669394
2007-05-29 07:59:50 +00:00
Aaron J. Seigo
ae5c3a8c8c take Interface out of the build
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668669
2007-05-27 07:59:56 +00:00
Aaron J. Seigo
8288d58356 DataVisualization remained anemic: it was only offering a single SLOT, and it was pure virtual at that. to keep the inheritance tree sane, it has been removed.
Widget remains problematic as it uses QGraphicsItem API, but it needs to be subclassed by items that are already QGraphicsItems. ugh.

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668083
2007-05-25 02:27:33 +00:00
Aaron J. Seigo
1f797b162f * applet loading
* make the library names appear in descending order of specificity (plasma_kind_instance)

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668019
2007-05-24 20:01:12 +00:00
Aaron J. Seigo
19169e84ea * move DataEngineManager into libplasma and the Plasma namespace
* add CamelCaseIncludes for DataSource and DataEngineManager

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667603
2007-05-23 07:51:28 +00:00
Matias Valdenegro Toro
90cf45ff02 Add the files to the build system.
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667385
2007-05-22 17:07:00 +00:00
Aaron J. Seigo
97c22c59d2 add a CamelCaseHeader for DataVisualization
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667149
2007-05-21 23:44:15 +00:00
Aaron J. Seigo
8e7ccadd75 pino showed me the wonders of set_target_properties. rock on!
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666770
2007-05-20 21:05:27 +00:00
Aaron J. Seigo
08707215dd apparently we can't have a binary and a library with the same name. so now it's libplasmoid and the binary is plasma.
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666763
2007-05-20 20:54:48 +00:00
Aaron J. Seigo
b8cc485705 * split DataSource into its own files
* move DataSource::Data to DataEngine::Data; this means consumers of DataEngine have no need to know about DataSource as a class

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666756
2007-05-20 20:36:59 +00:00
Aaron J. Seigo
520553079a PLASMA_EXPORT
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666752
2007-05-20 20:13:46 +00:00
Rafael Fernández López
749b581946 No more forgotten things. Style fixing
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666425
2007-05-19 21:00:16 +00:00
Rafael Fernández López
3294b91379 New widget: radio button
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666420
2007-05-19 20:49:16 +00:00
Aaron J. Seigo
4c4b013b89 * implement the engine, source and visualization classes
* queue updates so that multiple calls to setData don't result in a storm of updated signals
* some API cleanups, e.g. connect -> connectSource
* provide and install a ServiceType .desktop; this adds the X-EngineName QString symbol. maybe that's too generic.

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666241
2007-05-19 08:38:46 +00:00
Laurent Montel
2dfd1290be More coherent: install all include name defined by class name
to INSTALL_INCLUDE_DIR/KDE/

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=664144
2007-05-13 08:31:09 +00:00
Siraj Razick
9192c9c7bc SVN_SILENT:make datavisualization install
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=653740
2007-04-14 04:02:09 +00:00
Pino Toscano
c3d0436084 less qt3_support
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=650622
2007-04-04 23:26:24 +00:00
Pino Toscano
3b0846e6f6 move the QT3_SUPPORT definition only where it's needed
svn path=/trunk/KDE/kdebase/runtime/kcontrol/crypto/; revision=650430
2007-04-04 14:47:36 +00:00
Aaron J. Seigo
27f5c75d76 * Runner -> AbstractRunner, to denote that it is an ABC
* fancy includes so third party stuff can do #include <Plasma/Svg> instead of #include "plasma/svg.h", etc

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=644677
2007-03-20 17:37:44 +00:00
Aaron J. Seigo
f66f973917 install the svg.h header so people can use it
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=644234
2007-03-19 15:54:54 +00:00
Siraj Razick
08366a02c8 Make plasma checkbox compile
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=641742
2007-03-12 13:52:12 +00:00
Aaron J. Seigo
5cfabdc869 Plasma::Svg debuts. it is an image centric wrapper around QSvgRenderer that takes care of things such as:
* caching rendered pixmaps
* looking up the images from the Plasma::Theme
* scheduling needed updates, e.g. when the plasma theme changes


svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=640418
2007-03-07 23:27:37 +00:00
Siraj Razick
f084f1d722 SVN_SILENT:Fix Cmake to have PushButton
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=639394
2007-03-05 04:16:05 +00:00
Alexander Wiedenbruch
c360489500 New LineEdit based on QGraphicsTextItem
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=639321
2007-03-04 20:35:37 +00:00
Alexander Wiedenbruch
1cdd84cc85 Remove LineEdit due to licensing issues
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=638673
2007-03-02 21:23:14 +00:00
Alexander Wiedenbruch
239e2afb87 Bring DataVisualization and widget together
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=638571
2007-03-02 14:34:41 +00:00
Alexander Wiedenbruch
585852a0de Move the InputBox from SuperKaramba to Plasma.
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=638393
2007-03-01 19:58:19 +00:00
Matt Broadstone
b49680140c Get things actually building here
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=638147
2007-02-28 23:35:26 +00:00
Aaron J. Seigo
23bcf68924 move the runner class to libplasma, a better place for it really
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=637864
2007-02-28 00:41:09 +00:00
Aaron J. Seigo
ecee37b67c --appletChain.. did this on the wrong system, am committing so i can
test on the dev box

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=637812
2007-02-27 21:53:12 +00:00
Aaron J. Seigo
3de9c853b7 get this to compile at least so i can start to exercise it with krunner
and other such bits. no point on having this just sit on my disk i
suppose =)

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=614239
2006-12-16 23:04:44 +00:00
Laurent Montel
337f506370 Apply Alex patch (now we can use enable-final argument
some module compiles with enable-final now)
As discussed with Alex it's not necessary to have program name
into automoc macro

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=598290
2006-10-23 06:53:27 +00:00
Laurent Montel
11ce1795b3 Necessary to change KDE4_AUTOMOC macro to support
enable-final argument

(there was not a dependancy between <name>_final.cpp file and
moc generated files => moc files were never created)

Not necessary to rebuild all kdelibs just cp kdelibs/cmake/modules/KDE4Macros.cmake <path_kde4>/share/apps/cmake/modules

I ported and tested all kde module (without enable-final argument, it compiles fines (test and program))
Don't try to use enable-final argument for the moment it doesn't compile (but dependancy works)

Regards

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=595039
2006-10-13 07:55:37 +00:00
Laurent Montel
f2b16f1dbc Remove not necessary files
Clean up

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=578374
2006-08-29 06:45:01 +00:00
Allen Winter
14f5a346a8 use library variables, where possible.
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=565833
2006-07-24 16:02:07 +00:00
Dirk Mueller
ab1fc75871 merge bleeding edge. bleeding edge is now again dead
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=558082
2006-07-04 17:09:53 +00:00
Alexander Neundorf
8979e71d50 kde4_header and kde4_footer() are gone now
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=540215
2006-05-12 18:12:37 +00:00
Alexander Neundorf
b0c9b960d3 -add FONTCONFIG_INCLUDE_DIR where required
-cleanup the toplevel CMakeLists.txt a bit
-remove include_directories( CMAKE_CURRENT_SOURCE_DIR CMAKE_CURRENT_BINARY_DIR)
in the subdirs, since this is done now automatically by cmake (the CMAKE_INCLUDE_CURRENT_DIR option
-include_directories(KDE4_INCLUDES) in the toplevel CMakeLists.txt, so it
doesn't have to be done in every subdir

Alex


svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=539914
2006-05-12 00:08:30 +00:00
Alexander Neundorf
842830bc29 -use KDE4_INCLUDES instead of KDE4_INCLUDE_DIR and QT_INCLUDES
Alex

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=522728
2006-03-26 14:52:52 +00:00
Laurent Montel
388d6752bf Fix use cmake variable
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=522125
2006-03-24 14:54:37 +00:00
David Faure
31ffe09826 Use set(CMAKE_INCLUDE_CURRENT_DIR ON) in the toplevel CMakeLists.txt, and we don't need to include
${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} in each and every file anymore [only when subdirs might depend on that].

Also ran a script which makes sure that ${KDE4_INCLUDE_DIR} and ${QT_INCLUDES} are added -last-,
so that installed headers are not preferred over (possibly more uptodate) local headers.

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=521887
2006-03-23 19:24:10 +00:00
Laurent Montel
7dd56dca16 Fix typo
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=521451
2006-03-22 16:06:38 +00:00
Laurent Montel
8a63a2ff83 Add module to compile kdebase with kdelibs-cmake.
BE CARREFULL: Don't try to compile it for the moment (in progress)
Don't use kdelibs trunk for compile it (there is not again test to disable
compile when we compile with kdelibs trunk)
For the moment there was a lot of missing test etc.
I commit it just to allow to lose my changes if there is a pb on my HD.
I will sync cmake from kdelibs trunk to kdelibs-snapshot.
I hope to fix compile today or tomorrow.
CCMAIL: neundorf@kde.org

For the futur we must sync kdelibs/cmake/* to kdelibs-snapshot 
to compile all the time with kdelibs-snapshot

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=514380
2006-02-28 08:01:15 +00:00