From 9e1686bd6e03167da2706c60e1721e7795c238c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Soutad=C3=A9?= Date: Sat, 11 Feb 2012 14:34:29 +0100 Subject: [PATCH] Add lib/libkdchart --- Makefile | 26 ++-- {libkdchart => lib/libkdchart}/Doxyfile | 0 {libkdchart => lib/libkdchart}/LICENSE.GPL | 0 {libkdchart => lib/libkdchart}/README.txt | 0 .../libkdchart}/include/KDChartAbstractAxis | 0 .../include/KDChartAbstractCartesianDiagram | 0 .../include/KDChartAbstractCoordinatePlane | 0 .../include/KDChartAbstractDiagram | 0 .../include/KDChartAbstractPieDiagram | 0 .../include/KDChartAbstractPolarDiagram | 0 .../include/KDChartAbstractProxyModel | 0 .../include/KDChartAbstractTernaryDiagram | 0 .../include/KDChartAbstractThreeDAttributes | 0 .../include/KDChartAttributesModel | 0 .../include/KDChartBackgroundAttributes | 0 .../libkdchart}/include/KDChartBarAttributes | 0 .../libkdchart}/include/KDChartBarDiagram | 0 .../libkdchart}/include/KDChartCartesianAxis | 0 .../include/KDChartCartesianCoordinatePlane | 0 .../libkdchart}/include/KDChartChart | 0 .../include/KDChartDataValueAttributes | 0 .../include/KDChartDatasetProxyModel | 0 .../include/KDChartDatasetSelector | 0 .../include/KDChartDiagramObserver | 0 .../libkdchart}/include/KDChartEnums | 0 .../include/KDChartFrameAttributes | 0 .../libkdchart}/include/KDChartGlobal | 0 .../libkdchart}/include/KDChartGridAttributes | 0 .../libkdchart}/include/KDChartHeaderFooter | 0 .../libkdchart}/include/KDChartLegend | 0 .../include/KDChartLeveyJenningsAxis | 0 .../KDChartLeveyJenningsCoordinatePlane | 0 .../include/KDChartLeveyJenningsDiagram | 0 .../include/KDChartLeveyJenningsGrid | 0 .../KDChartLeveyJenningsGridAttributes | 0 .../libkdchart}/include/KDChartLineAttributes | 0 .../libkdchart}/include/KDChartLineDiagram | 0 .../include/KDChartMarkerAttributes | 0 .../libkdchart}/include/KDChartMeasure | 0 .../libkdchart}/include/KDChartPaintContext | 0 .../libkdchart}/include/KDChartPalette | 0 .../libkdchart}/include/KDChartPieAttributes | 0 .../libkdchart}/include/KDChartPieDiagram | 0 .../libkdchart}/include/KDChartPlotter | 0 .../include/KDChartPolarCoordinatePlane | 0 .../libkdchart}/include/KDChartPolarDiagram | 0 .../libkdchart}/include/KDChartPosition | 0 .../include/KDChartRelativePosition | 0 .../libkdchart}/include/KDChartRingDiagram | 0 .../include/KDChartRulerAttributes | 0 .../include/KDChartStockBarAttributes | 0 .../libkdchart}/include/KDChartStockDiagram | 0 .../libkdchart}/include/KDChartTernaryAxis | 0 .../include/KDChartTernaryCoordinatePlane | 0 .../include/KDChartTernaryLineDiagram | 0 .../include/KDChartTernaryPointDiagram | 0 .../libkdchart}/include/KDChartTextAttributes | 0 .../include/KDChartThreeDBarAttributes | 0 .../include/KDChartThreeDLineAttributes | 0 .../include/KDChartThreeDPieAttributes | 0 .../include/KDChartValueTrackerAttributes | 0 .../libkdchart}/include/KDChartWidget | 0 .../libkdchart}/include/KDChartZoomParameters | 0 .../libkdchart}/include/KDTextDocument | 0 .../include/ui_KDChartDatasetSelector.h | 0 .../kdablibfakes/include/KDABLibFakes | 0 .../kdablibfakes/src/KDABLibFakes.h | 0 .../src/CartesianCoordinateTransformation.h | 0 .../libkdchart}/src/KDChartAbstractArea.cpp | 0 .../libkdchart}/src/KDChartAbstractArea.h | 0 .../src/KDChartAbstractAreaBase.cpp | 0 .../libkdchart}/src/KDChartAbstractAreaBase.h | 0 .../src/KDChartAbstractAreaBase_p.h | 0 .../src/KDChartAbstractAreaWidget.cpp | 0 .../src/KDChartAbstractAreaWidget.h | 0 .../src/KDChartAbstractAreaWidget_p.h | 0 .../libkdchart}/src/KDChartAbstractArea_p.h | 0 .../libkdchart}/src/KDChartAbstractAxis.cpp | 0 .../libkdchart}/src/KDChartAbstractAxis.h | 0 .../libkdchart}/src/KDChartAbstractAxis_p.h | 0 .../src/KDChartAbstractCartesianDiagram.cpp | 0 .../src/KDChartAbstractCartesianDiagram.h | 0 .../src/KDChartAbstractCartesianDiagram_p.h | 0 .../src/KDChartAbstractCoordinatePlane.cpp | 0 .../src/KDChartAbstractCoordinatePlane.h | 0 .../src/KDChartAbstractCoordinatePlane_p.h | 0 .../src/KDChartAbstractDiagram.cpp | 0 .../libkdchart}/src/KDChartAbstractDiagram.h | 0 .../src/KDChartAbstractDiagram_p.h | 0 .../libkdchart}/src/KDChartAbstractGrid.cpp | 0 .../libkdchart}/src/KDChartAbstractGrid.h | 0 .../src/KDChartAbstractPieDiagram.cpp | 0 .../src/KDChartAbstractPieDiagram.h | 0 .../src/KDChartAbstractPieDiagram_p.h | 0 .../src/KDChartAbstractPolarDiagram.cpp | 0 .../src/KDChartAbstractPolarDiagram.h | 0 .../src/KDChartAbstractPolarDiagram_p.h | 0 .../src/KDChartAbstractProxyModel.cpp | 0 .../src/KDChartAbstractProxyModel.h | 0 .../src/KDChartAbstractThreeDAttributes.cpp | 0 .../src/KDChartAbstractThreeDAttributes.h | 0 .../src/KDChartAbstractThreeDAttributes_p.h | 0 .../src/KDChartAttributesModel.cpp | 0 .../libkdchart}/src/KDChartAttributesModel.h | 0 .../src/KDChartBackgroundAttributes.cpp | 0 .../src/KDChartBackgroundAttributes.h | 0 .../libkdchart}/src/KDChartBarAttributes.cpp | 0 .../libkdchart}/src/KDChartBarAttributes.h | 0 .../libkdchart}/src/KDChartBarDiagram.cpp | 0 .../libkdchart}/src/KDChartBarDiagram.h | 0 .../libkdchart}/src/KDChartBarDiagram_p.cpp | 0 .../libkdchart}/src/KDChartBarDiagram_p.h | 0 .../libkdchart}/src/KDChartCartesianAxis.cpp | 0 .../libkdchart}/src/KDChartCartesianAxis.h | 0 .../libkdchart}/src/KDChartCartesianAxis_p.h | 0 .../src/KDChartCartesianCoordinatePlane.cpp | 0 .../src/KDChartCartesianCoordinatePlane.h | 0 .../src/KDChartCartesianCoordinatePlane_p.h | 0 ...DChartCartesianDiagramDataCompressor_p.cpp | 0 .../KDChartCartesianDiagramDataCompressor_p.h | 0 .../libkdchart}/src/KDChartCartesianGrid.cpp | 0 .../libkdchart}/src/KDChartCartesianGrid.h | 0 .../libkdchart}/src/KDChartChart.cpp | 0 .../libkdchart}/src/KDChartChart.h | 0 .../libkdchart}/src/KDChartChart_p.h | 0 .../src/KDChartDataValueAttributes.cpp | 0 .../src/KDChartDataValueAttributes.h | 0 .../src/KDChartDatasetProxyModel.cpp | 0 .../src/KDChartDatasetProxyModel.h | 0 .../src/KDChartDatasetSelector.cpp | 0 .../libkdchart}/src/KDChartDatasetSelector.h | 0 .../libkdchart}/src/KDChartDatasetSelector.ui | 0 .../src/KDChartDiagramObserver.cpp | 0 .../libkdchart}/src/KDChartDiagramObserver.h | 0 .../libkdchart}/src/KDChartEnums.h | 0 .../src/KDChartFrameAttributes.cpp | 0 .../libkdchart}/src/KDChartFrameAttributes.h | 0 .../libkdchart}/src/KDChartGlobal.h | 0 .../libkdchart}/src/KDChartGridAttributes.cpp | 0 .../libkdchart}/src/KDChartGridAttributes.h | 0 .../libkdchart}/src/KDChartHeaderFooter.cpp | 0 .../libkdchart}/src/KDChartHeaderFooter.h | 0 .../libkdchart}/src/KDChartHeaderFooter_p.h | 0 .../libkdchart}/src/KDChartLayoutItems.cpp | 0 .../libkdchart}/src/KDChartLayoutItems.h | 0 .../libkdchart}/src/KDChartLegend.cpp | 0 .../libkdchart}/src/KDChartLegend.h | 0 .../libkdchart}/src/KDChartLegend_p.h | 0 .../libkdchart}/src/KDChartLineAttributes.cpp | 0 .../libkdchart}/src/KDChartLineAttributes.h | 0 .../libkdchart}/src/KDChartLineDiagram.cpp | 0 .../libkdchart}/src/KDChartLineDiagram.h | 0 .../libkdchart}/src/KDChartLineDiagram_p.cpp | 0 .../libkdchart}/src/KDChartLineDiagram_p.h | 0 .../src/KDChartMarkerAttributes.cpp | 0 .../libkdchart}/src/KDChartMarkerAttributes.h | 0 .../libkdchart}/src/KDChartMeasure.cpp | 0 .../libkdchart}/src/KDChartMeasure.h | 0 .../src/KDChartModelDataCache_p.cpp | 0 .../libkdchart}/src/KDChartModelDataCache_p.h | 0 .../src/KDChartNormalBarDiagram_p.cpp | 0 .../src/KDChartNormalBarDiagram_p.h | 0 .../src/KDChartNormalLineDiagram_p.cpp | 0 .../src/KDChartNormalLineDiagram_p.h | 0 .../src/KDChartNormalLyingBarDiagram_p.cpp | 0 .../src/KDChartNormalLyingBarDiagram_p.h | 0 .../src/KDChartNormalPlotter_p.cpp | 0 .../libkdchart}/src/KDChartNormalPlotter_p.h | 0 .../libkdchart}/src/KDChartNullPaintDevice.h | 0 .../libkdchart}/src/KDChartPaintContext.cpp | 0 .../libkdchart}/src/KDChartPaintContext.h | 0 .../libkdchart}/src/KDChartPainterSaver_p.h | 0 .../libkdchart}/src/KDChartPalette.cpp | 0 .../libkdchart}/src/KDChartPalette.h | 0 .../src/KDChartPercentBarDiagram_p.cpp | 0 .../src/KDChartPercentBarDiagram_p.h | 0 .../src/KDChartPercentLineDiagram_p.cpp | 0 .../src/KDChartPercentLineDiagram_p.h | 0 .../src/KDChartPercentLyingBarDiagram_p.cpp | 0 .../src/KDChartPercentLyingBarDiagram_p.h | 0 .../src/KDChartPercentPlotter_p.cpp | 0 .../libkdchart}/src/KDChartPercentPlotter_p.h | 0 .../libkdchart}/src/KDChartPieAttributes.cpp | 0 .../libkdchart}/src/KDChartPieAttributes.h | 0 .../libkdchart}/src/KDChartPieAttributes_p.h | 0 .../libkdchart}/src/KDChartPieDiagram.cpp | 0 .../libkdchart}/src/KDChartPieDiagram.h | 0 .../libkdchart}/src/KDChartPieDiagram_p.h | 0 .../libkdchart}/src/KDChartPlotter.cpp | 0 .../libkdchart}/src/KDChartPlotter.h | 0 .../libkdchart}/src/KDChartPlotter_p.cpp | 0 .../libkdchart}/src/KDChartPlotter_p.h | 0 .../src/KDChartPolarCoordinatePlane.cpp | 0 .../src/KDChartPolarCoordinatePlane.h | 0 .../src/KDChartPolarCoordinatePlane_p.h | 0 .../libkdchart}/src/KDChartPolarDiagram.cpp | 0 .../libkdchart}/src/KDChartPolarDiagram.h | 0 .../libkdchart}/src/KDChartPolarDiagram_p.h | 0 .../libkdchart}/src/KDChartPolarGrid.cpp | 0 .../libkdchart}/src/KDChartPolarGrid.h | 0 .../libkdchart}/src/KDChartPosition.cpp | 0 .../libkdchart}/src/KDChartPosition.h | 0 .../src/KDChartPrintingParameters.cpp | 0 .../src/KDChartPrintingParameters.h | 0 .../src/KDChartRelativePosition.cpp | 0 .../libkdchart}/src/KDChartRelativePosition.h | 0 .../libkdchart}/src/KDChartRingDiagram.cpp | 0 .../libkdchart}/src/KDChartRingDiagram.h | 0 .../libkdchart}/src/KDChartRingDiagram_p.h | 0 .../src/KDChartRulerAttributes.cpp | 0 .../libkdchart}/src/KDChartRulerAttributes.h | 0 .../src/KDChartSignalCompressor.cpp | 0 .../libkdchart}/src/KDChartSignalCompressor.h | 0 .../src/KDChartStackedBarDiagram_p.cpp | 0 .../src/KDChartStackedBarDiagram_p.h | 0 .../src/KDChartStackedLineDiagram_p.cpp | 0 .../src/KDChartStackedLineDiagram_p.h | 0 .../src/KDChartStackedLyingBarDiagram_p.cpp | 0 .../src/KDChartStackedLyingBarDiagram_p.h | 0 .../src/KDChartStockBarAttributes.cpp | 0 .../src/KDChartStockBarAttributes.h | 0 .../libkdchart}/src/KDChartStockDiagram.cpp | 0 .../libkdchart}/src/KDChartStockDiagram.h | 0 .../libkdchart}/src/KDChartStockDiagram_p.cpp | 0 .../libkdchart}/src/KDChartStockDiagram_p.h | 0 .../libkdchart}/src/KDChartTextArea.cpp | 0 .../libkdchart}/src/KDChartTextArea.h | 0 .../libkdchart}/src/KDChartTextArea_p.h | 0 .../libkdchart}/src/KDChartTextAttributes.cpp | 0 .../libkdchart}/src/KDChartTextAttributes.h | 0 .../src/KDChartThreeDBarAttributes.cpp | 0 .../src/KDChartThreeDBarAttributes.h | 0 .../src/KDChartThreeDBarAttributes_p.h | 0 .../src/KDChartThreeDLineAttributes.cpp | 0 .../src/KDChartThreeDLineAttributes.h | 0 .../src/KDChartThreeDLineAttributes_p.h | 0 .../src/KDChartThreeDPieAttributes.cpp | 0 .../src/KDChartThreeDPieAttributes.h | 0 .../src/KDChartThreeDPieAttributes_p.h | 0 .../src/KDChartValueTrackerAttributes.cpp | 0 .../src/KDChartValueTrackerAttributes.h | 0 .../libkdchart}/src/KDChartWidget.cpp | 0 .../libkdchart}/src/KDChartWidget.h | 0 .../libkdchart}/src/KDChartWidget_p.h | 0 .../libkdchart}/src/KDChartZoomParameters.h | 0 .../libkdchart}/src/KDTextDocument.cpp | 0 .../libkdchart}/src/KDTextDocument.h | 0 {libkdchart => lib/libkdchart}/src/Makefile | 0 .../KDChartTextLabelCache.cpp | 0 .../KDChartTextLabelCache.h | 0 .../src/Scenery/ChartGraphicsItem.cpp | 0 .../src/Scenery/ChartGraphicsItem.h | 0 .../libkdchart}/src/Scenery/ReverseMapper.cpp | 0 .../libkdchart}/src/Scenery/ReverseMapper.h | 0 .../Ternary/KDChartAbstractTernaryDiagram.cpp | 0 .../Ternary/KDChartAbstractTernaryDiagram.h | 0 .../Ternary/KDChartAbstractTernaryDiagram_p.h | 0 .../src/Ternary/KDChartTernaryAxis.cpp | 0 .../src/Ternary/KDChartTernaryAxis.h | 0 .../Ternary/KDChartTernaryCoordinatePlane.cpp | 0 .../Ternary/KDChartTernaryCoordinatePlane.h | 0 .../Ternary/KDChartTernaryCoordinatePlane_p.h | 0 .../src/Ternary/KDChartTernaryGrid.cpp | 0 .../src/Ternary/KDChartTernaryGrid.h | 0 .../src/Ternary/KDChartTernaryLineDiagram.cpp | 0 .../src/Ternary/KDChartTernaryLineDiagram.h | 0 .../src/Ternary/KDChartTernaryLineDiagram_p.h | 0 .../Ternary/KDChartTernaryPointDiagram.cpp | 0 .../src/Ternary/KDChartTernaryPointDiagram.h | 0 .../Ternary/KDChartTernaryPointDiagram_p.h | 0 .../src/Ternary/TernaryConstants.cpp | 0 .../src/Ternary/TernaryConstants.h | 0 .../libkdchart}/src/Ternary/TernaryPoint.cpp | 0 .../libkdchart}/src/Ternary/TernaryPoint.h | 0 .../libkdchart}/src/kdchart_export.h | 0 .../src/ui_KDChartDatasetSelector.h | 0 src/view/ExportPanel.cpp | 145 ++++++++++++++++++ src/view/ExportPanel.hpp | 63 ++++++++ 278 files changed, 221 insertions(+), 13 deletions(-) rename {libkdchart => lib/libkdchart}/Doxyfile (100%) rename {libkdchart => lib/libkdchart}/LICENSE.GPL (100%) rename {libkdchart => lib/libkdchart}/README.txt (100%) rename {libkdchart => lib/libkdchart}/include/KDChartAbstractAxis (100%) rename {libkdchart => lib/libkdchart}/include/KDChartAbstractCartesianDiagram (100%) rename {libkdchart => lib/libkdchart}/include/KDChartAbstractCoordinatePlane (100%) rename {libkdchart => lib/libkdchart}/include/KDChartAbstractDiagram (100%) rename {libkdchart => lib/libkdchart}/include/KDChartAbstractPieDiagram (100%) rename {libkdchart => lib/libkdchart}/include/KDChartAbstractPolarDiagram (100%) rename {libkdchart => lib/libkdchart}/include/KDChartAbstractProxyModel (100%) rename {libkdchart => lib/libkdchart}/include/KDChartAbstractTernaryDiagram (100%) rename {libkdchart => lib/libkdchart}/include/KDChartAbstractThreeDAttributes (100%) rename {libkdchart => lib/libkdchart}/include/KDChartAttributesModel (100%) rename {libkdchart => lib/libkdchart}/include/KDChartBackgroundAttributes (100%) rename {libkdchart => lib/libkdchart}/include/KDChartBarAttributes (100%) rename {libkdchart => lib/libkdchart}/include/KDChartBarDiagram (100%) rename {libkdchart => lib/libkdchart}/include/KDChartCartesianAxis (100%) rename {libkdchart => lib/libkdchart}/include/KDChartCartesianCoordinatePlane (100%) rename {libkdchart => lib/libkdchart}/include/KDChartChart (100%) rename {libkdchart => lib/libkdchart}/include/KDChartDataValueAttributes (100%) rename {libkdchart => lib/libkdchart}/include/KDChartDatasetProxyModel (100%) rename {libkdchart => lib/libkdchart}/include/KDChartDatasetSelector (100%) rename {libkdchart => lib/libkdchart}/include/KDChartDiagramObserver (100%) rename {libkdchart => lib/libkdchart}/include/KDChartEnums (100%) rename {libkdchart => lib/libkdchart}/include/KDChartFrameAttributes (100%) rename {libkdchart => lib/libkdchart}/include/KDChartGlobal (100%) rename {libkdchart => lib/libkdchart}/include/KDChartGridAttributes (100%) rename {libkdchart => lib/libkdchart}/include/KDChartHeaderFooter (100%) rename {libkdchart => lib/libkdchart}/include/KDChartLegend (100%) rename {libkdchart => lib/libkdchart}/include/KDChartLeveyJenningsAxis (100%) rename {libkdchart => lib/libkdchart}/include/KDChartLeveyJenningsCoordinatePlane (100%) rename {libkdchart => lib/libkdchart}/include/KDChartLeveyJenningsDiagram (100%) rename {libkdchart => lib/libkdchart}/include/KDChartLeveyJenningsGrid (100%) rename {libkdchart => lib/libkdchart}/include/KDChartLeveyJenningsGridAttributes (100%) rename {libkdchart => lib/libkdchart}/include/KDChartLineAttributes (100%) rename {libkdchart => lib/libkdchart}/include/KDChartLineDiagram (100%) rename {libkdchart => lib/libkdchart}/include/KDChartMarkerAttributes (100%) rename {libkdchart => lib/libkdchart}/include/KDChartMeasure (100%) rename {libkdchart => lib/libkdchart}/include/KDChartPaintContext (100%) rename {libkdchart => lib/libkdchart}/include/KDChartPalette (100%) rename {libkdchart => lib/libkdchart}/include/KDChartPieAttributes (100%) rename {libkdchart => lib/libkdchart}/include/KDChartPieDiagram (100%) rename {libkdchart => lib/libkdchart}/include/KDChartPlotter (100%) rename {libkdchart => lib/libkdchart}/include/KDChartPolarCoordinatePlane (100%) rename {libkdchart => lib/libkdchart}/include/KDChartPolarDiagram (100%) rename {libkdchart => lib/libkdchart}/include/KDChartPosition (100%) rename {libkdchart => lib/libkdchart}/include/KDChartRelativePosition (100%) rename {libkdchart => lib/libkdchart}/include/KDChartRingDiagram (100%) rename {libkdchart => lib/libkdchart}/include/KDChartRulerAttributes (100%) rename {libkdchart => lib/libkdchart}/include/KDChartStockBarAttributes (100%) rename {libkdchart => lib/libkdchart}/include/KDChartStockDiagram (100%) rename {libkdchart => lib/libkdchart}/include/KDChartTernaryAxis (100%) rename {libkdchart => lib/libkdchart}/include/KDChartTernaryCoordinatePlane (100%) rename {libkdchart => lib/libkdchart}/include/KDChartTernaryLineDiagram (100%) rename {libkdchart => lib/libkdchart}/include/KDChartTernaryPointDiagram (100%) rename {libkdchart => lib/libkdchart}/include/KDChartTextAttributes (100%) rename {libkdchart => lib/libkdchart}/include/KDChartThreeDBarAttributes (100%) rename {libkdchart => lib/libkdchart}/include/KDChartThreeDLineAttributes (100%) rename {libkdchart => lib/libkdchart}/include/KDChartThreeDPieAttributes (100%) rename {libkdchart => lib/libkdchart}/include/KDChartValueTrackerAttributes (100%) rename {libkdchart => lib/libkdchart}/include/KDChartWidget (100%) rename {libkdchart => lib/libkdchart}/include/KDChartZoomParameters (100%) rename {libkdchart => lib/libkdchart}/include/KDTextDocument (100%) rename {libkdchart => lib/libkdchart}/include/ui_KDChartDatasetSelector.h (100%) rename {libkdchart => lib/libkdchart}/kdablibfakes/include/KDABLibFakes (100%) rename {libkdchart => lib/libkdchart}/kdablibfakes/src/KDABLibFakes.h (100%) rename {libkdchart => lib/libkdchart}/src/CartesianCoordinateTransformation.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartAbstractArea.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartAbstractArea.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartAbstractAreaBase.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartAbstractAreaBase.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartAbstractAreaBase_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartAbstractAreaWidget.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartAbstractAreaWidget.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartAbstractAreaWidget_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartAbstractArea_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartAbstractAxis.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartAbstractAxis.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartAbstractAxis_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartAbstractCartesianDiagram.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartAbstractCartesianDiagram.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartAbstractCartesianDiagram_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartAbstractCoordinatePlane.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartAbstractCoordinatePlane.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartAbstractCoordinatePlane_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartAbstractDiagram.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartAbstractDiagram.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartAbstractDiagram_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartAbstractGrid.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartAbstractGrid.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartAbstractPieDiagram.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartAbstractPieDiagram.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartAbstractPieDiagram_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartAbstractPolarDiagram.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartAbstractPolarDiagram.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartAbstractPolarDiagram_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartAbstractProxyModel.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartAbstractProxyModel.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartAbstractThreeDAttributes.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartAbstractThreeDAttributes.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartAbstractThreeDAttributes_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartAttributesModel.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartAttributesModel.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartBackgroundAttributes.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartBackgroundAttributes.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartBarAttributes.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartBarAttributes.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartBarDiagram.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartBarDiagram.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartBarDiagram_p.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartBarDiagram_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartCartesianAxis.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartCartesianAxis.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartCartesianAxis_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartCartesianCoordinatePlane.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartCartesianCoordinatePlane.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartCartesianCoordinatePlane_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartCartesianDiagramDataCompressor_p.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartCartesianDiagramDataCompressor_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartCartesianGrid.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartCartesianGrid.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartChart.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartChart.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartChart_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartDataValueAttributes.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartDataValueAttributes.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartDatasetProxyModel.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartDatasetProxyModel.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartDatasetSelector.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartDatasetSelector.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartDatasetSelector.ui (100%) rename {libkdchart => lib/libkdchart}/src/KDChartDiagramObserver.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartDiagramObserver.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartEnums.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartFrameAttributes.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartFrameAttributes.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartGlobal.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartGridAttributes.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartGridAttributes.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartHeaderFooter.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartHeaderFooter.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartHeaderFooter_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartLayoutItems.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartLayoutItems.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartLegend.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartLegend.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartLegend_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartLineAttributes.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartLineAttributes.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartLineDiagram.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartLineDiagram.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartLineDiagram_p.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartLineDiagram_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartMarkerAttributes.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartMarkerAttributes.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartMeasure.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartMeasure.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartModelDataCache_p.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartModelDataCache_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartNormalBarDiagram_p.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartNormalBarDiagram_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartNormalLineDiagram_p.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartNormalLineDiagram_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartNormalLyingBarDiagram_p.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartNormalLyingBarDiagram_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartNormalPlotter_p.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartNormalPlotter_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartNullPaintDevice.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartPaintContext.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartPaintContext.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartPainterSaver_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartPalette.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartPalette.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartPercentBarDiagram_p.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartPercentBarDiagram_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartPercentLineDiagram_p.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartPercentLineDiagram_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartPercentLyingBarDiagram_p.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartPercentLyingBarDiagram_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartPercentPlotter_p.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartPercentPlotter_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartPieAttributes.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartPieAttributes.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartPieAttributes_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartPieDiagram.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartPieDiagram.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartPieDiagram_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartPlotter.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartPlotter.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartPlotter_p.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartPlotter_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartPolarCoordinatePlane.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartPolarCoordinatePlane.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartPolarCoordinatePlane_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartPolarDiagram.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartPolarDiagram.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartPolarDiagram_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartPolarGrid.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartPolarGrid.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartPosition.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartPosition.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartPrintingParameters.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartPrintingParameters.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartRelativePosition.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartRelativePosition.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartRingDiagram.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartRingDiagram.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartRingDiagram_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartRulerAttributes.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartRulerAttributes.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartSignalCompressor.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartSignalCompressor.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartStackedBarDiagram_p.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartStackedBarDiagram_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartStackedLineDiagram_p.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartStackedLineDiagram_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartStackedLyingBarDiagram_p.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartStackedLyingBarDiagram_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartStockBarAttributes.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartStockBarAttributes.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartStockDiagram.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartStockDiagram.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartStockDiagram_p.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartStockDiagram_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartTextArea.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartTextArea.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartTextArea_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartTextAttributes.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartTextAttributes.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartThreeDBarAttributes.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartThreeDBarAttributes.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartThreeDBarAttributes_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartThreeDLineAttributes.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartThreeDLineAttributes.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartThreeDLineAttributes_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartThreeDPieAttributes.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartThreeDPieAttributes.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartThreeDPieAttributes_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartValueTrackerAttributes.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartValueTrackerAttributes.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartWidget.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDChartWidget.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartWidget_p.h (100%) rename {libkdchart => lib/libkdchart}/src/KDChartZoomParameters.h (100%) rename {libkdchart => lib/libkdchart}/src/KDTextDocument.cpp (100%) rename {libkdchart => lib/libkdchart}/src/KDTextDocument.h (100%) rename {libkdchart => lib/libkdchart}/src/Makefile (100%) rename {libkdchart => lib/libkdchart}/src/PrerenderedElements/KDChartTextLabelCache.cpp (100%) rename {libkdchart => lib/libkdchart}/src/PrerenderedElements/KDChartTextLabelCache.h (100%) rename {libkdchart => lib/libkdchart}/src/Scenery/ChartGraphicsItem.cpp (100%) rename {libkdchart => lib/libkdchart}/src/Scenery/ChartGraphicsItem.h (100%) rename {libkdchart => lib/libkdchart}/src/Scenery/ReverseMapper.cpp (100%) rename {libkdchart => lib/libkdchart}/src/Scenery/ReverseMapper.h (100%) rename {libkdchart => lib/libkdchart}/src/Ternary/KDChartAbstractTernaryDiagram.cpp (100%) rename {libkdchart => lib/libkdchart}/src/Ternary/KDChartAbstractTernaryDiagram.h (100%) rename {libkdchart => lib/libkdchart}/src/Ternary/KDChartAbstractTernaryDiagram_p.h (100%) rename {libkdchart => lib/libkdchart}/src/Ternary/KDChartTernaryAxis.cpp (100%) rename {libkdchart => lib/libkdchart}/src/Ternary/KDChartTernaryAxis.h (100%) rename {libkdchart => lib/libkdchart}/src/Ternary/KDChartTernaryCoordinatePlane.cpp (100%) rename {libkdchart => lib/libkdchart}/src/Ternary/KDChartTernaryCoordinatePlane.h (100%) rename {libkdchart => lib/libkdchart}/src/Ternary/KDChartTernaryCoordinatePlane_p.h (100%) rename {libkdchart => lib/libkdchart}/src/Ternary/KDChartTernaryGrid.cpp (100%) rename {libkdchart => lib/libkdchart}/src/Ternary/KDChartTernaryGrid.h (100%) rename {libkdchart => lib/libkdchart}/src/Ternary/KDChartTernaryLineDiagram.cpp (100%) rename {libkdchart => lib/libkdchart}/src/Ternary/KDChartTernaryLineDiagram.h (100%) rename {libkdchart => lib/libkdchart}/src/Ternary/KDChartTernaryLineDiagram_p.h (100%) rename {libkdchart => lib/libkdchart}/src/Ternary/KDChartTernaryPointDiagram.cpp (100%) rename {libkdchart => lib/libkdchart}/src/Ternary/KDChartTernaryPointDiagram.h (100%) rename {libkdchart => lib/libkdchart}/src/Ternary/KDChartTernaryPointDiagram_p.h (100%) rename {libkdchart => lib/libkdchart}/src/Ternary/TernaryConstants.cpp (100%) rename {libkdchart => lib/libkdchart}/src/Ternary/TernaryConstants.h (100%) rename {libkdchart => lib/libkdchart}/src/Ternary/TernaryPoint.cpp (100%) rename {libkdchart => lib/libkdchart}/src/Ternary/TernaryPoint.h (100%) rename {libkdchart => lib/libkdchart}/src/kdchart_export.h (100%) rename {libkdchart => lib/libkdchart}/src/ui_KDChartDatasetSelector.h (100%) create mode 100644 src/view/ExportPanel.cpp create mode 100644 src/view/ExportPanel.hpp diff --git a/Makefile b/Makefile index f346568..da3541f 100644 --- a/Makefile +++ b/Makefile @@ -23,17 +23,17 @@ MOC_HEADERS=$(shell find src/view -name '*.hpp' -type f | tr '\n' ' ') MOCS=$(MOC_HEADERS:.hpp=.objs) MOCS_OBJS=$(MOC_HEADERS:.hpp=.moc) -CXXFLAGS+=-Ilibkdchart/include -Ilibkdchart/src -Ilibkdchart/kdablibfakes/include +CXXFLAGS+=-Ilib/libkdchart/include -Ilib/libkdchart/src -Ilib/libkdchart/kdablibfakes/include CXXFLAGS+=-DKDCHART_BUILD_KDCHART_LIB -KDCHART_SOURCES=$(shell find libkdchart/src -name '*.cpp' -type f | tr '\n' ' ') +KDCHART_SOURCES=$(shell find lib/libkdchart/src -name '*.cpp' -type f | tr '\n' ' ') KDCHART_OBJS=$(KDCHART_SOURCES:.cpp=.o) -UI_CHARTSELECTOR=libkdchart/src/ui_KDChartDatasetSelector.h -KDCHART_MOC_HEADERS=$(shell find libkdchart/src -name '*.h' -type f | tr '\n' ' ') +UI_CHARTSELECTOR=lib/libkdchart/src/ui_KDChartDatasetSelector.h +KDCHART_MOC_HEADERS=$(shell find lib/libkdchart/src -name '*.h' -type f | tr '\n' ' ') KDCHART_MOCS=$(KDCHART_MOC_HEADERS:.h=.objs) KDCHART_MOCS_OBJS=$(KDCHART_MOC_HEADERS:.h=.moc) -LDFLAGS+=libkdchart.a +LDFLAGS+=lib/libkdchart.a -all: mojito libkdchart.a kc +all: mojito lib/libkdchart.a kc clean_all: clean clean_libkdchart @@ -61,18 +61,18 @@ mojito : $(MOCS_OBJS) $(KDCHART_MOCS_OBJS) kc: $(MOCS) $(OBJS) $(CXX) $(CXXFLAGS) $^ -o $@ $(LDFLAGS) -$(UI_CHARTSELECTOR): libkdchart/src/KDChartDatasetSelector.ui +$(UI_CHARTSELECTOR): lib/libkdchart/src/KDChartDatasetSelector.ui uic $< > $(UI_CHARTSELECTOR) sed s/KDCHARTDATASETSELECTOR_H/UI_KDCHARTDATASETSELECTOR_H/g -i $(UI_CHARTSELECTOR) -libkdchart.a: $(UI_CHARTSELECTOR) $(KDCHART_MOCS) $(KDCHART_OBJS) - ar rcu libkdchart.a $(KDCHART_MOCS) $(KDCHART_OBJS) +lib/libkdchart.a: $(UI_CHARTSELECTOR) $(KDCHART_MOCS) $(KDCHART_OBJS) + ar rcu lib/libkdchart.a $(KDCHART_MOCS) $(KDCHART_OBJS) clean_libkdchart: - rm -rf libkdchart.a - find libkdchart -name '*.o' -delete - find libkdchart -type f -name '*.moc' -delete - find libkdchart -type f -name '*.objs' -delete + rm -rf lib/libkdchart.a + find lib/libkdchart -name '*.o' -delete + find lib/libkdchart -type f -name '*.moc' -delete + find lib/libkdchart -type f -name '*.objs' -delete generate_locales: ./tools/generate_locales.sh diff --git a/libkdchart/Doxyfile b/lib/libkdchart/Doxyfile similarity index 100% rename from libkdchart/Doxyfile rename to lib/libkdchart/Doxyfile diff --git a/libkdchart/LICENSE.GPL b/lib/libkdchart/LICENSE.GPL similarity index 100% rename from libkdchart/LICENSE.GPL rename to lib/libkdchart/LICENSE.GPL diff --git a/libkdchart/README.txt b/lib/libkdchart/README.txt similarity index 100% rename from libkdchart/README.txt rename to lib/libkdchart/README.txt diff --git a/libkdchart/include/KDChartAbstractAxis b/lib/libkdchart/include/KDChartAbstractAxis similarity index 100% rename from libkdchart/include/KDChartAbstractAxis rename to lib/libkdchart/include/KDChartAbstractAxis diff --git a/libkdchart/include/KDChartAbstractCartesianDiagram b/lib/libkdchart/include/KDChartAbstractCartesianDiagram similarity index 100% rename from libkdchart/include/KDChartAbstractCartesianDiagram rename to lib/libkdchart/include/KDChartAbstractCartesianDiagram diff --git a/libkdchart/include/KDChartAbstractCoordinatePlane b/lib/libkdchart/include/KDChartAbstractCoordinatePlane similarity index 100% rename from libkdchart/include/KDChartAbstractCoordinatePlane rename to lib/libkdchart/include/KDChartAbstractCoordinatePlane diff --git a/libkdchart/include/KDChartAbstractDiagram b/lib/libkdchart/include/KDChartAbstractDiagram similarity index 100% rename from libkdchart/include/KDChartAbstractDiagram rename to lib/libkdchart/include/KDChartAbstractDiagram diff --git a/libkdchart/include/KDChartAbstractPieDiagram b/lib/libkdchart/include/KDChartAbstractPieDiagram similarity index 100% rename from libkdchart/include/KDChartAbstractPieDiagram rename to lib/libkdchart/include/KDChartAbstractPieDiagram diff --git a/libkdchart/include/KDChartAbstractPolarDiagram b/lib/libkdchart/include/KDChartAbstractPolarDiagram similarity index 100% rename from libkdchart/include/KDChartAbstractPolarDiagram rename to lib/libkdchart/include/KDChartAbstractPolarDiagram diff --git a/libkdchart/include/KDChartAbstractProxyModel b/lib/libkdchart/include/KDChartAbstractProxyModel similarity index 100% rename from libkdchart/include/KDChartAbstractProxyModel rename to lib/libkdchart/include/KDChartAbstractProxyModel diff --git a/libkdchart/include/KDChartAbstractTernaryDiagram b/lib/libkdchart/include/KDChartAbstractTernaryDiagram similarity index 100% rename from libkdchart/include/KDChartAbstractTernaryDiagram rename to lib/libkdchart/include/KDChartAbstractTernaryDiagram diff --git a/libkdchart/include/KDChartAbstractThreeDAttributes b/lib/libkdchart/include/KDChartAbstractThreeDAttributes similarity index 100% rename from libkdchart/include/KDChartAbstractThreeDAttributes rename to lib/libkdchart/include/KDChartAbstractThreeDAttributes diff --git a/libkdchart/include/KDChartAttributesModel b/lib/libkdchart/include/KDChartAttributesModel similarity index 100% rename from libkdchart/include/KDChartAttributesModel rename to lib/libkdchart/include/KDChartAttributesModel diff --git a/libkdchart/include/KDChartBackgroundAttributes b/lib/libkdchart/include/KDChartBackgroundAttributes similarity index 100% rename from libkdchart/include/KDChartBackgroundAttributes rename to lib/libkdchart/include/KDChartBackgroundAttributes diff --git a/libkdchart/include/KDChartBarAttributes b/lib/libkdchart/include/KDChartBarAttributes similarity index 100% rename from libkdchart/include/KDChartBarAttributes rename to lib/libkdchart/include/KDChartBarAttributes diff --git a/libkdchart/include/KDChartBarDiagram b/lib/libkdchart/include/KDChartBarDiagram similarity index 100% rename from libkdchart/include/KDChartBarDiagram rename to lib/libkdchart/include/KDChartBarDiagram diff --git a/libkdchart/include/KDChartCartesianAxis b/lib/libkdchart/include/KDChartCartesianAxis similarity index 100% rename from libkdchart/include/KDChartCartesianAxis rename to lib/libkdchart/include/KDChartCartesianAxis diff --git a/libkdchart/include/KDChartCartesianCoordinatePlane b/lib/libkdchart/include/KDChartCartesianCoordinatePlane similarity index 100% rename from libkdchart/include/KDChartCartesianCoordinatePlane rename to lib/libkdchart/include/KDChartCartesianCoordinatePlane diff --git a/libkdchart/include/KDChartChart b/lib/libkdchart/include/KDChartChart similarity index 100% rename from libkdchart/include/KDChartChart rename to lib/libkdchart/include/KDChartChart diff --git a/libkdchart/include/KDChartDataValueAttributes b/lib/libkdchart/include/KDChartDataValueAttributes similarity index 100% rename from libkdchart/include/KDChartDataValueAttributes rename to lib/libkdchart/include/KDChartDataValueAttributes diff --git a/libkdchart/include/KDChartDatasetProxyModel b/lib/libkdchart/include/KDChartDatasetProxyModel similarity index 100% rename from libkdchart/include/KDChartDatasetProxyModel rename to lib/libkdchart/include/KDChartDatasetProxyModel diff --git a/libkdchart/include/KDChartDatasetSelector b/lib/libkdchart/include/KDChartDatasetSelector similarity index 100% rename from libkdchart/include/KDChartDatasetSelector rename to lib/libkdchart/include/KDChartDatasetSelector diff --git a/libkdchart/include/KDChartDiagramObserver b/lib/libkdchart/include/KDChartDiagramObserver similarity index 100% rename from libkdchart/include/KDChartDiagramObserver rename to lib/libkdchart/include/KDChartDiagramObserver diff --git a/libkdchart/include/KDChartEnums b/lib/libkdchart/include/KDChartEnums similarity index 100% rename from libkdchart/include/KDChartEnums rename to lib/libkdchart/include/KDChartEnums diff --git a/libkdchart/include/KDChartFrameAttributes b/lib/libkdchart/include/KDChartFrameAttributes similarity index 100% rename from libkdchart/include/KDChartFrameAttributes rename to lib/libkdchart/include/KDChartFrameAttributes diff --git a/libkdchart/include/KDChartGlobal b/lib/libkdchart/include/KDChartGlobal similarity index 100% rename from libkdchart/include/KDChartGlobal rename to lib/libkdchart/include/KDChartGlobal diff --git a/libkdchart/include/KDChartGridAttributes b/lib/libkdchart/include/KDChartGridAttributes similarity index 100% rename from libkdchart/include/KDChartGridAttributes rename to lib/libkdchart/include/KDChartGridAttributes diff --git a/libkdchart/include/KDChartHeaderFooter b/lib/libkdchart/include/KDChartHeaderFooter similarity index 100% rename from libkdchart/include/KDChartHeaderFooter rename to lib/libkdchart/include/KDChartHeaderFooter diff --git a/libkdchart/include/KDChartLegend b/lib/libkdchart/include/KDChartLegend similarity index 100% rename from libkdchart/include/KDChartLegend rename to lib/libkdchart/include/KDChartLegend diff --git a/libkdchart/include/KDChartLeveyJenningsAxis b/lib/libkdchart/include/KDChartLeveyJenningsAxis similarity index 100% rename from libkdchart/include/KDChartLeveyJenningsAxis rename to lib/libkdchart/include/KDChartLeveyJenningsAxis diff --git a/libkdchart/include/KDChartLeveyJenningsCoordinatePlane b/lib/libkdchart/include/KDChartLeveyJenningsCoordinatePlane similarity index 100% rename from libkdchart/include/KDChartLeveyJenningsCoordinatePlane rename to lib/libkdchart/include/KDChartLeveyJenningsCoordinatePlane diff --git a/libkdchart/include/KDChartLeveyJenningsDiagram b/lib/libkdchart/include/KDChartLeveyJenningsDiagram similarity index 100% rename from libkdchart/include/KDChartLeveyJenningsDiagram rename to lib/libkdchart/include/KDChartLeveyJenningsDiagram diff --git a/libkdchart/include/KDChartLeveyJenningsGrid b/lib/libkdchart/include/KDChartLeveyJenningsGrid similarity index 100% rename from libkdchart/include/KDChartLeveyJenningsGrid rename to lib/libkdchart/include/KDChartLeveyJenningsGrid diff --git a/libkdchart/include/KDChartLeveyJenningsGridAttributes b/lib/libkdchart/include/KDChartLeveyJenningsGridAttributes similarity index 100% rename from libkdchart/include/KDChartLeveyJenningsGridAttributes rename to lib/libkdchart/include/KDChartLeveyJenningsGridAttributes diff --git a/libkdchart/include/KDChartLineAttributes b/lib/libkdchart/include/KDChartLineAttributes similarity index 100% rename from libkdchart/include/KDChartLineAttributes rename to lib/libkdchart/include/KDChartLineAttributes diff --git a/libkdchart/include/KDChartLineDiagram b/lib/libkdchart/include/KDChartLineDiagram similarity index 100% rename from libkdchart/include/KDChartLineDiagram rename to lib/libkdchart/include/KDChartLineDiagram diff --git a/libkdchart/include/KDChartMarkerAttributes b/lib/libkdchart/include/KDChartMarkerAttributes similarity index 100% rename from libkdchart/include/KDChartMarkerAttributes rename to lib/libkdchart/include/KDChartMarkerAttributes diff --git a/libkdchart/include/KDChartMeasure b/lib/libkdchart/include/KDChartMeasure similarity index 100% rename from libkdchart/include/KDChartMeasure rename to lib/libkdchart/include/KDChartMeasure diff --git a/libkdchart/include/KDChartPaintContext b/lib/libkdchart/include/KDChartPaintContext similarity index 100% rename from libkdchart/include/KDChartPaintContext rename to lib/libkdchart/include/KDChartPaintContext diff --git a/libkdchart/include/KDChartPalette b/lib/libkdchart/include/KDChartPalette similarity index 100% rename from libkdchart/include/KDChartPalette rename to lib/libkdchart/include/KDChartPalette diff --git a/libkdchart/include/KDChartPieAttributes b/lib/libkdchart/include/KDChartPieAttributes similarity index 100% rename from libkdchart/include/KDChartPieAttributes rename to lib/libkdchart/include/KDChartPieAttributes diff --git a/libkdchart/include/KDChartPieDiagram b/lib/libkdchart/include/KDChartPieDiagram similarity index 100% rename from libkdchart/include/KDChartPieDiagram rename to lib/libkdchart/include/KDChartPieDiagram diff --git a/libkdchart/include/KDChartPlotter b/lib/libkdchart/include/KDChartPlotter similarity index 100% rename from libkdchart/include/KDChartPlotter rename to lib/libkdchart/include/KDChartPlotter diff --git a/libkdchart/include/KDChartPolarCoordinatePlane b/lib/libkdchart/include/KDChartPolarCoordinatePlane similarity index 100% rename from libkdchart/include/KDChartPolarCoordinatePlane rename to lib/libkdchart/include/KDChartPolarCoordinatePlane diff --git a/libkdchart/include/KDChartPolarDiagram b/lib/libkdchart/include/KDChartPolarDiagram similarity index 100% rename from libkdchart/include/KDChartPolarDiagram rename to lib/libkdchart/include/KDChartPolarDiagram diff --git a/libkdchart/include/KDChartPosition b/lib/libkdchart/include/KDChartPosition similarity index 100% rename from libkdchart/include/KDChartPosition rename to lib/libkdchart/include/KDChartPosition diff --git a/libkdchart/include/KDChartRelativePosition b/lib/libkdchart/include/KDChartRelativePosition similarity index 100% rename from libkdchart/include/KDChartRelativePosition rename to lib/libkdchart/include/KDChartRelativePosition diff --git a/libkdchart/include/KDChartRingDiagram b/lib/libkdchart/include/KDChartRingDiagram similarity index 100% rename from libkdchart/include/KDChartRingDiagram rename to lib/libkdchart/include/KDChartRingDiagram diff --git a/libkdchart/include/KDChartRulerAttributes b/lib/libkdchart/include/KDChartRulerAttributes similarity index 100% rename from libkdchart/include/KDChartRulerAttributes rename to lib/libkdchart/include/KDChartRulerAttributes diff --git a/libkdchart/include/KDChartStockBarAttributes b/lib/libkdchart/include/KDChartStockBarAttributes similarity index 100% rename from libkdchart/include/KDChartStockBarAttributes rename to lib/libkdchart/include/KDChartStockBarAttributes diff --git a/libkdchart/include/KDChartStockDiagram b/lib/libkdchart/include/KDChartStockDiagram similarity index 100% rename from libkdchart/include/KDChartStockDiagram rename to lib/libkdchart/include/KDChartStockDiagram diff --git a/libkdchart/include/KDChartTernaryAxis b/lib/libkdchart/include/KDChartTernaryAxis similarity index 100% rename from libkdchart/include/KDChartTernaryAxis rename to lib/libkdchart/include/KDChartTernaryAxis diff --git a/libkdchart/include/KDChartTernaryCoordinatePlane b/lib/libkdchart/include/KDChartTernaryCoordinatePlane similarity index 100% rename from libkdchart/include/KDChartTernaryCoordinatePlane rename to lib/libkdchart/include/KDChartTernaryCoordinatePlane diff --git a/libkdchart/include/KDChartTernaryLineDiagram b/lib/libkdchart/include/KDChartTernaryLineDiagram similarity index 100% rename from libkdchart/include/KDChartTernaryLineDiagram rename to lib/libkdchart/include/KDChartTernaryLineDiagram diff --git a/libkdchart/include/KDChartTernaryPointDiagram b/lib/libkdchart/include/KDChartTernaryPointDiagram similarity index 100% rename from libkdchart/include/KDChartTernaryPointDiagram rename to lib/libkdchart/include/KDChartTernaryPointDiagram diff --git a/libkdchart/include/KDChartTextAttributes b/lib/libkdchart/include/KDChartTextAttributes similarity index 100% rename from libkdchart/include/KDChartTextAttributes rename to lib/libkdchart/include/KDChartTextAttributes diff --git a/libkdchart/include/KDChartThreeDBarAttributes b/lib/libkdchart/include/KDChartThreeDBarAttributes similarity index 100% rename from libkdchart/include/KDChartThreeDBarAttributes rename to lib/libkdchart/include/KDChartThreeDBarAttributes diff --git a/libkdchart/include/KDChartThreeDLineAttributes b/lib/libkdchart/include/KDChartThreeDLineAttributes similarity index 100% rename from libkdchart/include/KDChartThreeDLineAttributes rename to lib/libkdchart/include/KDChartThreeDLineAttributes diff --git a/libkdchart/include/KDChartThreeDPieAttributes b/lib/libkdchart/include/KDChartThreeDPieAttributes similarity index 100% rename from libkdchart/include/KDChartThreeDPieAttributes rename to lib/libkdchart/include/KDChartThreeDPieAttributes diff --git a/libkdchart/include/KDChartValueTrackerAttributes b/lib/libkdchart/include/KDChartValueTrackerAttributes similarity index 100% rename from libkdchart/include/KDChartValueTrackerAttributes rename to lib/libkdchart/include/KDChartValueTrackerAttributes diff --git a/libkdchart/include/KDChartWidget b/lib/libkdchart/include/KDChartWidget similarity index 100% rename from libkdchart/include/KDChartWidget rename to lib/libkdchart/include/KDChartWidget diff --git a/libkdchart/include/KDChartZoomParameters b/lib/libkdchart/include/KDChartZoomParameters similarity index 100% rename from libkdchart/include/KDChartZoomParameters rename to lib/libkdchart/include/KDChartZoomParameters diff --git a/libkdchart/include/KDTextDocument b/lib/libkdchart/include/KDTextDocument similarity index 100% rename from libkdchart/include/KDTextDocument rename to lib/libkdchart/include/KDTextDocument diff --git a/libkdchart/include/ui_KDChartDatasetSelector.h b/lib/libkdchart/include/ui_KDChartDatasetSelector.h similarity index 100% rename from libkdchart/include/ui_KDChartDatasetSelector.h rename to lib/libkdchart/include/ui_KDChartDatasetSelector.h diff --git a/libkdchart/kdablibfakes/include/KDABLibFakes b/lib/libkdchart/kdablibfakes/include/KDABLibFakes similarity index 100% rename from libkdchart/kdablibfakes/include/KDABLibFakes rename to lib/libkdchart/kdablibfakes/include/KDABLibFakes diff --git a/libkdchart/kdablibfakes/src/KDABLibFakes.h b/lib/libkdchart/kdablibfakes/src/KDABLibFakes.h similarity index 100% rename from libkdchart/kdablibfakes/src/KDABLibFakes.h rename to lib/libkdchart/kdablibfakes/src/KDABLibFakes.h diff --git a/libkdchart/src/CartesianCoordinateTransformation.h b/lib/libkdchart/src/CartesianCoordinateTransformation.h similarity index 100% rename from libkdchart/src/CartesianCoordinateTransformation.h rename to lib/libkdchart/src/CartesianCoordinateTransformation.h diff --git a/libkdchart/src/KDChartAbstractArea.cpp b/lib/libkdchart/src/KDChartAbstractArea.cpp similarity index 100% rename from libkdchart/src/KDChartAbstractArea.cpp rename to lib/libkdchart/src/KDChartAbstractArea.cpp diff --git a/libkdchart/src/KDChartAbstractArea.h b/lib/libkdchart/src/KDChartAbstractArea.h similarity index 100% rename from libkdchart/src/KDChartAbstractArea.h rename to lib/libkdchart/src/KDChartAbstractArea.h diff --git a/libkdchart/src/KDChartAbstractAreaBase.cpp b/lib/libkdchart/src/KDChartAbstractAreaBase.cpp similarity index 100% rename from libkdchart/src/KDChartAbstractAreaBase.cpp rename to lib/libkdchart/src/KDChartAbstractAreaBase.cpp diff --git a/libkdchart/src/KDChartAbstractAreaBase.h b/lib/libkdchart/src/KDChartAbstractAreaBase.h similarity index 100% rename from libkdchart/src/KDChartAbstractAreaBase.h rename to lib/libkdchart/src/KDChartAbstractAreaBase.h diff --git a/libkdchart/src/KDChartAbstractAreaBase_p.h b/lib/libkdchart/src/KDChartAbstractAreaBase_p.h similarity index 100% rename from libkdchart/src/KDChartAbstractAreaBase_p.h rename to lib/libkdchart/src/KDChartAbstractAreaBase_p.h diff --git a/libkdchart/src/KDChartAbstractAreaWidget.cpp b/lib/libkdchart/src/KDChartAbstractAreaWidget.cpp similarity index 100% rename from libkdchart/src/KDChartAbstractAreaWidget.cpp rename to lib/libkdchart/src/KDChartAbstractAreaWidget.cpp diff --git a/libkdchart/src/KDChartAbstractAreaWidget.h b/lib/libkdchart/src/KDChartAbstractAreaWidget.h similarity index 100% rename from libkdchart/src/KDChartAbstractAreaWidget.h rename to lib/libkdchart/src/KDChartAbstractAreaWidget.h diff --git a/libkdchart/src/KDChartAbstractAreaWidget_p.h b/lib/libkdchart/src/KDChartAbstractAreaWidget_p.h similarity index 100% rename from libkdchart/src/KDChartAbstractAreaWidget_p.h rename to lib/libkdchart/src/KDChartAbstractAreaWidget_p.h diff --git a/libkdchart/src/KDChartAbstractArea_p.h b/lib/libkdchart/src/KDChartAbstractArea_p.h similarity index 100% rename from libkdchart/src/KDChartAbstractArea_p.h rename to lib/libkdchart/src/KDChartAbstractArea_p.h diff --git a/libkdchart/src/KDChartAbstractAxis.cpp b/lib/libkdchart/src/KDChartAbstractAxis.cpp similarity index 100% rename from libkdchart/src/KDChartAbstractAxis.cpp rename to lib/libkdchart/src/KDChartAbstractAxis.cpp diff --git a/libkdchart/src/KDChartAbstractAxis.h b/lib/libkdchart/src/KDChartAbstractAxis.h similarity index 100% rename from libkdchart/src/KDChartAbstractAxis.h rename to lib/libkdchart/src/KDChartAbstractAxis.h diff --git a/libkdchart/src/KDChartAbstractAxis_p.h b/lib/libkdchart/src/KDChartAbstractAxis_p.h similarity index 100% rename from libkdchart/src/KDChartAbstractAxis_p.h rename to lib/libkdchart/src/KDChartAbstractAxis_p.h diff --git a/libkdchart/src/KDChartAbstractCartesianDiagram.cpp b/lib/libkdchart/src/KDChartAbstractCartesianDiagram.cpp similarity index 100% rename from libkdchart/src/KDChartAbstractCartesianDiagram.cpp rename to lib/libkdchart/src/KDChartAbstractCartesianDiagram.cpp diff --git a/libkdchart/src/KDChartAbstractCartesianDiagram.h b/lib/libkdchart/src/KDChartAbstractCartesianDiagram.h similarity index 100% rename from libkdchart/src/KDChartAbstractCartesianDiagram.h rename to lib/libkdchart/src/KDChartAbstractCartesianDiagram.h diff --git a/libkdchart/src/KDChartAbstractCartesianDiagram_p.h b/lib/libkdchart/src/KDChartAbstractCartesianDiagram_p.h similarity index 100% rename from libkdchart/src/KDChartAbstractCartesianDiagram_p.h rename to lib/libkdchart/src/KDChartAbstractCartesianDiagram_p.h diff --git a/libkdchart/src/KDChartAbstractCoordinatePlane.cpp b/lib/libkdchart/src/KDChartAbstractCoordinatePlane.cpp similarity index 100% rename from libkdchart/src/KDChartAbstractCoordinatePlane.cpp rename to lib/libkdchart/src/KDChartAbstractCoordinatePlane.cpp diff --git a/libkdchart/src/KDChartAbstractCoordinatePlane.h b/lib/libkdchart/src/KDChartAbstractCoordinatePlane.h similarity index 100% rename from libkdchart/src/KDChartAbstractCoordinatePlane.h rename to lib/libkdchart/src/KDChartAbstractCoordinatePlane.h diff --git a/libkdchart/src/KDChartAbstractCoordinatePlane_p.h b/lib/libkdchart/src/KDChartAbstractCoordinatePlane_p.h similarity index 100% rename from libkdchart/src/KDChartAbstractCoordinatePlane_p.h rename to lib/libkdchart/src/KDChartAbstractCoordinatePlane_p.h diff --git a/libkdchart/src/KDChartAbstractDiagram.cpp b/lib/libkdchart/src/KDChartAbstractDiagram.cpp similarity index 100% rename from libkdchart/src/KDChartAbstractDiagram.cpp rename to lib/libkdchart/src/KDChartAbstractDiagram.cpp diff --git a/libkdchart/src/KDChartAbstractDiagram.h b/lib/libkdchart/src/KDChartAbstractDiagram.h similarity index 100% rename from libkdchart/src/KDChartAbstractDiagram.h rename to lib/libkdchart/src/KDChartAbstractDiagram.h diff --git a/libkdchart/src/KDChartAbstractDiagram_p.h b/lib/libkdchart/src/KDChartAbstractDiagram_p.h similarity index 100% rename from libkdchart/src/KDChartAbstractDiagram_p.h rename to lib/libkdchart/src/KDChartAbstractDiagram_p.h diff --git a/libkdchart/src/KDChartAbstractGrid.cpp b/lib/libkdchart/src/KDChartAbstractGrid.cpp similarity index 100% rename from libkdchart/src/KDChartAbstractGrid.cpp rename to lib/libkdchart/src/KDChartAbstractGrid.cpp diff --git a/libkdchart/src/KDChartAbstractGrid.h b/lib/libkdchart/src/KDChartAbstractGrid.h similarity index 100% rename from libkdchart/src/KDChartAbstractGrid.h rename to lib/libkdchart/src/KDChartAbstractGrid.h diff --git a/libkdchart/src/KDChartAbstractPieDiagram.cpp b/lib/libkdchart/src/KDChartAbstractPieDiagram.cpp similarity index 100% rename from libkdchart/src/KDChartAbstractPieDiagram.cpp rename to lib/libkdchart/src/KDChartAbstractPieDiagram.cpp diff --git a/libkdchart/src/KDChartAbstractPieDiagram.h b/lib/libkdchart/src/KDChartAbstractPieDiagram.h similarity index 100% rename from libkdchart/src/KDChartAbstractPieDiagram.h rename to lib/libkdchart/src/KDChartAbstractPieDiagram.h diff --git a/libkdchart/src/KDChartAbstractPieDiagram_p.h b/lib/libkdchart/src/KDChartAbstractPieDiagram_p.h similarity index 100% rename from libkdchart/src/KDChartAbstractPieDiagram_p.h rename to lib/libkdchart/src/KDChartAbstractPieDiagram_p.h diff --git a/libkdchart/src/KDChartAbstractPolarDiagram.cpp b/lib/libkdchart/src/KDChartAbstractPolarDiagram.cpp similarity index 100% rename from libkdchart/src/KDChartAbstractPolarDiagram.cpp rename to lib/libkdchart/src/KDChartAbstractPolarDiagram.cpp diff --git a/libkdchart/src/KDChartAbstractPolarDiagram.h b/lib/libkdchart/src/KDChartAbstractPolarDiagram.h similarity index 100% rename from libkdchart/src/KDChartAbstractPolarDiagram.h rename to lib/libkdchart/src/KDChartAbstractPolarDiagram.h diff --git a/libkdchart/src/KDChartAbstractPolarDiagram_p.h b/lib/libkdchart/src/KDChartAbstractPolarDiagram_p.h similarity index 100% rename from libkdchart/src/KDChartAbstractPolarDiagram_p.h rename to lib/libkdchart/src/KDChartAbstractPolarDiagram_p.h diff --git a/libkdchart/src/KDChartAbstractProxyModel.cpp b/lib/libkdchart/src/KDChartAbstractProxyModel.cpp similarity index 100% rename from libkdchart/src/KDChartAbstractProxyModel.cpp rename to lib/libkdchart/src/KDChartAbstractProxyModel.cpp diff --git a/libkdchart/src/KDChartAbstractProxyModel.h b/lib/libkdchart/src/KDChartAbstractProxyModel.h similarity index 100% rename from libkdchart/src/KDChartAbstractProxyModel.h rename to lib/libkdchart/src/KDChartAbstractProxyModel.h diff --git a/libkdchart/src/KDChartAbstractThreeDAttributes.cpp b/lib/libkdchart/src/KDChartAbstractThreeDAttributes.cpp similarity index 100% rename from libkdchart/src/KDChartAbstractThreeDAttributes.cpp rename to lib/libkdchart/src/KDChartAbstractThreeDAttributes.cpp diff --git a/libkdchart/src/KDChartAbstractThreeDAttributes.h b/lib/libkdchart/src/KDChartAbstractThreeDAttributes.h similarity index 100% rename from libkdchart/src/KDChartAbstractThreeDAttributes.h rename to lib/libkdchart/src/KDChartAbstractThreeDAttributes.h diff --git a/libkdchart/src/KDChartAbstractThreeDAttributes_p.h b/lib/libkdchart/src/KDChartAbstractThreeDAttributes_p.h similarity index 100% rename from libkdchart/src/KDChartAbstractThreeDAttributes_p.h rename to lib/libkdchart/src/KDChartAbstractThreeDAttributes_p.h diff --git a/libkdchart/src/KDChartAttributesModel.cpp b/lib/libkdchart/src/KDChartAttributesModel.cpp similarity index 100% rename from libkdchart/src/KDChartAttributesModel.cpp rename to lib/libkdchart/src/KDChartAttributesModel.cpp diff --git a/libkdchart/src/KDChartAttributesModel.h b/lib/libkdchart/src/KDChartAttributesModel.h similarity index 100% rename from libkdchart/src/KDChartAttributesModel.h rename to lib/libkdchart/src/KDChartAttributesModel.h diff --git a/libkdchart/src/KDChartBackgroundAttributes.cpp b/lib/libkdchart/src/KDChartBackgroundAttributes.cpp similarity index 100% rename from libkdchart/src/KDChartBackgroundAttributes.cpp rename to lib/libkdchart/src/KDChartBackgroundAttributes.cpp diff --git a/libkdchart/src/KDChartBackgroundAttributes.h b/lib/libkdchart/src/KDChartBackgroundAttributes.h similarity index 100% rename from libkdchart/src/KDChartBackgroundAttributes.h rename to lib/libkdchart/src/KDChartBackgroundAttributes.h diff --git a/libkdchart/src/KDChartBarAttributes.cpp b/lib/libkdchart/src/KDChartBarAttributes.cpp similarity index 100% rename from libkdchart/src/KDChartBarAttributes.cpp rename to lib/libkdchart/src/KDChartBarAttributes.cpp diff --git a/libkdchart/src/KDChartBarAttributes.h b/lib/libkdchart/src/KDChartBarAttributes.h similarity index 100% rename from libkdchart/src/KDChartBarAttributes.h rename to lib/libkdchart/src/KDChartBarAttributes.h diff --git a/libkdchart/src/KDChartBarDiagram.cpp b/lib/libkdchart/src/KDChartBarDiagram.cpp similarity index 100% rename from libkdchart/src/KDChartBarDiagram.cpp rename to lib/libkdchart/src/KDChartBarDiagram.cpp diff --git a/libkdchart/src/KDChartBarDiagram.h b/lib/libkdchart/src/KDChartBarDiagram.h similarity index 100% rename from libkdchart/src/KDChartBarDiagram.h rename to lib/libkdchart/src/KDChartBarDiagram.h diff --git a/libkdchart/src/KDChartBarDiagram_p.cpp b/lib/libkdchart/src/KDChartBarDiagram_p.cpp similarity index 100% rename from libkdchart/src/KDChartBarDiagram_p.cpp rename to lib/libkdchart/src/KDChartBarDiagram_p.cpp diff --git a/libkdchart/src/KDChartBarDiagram_p.h b/lib/libkdchart/src/KDChartBarDiagram_p.h similarity index 100% rename from libkdchart/src/KDChartBarDiagram_p.h rename to lib/libkdchart/src/KDChartBarDiagram_p.h diff --git a/libkdchart/src/KDChartCartesianAxis.cpp b/lib/libkdchart/src/KDChartCartesianAxis.cpp similarity index 100% rename from libkdchart/src/KDChartCartesianAxis.cpp rename to lib/libkdchart/src/KDChartCartesianAxis.cpp diff --git a/libkdchart/src/KDChartCartesianAxis.h b/lib/libkdchart/src/KDChartCartesianAxis.h similarity index 100% rename from libkdchart/src/KDChartCartesianAxis.h rename to lib/libkdchart/src/KDChartCartesianAxis.h diff --git a/libkdchart/src/KDChartCartesianAxis_p.h b/lib/libkdchart/src/KDChartCartesianAxis_p.h similarity index 100% rename from libkdchart/src/KDChartCartesianAxis_p.h rename to lib/libkdchart/src/KDChartCartesianAxis_p.h diff --git a/libkdchart/src/KDChartCartesianCoordinatePlane.cpp b/lib/libkdchart/src/KDChartCartesianCoordinatePlane.cpp similarity index 100% rename from libkdchart/src/KDChartCartesianCoordinatePlane.cpp rename to lib/libkdchart/src/KDChartCartesianCoordinatePlane.cpp diff --git a/libkdchart/src/KDChartCartesianCoordinatePlane.h b/lib/libkdchart/src/KDChartCartesianCoordinatePlane.h similarity index 100% rename from libkdchart/src/KDChartCartesianCoordinatePlane.h rename to lib/libkdchart/src/KDChartCartesianCoordinatePlane.h diff --git a/libkdchart/src/KDChartCartesianCoordinatePlane_p.h b/lib/libkdchart/src/KDChartCartesianCoordinatePlane_p.h similarity index 100% rename from libkdchart/src/KDChartCartesianCoordinatePlane_p.h rename to lib/libkdchart/src/KDChartCartesianCoordinatePlane_p.h diff --git a/libkdchart/src/KDChartCartesianDiagramDataCompressor_p.cpp b/lib/libkdchart/src/KDChartCartesianDiagramDataCompressor_p.cpp similarity index 100% rename from libkdchart/src/KDChartCartesianDiagramDataCompressor_p.cpp rename to lib/libkdchart/src/KDChartCartesianDiagramDataCompressor_p.cpp diff --git a/libkdchart/src/KDChartCartesianDiagramDataCompressor_p.h b/lib/libkdchart/src/KDChartCartesianDiagramDataCompressor_p.h similarity index 100% rename from libkdchart/src/KDChartCartesianDiagramDataCompressor_p.h rename to lib/libkdchart/src/KDChartCartesianDiagramDataCompressor_p.h diff --git a/libkdchart/src/KDChartCartesianGrid.cpp b/lib/libkdchart/src/KDChartCartesianGrid.cpp similarity index 100% rename from libkdchart/src/KDChartCartesianGrid.cpp rename to lib/libkdchart/src/KDChartCartesianGrid.cpp diff --git a/libkdchart/src/KDChartCartesianGrid.h b/lib/libkdchart/src/KDChartCartesianGrid.h similarity index 100% rename from libkdchart/src/KDChartCartesianGrid.h rename to lib/libkdchart/src/KDChartCartesianGrid.h diff --git a/libkdchart/src/KDChartChart.cpp b/lib/libkdchart/src/KDChartChart.cpp similarity index 100% rename from libkdchart/src/KDChartChart.cpp rename to lib/libkdchart/src/KDChartChart.cpp diff --git a/libkdchart/src/KDChartChart.h b/lib/libkdchart/src/KDChartChart.h similarity index 100% rename from libkdchart/src/KDChartChart.h rename to lib/libkdchart/src/KDChartChart.h diff --git a/libkdchart/src/KDChartChart_p.h b/lib/libkdchart/src/KDChartChart_p.h similarity index 100% rename from libkdchart/src/KDChartChart_p.h rename to lib/libkdchart/src/KDChartChart_p.h diff --git a/libkdchart/src/KDChartDataValueAttributes.cpp b/lib/libkdchart/src/KDChartDataValueAttributes.cpp similarity index 100% rename from libkdchart/src/KDChartDataValueAttributes.cpp rename to lib/libkdchart/src/KDChartDataValueAttributes.cpp diff --git a/libkdchart/src/KDChartDataValueAttributes.h b/lib/libkdchart/src/KDChartDataValueAttributes.h similarity index 100% rename from libkdchart/src/KDChartDataValueAttributes.h rename to lib/libkdchart/src/KDChartDataValueAttributes.h diff --git a/libkdchart/src/KDChartDatasetProxyModel.cpp b/lib/libkdchart/src/KDChartDatasetProxyModel.cpp similarity index 100% rename from libkdchart/src/KDChartDatasetProxyModel.cpp rename to lib/libkdchart/src/KDChartDatasetProxyModel.cpp diff --git a/libkdchart/src/KDChartDatasetProxyModel.h b/lib/libkdchart/src/KDChartDatasetProxyModel.h similarity index 100% rename from libkdchart/src/KDChartDatasetProxyModel.h rename to lib/libkdchart/src/KDChartDatasetProxyModel.h diff --git a/libkdchart/src/KDChartDatasetSelector.cpp b/lib/libkdchart/src/KDChartDatasetSelector.cpp similarity index 100% rename from libkdchart/src/KDChartDatasetSelector.cpp rename to lib/libkdchart/src/KDChartDatasetSelector.cpp diff --git a/libkdchart/src/KDChartDatasetSelector.h b/lib/libkdchart/src/KDChartDatasetSelector.h similarity index 100% rename from libkdchart/src/KDChartDatasetSelector.h rename to lib/libkdchart/src/KDChartDatasetSelector.h diff --git a/libkdchart/src/KDChartDatasetSelector.ui b/lib/libkdchart/src/KDChartDatasetSelector.ui similarity index 100% rename from libkdchart/src/KDChartDatasetSelector.ui rename to lib/libkdchart/src/KDChartDatasetSelector.ui diff --git a/libkdchart/src/KDChartDiagramObserver.cpp b/lib/libkdchart/src/KDChartDiagramObserver.cpp similarity index 100% rename from libkdchart/src/KDChartDiagramObserver.cpp rename to lib/libkdchart/src/KDChartDiagramObserver.cpp diff --git a/libkdchart/src/KDChartDiagramObserver.h b/lib/libkdchart/src/KDChartDiagramObserver.h similarity index 100% rename from libkdchart/src/KDChartDiagramObserver.h rename to lib/libkdchart/src/KDChartDiagramObserver.h diff --git a/libkdchart/src/KDChartEnums.h b/lib/libkdchart/src/KDChartEnums.h similarity index 100% rename from libkdchart/src/KDChartEnums.h rename to lib/libkdchart/src/KDChartEnums.h diff --git a/libkdchart/src/KDChartFrameAttributes.cpp b/lib/libkdchart/src/KDChartFrameAttributes.cpp similarity index 100% rename from libkdchart/src/KDChartFrameAttributes.cpp rename to lib/libkdchart/src/KDChartFrameAttributes.cpp diff --git a/libkdchart/src/KDChartFrameAttributes.h b/lib/libkdchart/src/KDChartFrameAttributes.h similarity index 100% rename from libkdchart/src/KDChartFrameAttributes.h rename to lib/libkdchart/src/KDChartFrameAttributes.h diff --git a/libkdchart/src/KDChartGlobal.h b/lib/libkdchart/src/KDChartGlobal.h similarity index 100% rename from libkdchart/src/KDChartGlobal.h rename to lib/libkdchart/src/KDChartGlobal.h diff --git a/libkdchart/src/KDChartGridAttributes.cpp b/lib/libkdchart/src/KDChartGridAttributes.cpp similarity index 100% rename from libkdchart/src/KDChartGridAttributes.cpp rename to lib/libkdchart/src/KDChartGridAttributes.cpp diff --git a/libkdchart/src/KDChartGridAttributes.h b/lib/libkdchart/src/KDChartGridAttributes.h similarity index 100% rename from libkdchart/src/KDChartGridAttributes.h rename to lib/libkdchart/src/KDChartGridAttributes.h diff --git a/libkdchart/src/KDChartHeaderFooter.cpp b/lib/libkdchart/src/KDChartHeaderFooter.cpp similarity index 100% rename from libkdchart/src/KDChartHeaderFooter.cpp rename to lib/libkdchart/src/KDChartHeaderFooter.cpp diff --git a/libkdchart/src/KDChartHeaderFooter.h b/lib/libkdchart/src/KDChartHeaderFooter.h similarity index 100% rename from libkdchart/src/KDChartHeaderFooter.h rename to lib/libkdchart/src/KDChartHeaderFooter.h diff --git a/libkdchart/src/KDChartHeaderFooter_p.h b/lib/libkdchart/src/KDChartHeaderFooter_p.h similarity index 100% rename from libkdchart/src/KDChartHeaderFooter_p.h rename to lib/libkdchart/src/KDChartHeaderFooter_p.h diff --git a/libkdchart/src/KDChartLayoutItems.cpp b/lib/libkdchart/src/KDChartLayoutItems.cpp similarity index 100% rename from libkdchart/src/KDChartLayoutItems.cpp rename to lib/libkdchart/src/KDChartLayoutItems.cpp diff --git a/libkdchart/src/KDChartLayoutItems.h b/lib/libkdchart/src/KDChartLayoutItems.h similarity index 100% rename from libkdchart/src/KDChartLayoutItems.h rename to lib/libkdchart/src/KDChartLayoutItems.h diff --git a/libkdchart/src/KDChartLegend.cpp b/lib/libkdchart/src/KDChartLegend.cpp similarity index 100% rename from libkdchart/src/KDChartLegend.cpp rename to lib/libkdchart/src/KDChartLegend.cpp diff --git a/libkdchart/src/KDChartLegend.h b/lib/libkdchart/src/KDChartLegend.h similarity index 100% rename from libkdchart/src/KDChartLegend.h rename to lib/libkdchart/src/KDChartLegend.h diff --git a/libkdchart/src/KDChartLegend_p.h b/lib/libkdchart/src/KDChartLegend_p.h similarity index 100% rename from libkdchart/src/KDChartLegend_p.h rename to lib/libkdchart/src/KDChartLegend_p.h diff --git a/libkdchart/src/KDChartLineAttributes.cpp b/lib/libkdchart/src/KDChartLineAttributes.cpp similarity index 100% rename from libkdchart/src/KDChartLineAttributes.cpp rename to lib/libkdchart/src/KDChartLineAttributes.cpp diff --git a/libkdchart/src/KDChartLineAttributes.h b/lib/libkdchart/src/KDChartLineAttributes.h similarity index 100% rename from libkdchart/src/KDChartLineAttributes.h rename to lib/libkdchart/src/KDChartLineAttributes.h diff --git a/libkdchart/src/KDChartLineDiagram.cpp b/lib/libkdchart/src/KDChartLineDiagram.cpp similarity index 100% rename from libkdchart/src/KDChartLineDiagram.cpp rename to lib/libkdchart/src/KDChartLineDiagram.cpp diff --git a/libkdchart/src/KDChartLineDiagram.h b/lib/libkdchart/src/KDChartLineDiagram.h similarity index 100% rename from libkdchart/src/KDChartLineDiagram.h rename to lib/libkdchart/src/KDChartLineDiagram.h diff --git a/libkdchart/src/KDChartLineDiagram_p.cpp b/lib/libkdchart/src/KDChartLineDiagram_p.cpp similarity index 100% rename from libkdchart/src/KDChartLineDiagram_p.cpp rename to lib/libkdchart/src/KDChartLineDiagram_p.cpp diff --git a/libkdchart/src/KDChartLineDiagram_p.h b/lib/libkdchart/src/KDChartLineDiagram_p.h similarity index 100% rename from libkdchart/src/KDChartLineDiagram_p.h rename to lib/libkdchart/src/KDChartLineDiagram_p.h diff --git a/libkdchart/src/KDChartMarkerAttributes.cpp b/lib/libkdchart/src/KDChartMarkerAttributes.cpp similarity index 100% rename from libkdchart/src/KDChartMarkerAttributes.cpp rename to lib/libkdchart/src/KDChartMarkerAttributes.cpp diff --git a/libkdchart/src/KDChartMarkerAttributes.h b/lib/libkdchart/src/KDChartMarkerAttributes.h similarity index 100% rename from libkdchart/src/KDChartMarkerAttributes.h rename to lib/libkdchart/src/KDChartMarkerAttributes.h diff --git a/libkdchart/src/KDChartMeasure.cpp b/lib/libkdchart/src/KDChartMeasure.cpp similarity index 100% rename from libkdchart/src/KDChartMeasure.cpp rename to lib/libkdchart/src/KDChartMeasure.cpp diff --git a/libkdchart/src/KDChartMeasure.h b/lib/libkdchart/src/KDChartMeasure.h similarity index 100% rename from libkdchart/src/KDChartMeasure.h rename to lib/libkdchart/src/KDChartMeasure.h diff --git a/libkdchart/src/KDChartModelDataCache_p.cpp b/lib/libkdchart/src/KDChartModelDataCache_p.cpp similarity index 100% rename from libkdchart/src/KDChartModelDataCache_p.cpp rename to lib/libkdchart/src/KDChartModelDataCache_p.cpp diff --git a/libkdchart/src/KDChartModelDataCache_p.h b/lib/libkdchart/src/KDChartModelDataCache_p.h similarity index 100% rename from libkdchart/src/KDChartModelDataCache_p.h rename to lib/libkdchart/src/KDChartModelDataCache_p.h diff --git a/libkdchart/src/KDChartNormalBarDiagram_p.cpp b/lib/libkdchart/src/KDChartNormalBarDiagram_p.cpp similarity index 100% rename from libkdchart/src/KDChartNormalBarDiagram_p.cpp rename to lib/libkdchart/src/KDChartNormalBarDiagram_p.cpp diff --git a/libkdchart/src/KDChartNormalBarDiagram_p.h b/lib/libkdchart/src/KDChartNormalBarDiagram_p.h similarity index 100% rename from libkdchart/src/KDChartNormalBarDiagram_p.h rename to lib/libkdchart/src/KDChartNormalBarDiagram_p.h diff --git a/libkdchart/src/KDChartNormalLineDiagram_p.cpp b/lib/libkdchart/src/KDChartNormalLineDiagram_p.cpp similarity index 100% rename from libkdchart/src/KDChartNormalLineDiagram_p.cpp rename to lib/libkdchart/src/KDChartNormalLineDiagram_p.cpp diff --git a/libkdchart/src/KDChartNormalLineDiagram_p.h b/lib/libkdchart/src/KDChartNormalLineDiagram_p.h similarity index 100% rename from libkdchart/src/KDChartNormalLineDiagram_p.h rename to lib/libkdchart/src/KDChartNormalLineDiagram_p.h diff --git a/libkdchart/src/KDChartNormalLyingBarDiagram_p.cpp b/lib/libkdchart/src/KDChartNormalLyingBarDiagram_p.cpp similarity index 100% rename from libkdchart/src/KDChartNormalLyingBarDiagram_p.cpp rename to lib/libkdchart/src/KDChartNormalLyingBarDiagram_p.cpp diff --git a/libkdchart/src/KDChartNormalLyingBarDiagram_p.h b/lib/libkdchart/src/KDChartNormalLyingBarDiagram_p.h similarity index 100% rename from libkdchart/src/KDChartNormalLyingBarDiagram_p.h rename to lib/libkdchart/src/KDChartNormalLyingBarDiagram_p.h diff --git a/libkdchart/src/KDChartNormalPlotter_p.cpp b/lib/libkdchart/src/KDChartNormalPlotter_p.cpp similarity index 100% rename from libkdchart/src/KDChartNormalPlotter_p.cpp rename to lib/libkdchart/src/KDChartNormalPlotter_p.cpp diff --git a/libkdchart/src/KDChartNormalPlotter_p.h b/lib/libkdchart/src/KDChartNormalPlotter_p.h similarity index 100% rename from libkdchart/src/KDChartNormalPlotter_p.h rename to lib/libkdchart/src/KDChartNormalPlotter_p.h diff --git a/libkdchart/src/KDChartNullPaintDevice.h b/lib/libkdchart/src/KDChartNullPaintDevice.h similarity index 100% rename from libkdchart/src/KDChartNullPaintDevice.h rename to lib/libkdchart/src/KDChartNullPaintDevice.h diff --git a/libkdchart/src/KDChartPaintContext.cpp b/lib/libkdchart/src/KDChartPaintContext.cpp similarity index 100% rename from libkdchart/src/KDChartPaintContext.cpp rename to lib/libkdchart/src/KDChartPaintContext.cpp diff --git a/libkdchart/src/KDChartPaintContext.h b/lib/libkdchart/src/KDChartPaintContext.h similarity index 100% rename from libkdchart/src/KDChartPaintContext.h rename to lib/libkdchart/src/KDChartPaintContext.h diff --git a/libkdchart/src/KDChartPainterSaver_p.h b/lib/libkdchart/src/KDChartPainterSaver_p.h similarity index 100% rename from libkdchart/src/KDChartPainterSaver_p.h rename to lib/libkdchart/src/KDChartPainterSaver_p.h diff --git a/libkdchart/src/KDChartPalette.cpp b/lib/libkdchart/src/KDChartPalette.cpp similarity index 100% rename from libkdchart/src/KDChartPalette.cpp rename to lib/libkdchart/src/KDChartPalette.cpp diff --git a/libkdchart/src/KDChartPalette.h b/lib/libkdchart/src/KDChartPalette.h similarity index 100% rename from libkdchart/src/KDChartPalette.h rename to lib/libkdchart/src/KDChartPalette.h diff --git a/libkdchart/src/KDChartPercentBarDiagram_p.cpp b/lib/libkdchart/src/KDChartPercentBarDiagram_p.cpp similarity index 100% rename from libkdchart/src/KDChartPercentBarDiagram_p.cpp rename to lib/libkdchart/src/KDChartPercentBarDiagram_p.cpp diff --git a/libkdchart/src/KDChartPercentBarDiagram_p.h b/lib/libkdchart/src/KDChartPercentBarDiagram_p.h similarity index 100% rename from libkdchart/src/KDChartPercentBarDiagram_p.h rename to lib/libkdchart/src/KDChartPercentBarDiagram_p.h diff --git a/libkdchart/src/KDChartPercentLineDiagram_p.cpp b/lib/libkdchart/src/KDChartPercentLineDiagram_p.cpp similarity index 100% rename from libkdchart/src/KDChartPercentLineDiagram_p.cpp rename to lib/libkdchart/src/KDChartPercentLineDiagram_p.cpp diff --git a/libkdchart/src/KDChartPercentLineDiagram_p.h b/lib/libkdchart/src/KDChartPercentLineDiagram_p.h similarity index 100% rename from libkdchart/src/KDChartPercentLineDiagram_p.h rename to lib/libkdchart/src/KDChartPercentLineDiagram_p.h diff --git a/libkdchart/src/KDChartPercentLyingBarDiagram_p.cpp b/lib/libkdchart/src/KDChartPercentLyingBarDiagram_p.cpp similarity index 100% rename from libkdchart/src/KDChartPercentLyingBarDiagram_p.cpp rename to lib/libkdchart/src/KDChartPercentLyingBarDiagram_p.cpp diff --git a/libkdchart/src/KDChartPercentLyingBarDiagram_p.h b/lib/libkdchart/src/KDChartPercentLyingBarDiagram_p.h similarity index 100% rename from libkdchart/src/KDChartPercentLyingBarDiagram_p.h rename to lib/libkdchart/src/KDChartPercentLyingBarDiagram_p.h diff --git a/libkdchart/src/KDChartPercentPlotter_p.cpp b/lib/libkdchart/src/KDChartPercentPlotter_p.cpp similarity index 100% rename from libkdchart/src/KDChartPercentPlotter_p.cpp rename to lib/libkdchart/src/KDChartPercentPlotter_p.cpp diff --git a/libkdchart/src/KDChartPercentPlotter_p.h b/lib/libkdchart/src/KDChartPercentPlotter_p.h similarity index 100% rename from libkdchart/src/KDChartPercentPlotter_p.h rename to lib/libkdchart/src/KDChartPercentPlotter_p.h diff --git a/libkdchart/src/KDChartPieAttributes.cpp b/lib/libkdchart/src/KDChartPieAttributes.cpp similarity index 100% rename from libkdchart/src/KDChartPieAttributes.cpp rename to lib/libkdchart/src/KDChartPieAttributes.cpp diff --git a/libkdchart/src/KDChartPieAttributes.h b/lib/libkdchart/src/KDChartPieAttributes.h similarity index 100% rename from libkdchart/src/KDChartPieAttributes.h rename to lib/libkdchart/src/KDChartPieAttributes.h diff --git a/libkdchart/src/KDChartPieAttributes_p.h b/lib/libkdchart/src/KDChartPieAttributes_p.h similarity index 100% rename from libkdchart/src/KDChartPieAttributes_p.h rename to lib/libkdchart/src/KDChartPieAttributes_p.h diff --git a/libkdchart/src/KDChartPieDiagram.cpp b/lib/libkdchart/src/KDChartPieDiagram.cpp similarity index 100% rename from libkdchart/src/KDChartPieDiagram.cpp rename to lib/libkdchart/src/KDChartPieDiagram.cpp diff --git a/libkdchart/src/KDChartPieDiagram.h b/lib/libkdchart/src/KDChartPieDiagram.h similarity index 100% rename from libkdchart/src/KDChartPieDiagram.h rename to lib/libkdchart/src/KDChartPieDiagram.h diff --git a/libkdchart/src/KDChartPieDiagram_p.h b/lib/libkdchart/src/KDChartPieDiagram_p.h similarity index 100% rename from libkdchart/src/KDChartPieDiagram_p.h rename to lib/libkdchart/src/KDChartPieDiagram_p.h diff --git a/libkdchart/src/KDChartPlotter.cpp b/lib/libkdchart/src/KDChartPlotter.cpp similarity index 100% rename from libkdchart/src/KDChartPlotter.cpp rename to lib/libkdchart/src/KDChartPlotter.cpp diff --git a/libkdchart/src/KDChartPlotter.h b/lib/libkdchart/src/KDChartPlotter.h similarity index 100% rename from libkdchart/src/KDChartPlotter.h rename to lib/libkdchart/src/KDChartPlotter.h diff --git a/libkdchart/src/KDChartPlotter_p.cpp b/lib/libkdchart/src/KDChartPlotter_p.cpp similarity index 100% rename from libkdchart/src/KDChartPlotter_p.cpp rename to lib/libkdchart/src/KDChartPlotter_p.cpp diff --git a/libkdchart/src/KDChartPlotter_p.h b/lib/libkdchart/src/KDChartPlotter_p.h similarity index 100% rename from libkdchart/src/KDChartPlotter_p.h rename to lib/libkdchart/src/KDChartPlotter_p.h diff --git a/libkdchart/src/KDChartPolarCoordinatePlane.cpp b/lib/libkdchart/src/KDChartPolarCoordinatePlane.cpp similarity index 100% rename from libkdchart/src/KDChartPolarCoordinatePlane.cpp rename to lib/libkdchart/src/KDChartPolarCoordinatePlane.cpp diff --git a/libkdchart/src/KDChartPolarCoordinatePlane.h b/lib/libkdchart/src/KDChartPolarCoordinatePlane.h similarity index 100% rename from libkdchart/src/KDChartPolarCoordinatePlane.h rename to lib/libkdchart/src/KDChartPolarCoordinatePlane.h diff --git a/libkdchart/src/KDChartPolarCoordinatePlane_p.h b/lib/libkdchart/src/KDChartPolarCoordinatePlane_p.h similarity index 100% rename from libkdchart/src/KDChartPolarCoordinatePlane_p.h rename to lib/libkdchart/src/KDChartPolarCoordinatePlane_p.h diff --git a/libkdchart/src/KDChartPolarDiagram.cpp b/lib/libkdchart/src/KDChartPolarDiagram.cpp similarity index 100% rename from libkdchart/src/KDChartPolarDiagram.cpp rename to lib/libkdchart/src/KDChartPolarDiagram.cpp diff --git a/libkdchart/src/KDChartPolarDiagram.h b/lib/libkdchart/src/KDChartPolarDiagram.h similarity index 100% rename from libkdchart/src/KDChartPolarDiagram.h rename to lib/libkdchart/src/KDChartPolarDiagram.h diff --git a/libkdchart/src/KDChartPolarDiagram_p.h b/lib/libkdchart/src/KDChartPolarDiagram_p.h similarity index 100% rename from libkdchart/src/KDChartPolarDiagram_p.h rename to lib/libkdchart/src/KDChartPolarDiagram_p.h diff --git a/libkdchart/src/KDChartPolarGrid.cpp b/lib/libkdchart/src/KDChartPolarGrid.cpp similarity index 100% rename from libkdchart/src/KDChartPolarGrid.cpp rename to lib/libkdchart/src/KDChartPolarGrid.cpp diff --git a/libkdchart/src/KDChartPolarGrid.h b/lib/libkdchart/src/KDChartPolarGrid.h similarity index 100% rename from libkdchart/src/KDChartPolarGrid.h rename to lib/libkdchart/src/KDChartPolarGrid.h diff --git a/libkdchart/src/KDChartPosition.cpp b/lib/libkdchart/src/KDChartPosition.cpp similarity index 100% rename from libkdchart/src/KDChartPosition.cpp rename to lib/libkdchart/src/KDChartPosition.cpp diff --git a/libkdchart/src/KDChartPosition.h b/lib/libkdchart/src/KDChartPosition.h similarity index 100% rename from libkdchart/src/KDChartPosition.h rename to lib/libkdchart/src/KDChartPosition.h diff --git a/libkdchart/src/KDChartPrintingParameters.cpp b/lib/libkdchart/src/KDChartPrintingParameters.cpp similarity index 100% rename from libkdchart/src/KDChartPrintingParameters.cpp rename to lib/libkdchart/src/KDChartPrintingParameters.cpp diff --git a/libkdchart/src/KDChartPrintingParameters.h b/lib/libkdchart/src/KDChartPrintingParameters.h similarity index 100% rename from libkdchart/src/KDChartPrintingParameters.h rename to lib/libkdchart/src/KDChartPrintingParameters.h diff --git a/libkdchart/src/KDChartRelativePosition.cpp b/lib/libkdchart/src/KDChartRelativePosition.cpp similarity index 100% rename from libkdchart/src/KDChartRelativePosition.cpp rename to lib/libkdchart/src/KDChartRelativePosition.cpp diff --git a/libkdchart/src/KDChartRelativePosition.h b/lib/libkdchart/src/KDChartRelativePosition.h similarity index 100% rename from libkdchart/src/KDChartRelativePosition.h rename to lib/libkdchart/src/KDChartRelativePosition.h diff --git a/libkdchart/src/KDChartRingDiagram.cpp b/lib/libkdchart/src/KDChartRingDiagram.cpp similarity index 100% rename from libkdchart/src/KDChartRingDiagram.cpp rename to lib/libkdchart/src/KDChartRingDiagram.cpp diff --git a/libkdchart/src/KDChartRingDiagram.h b/lib/libkdchart/src/KDChartRingDiagram.h similarity index 100% rename from libkdchart/src/KDChartRingDiagram.h rename to lib/libkdchart/src/KDChartRingDiagram.h diff --git a/libkdchart/src/KDChartRingDiagram_p.h b/lib/libkdchart/src/KDChartRingDiagram_p.h similarity index 100% rename from libkdchart/src/KDChartRingDiagram_p.h rename to lib/libkdchart/src/KDChartRingDiagram_p.h diff --git a/libkdchart/src/KDChartRulerAttributes.cpp b/lib/libkdchart/src/KDChartRulerAttributes.cpp similarity index 100% rename from libkdchart/src/KDChartRulerAttributes.cpp rename to lib/libkdchart/src/KDChartRulerAttributes.cpp diff --git a/libkdchart/src/KDChartRulerAttributes.h b/lib/libkdchart/src/KDChartRulerAttributes.h similarity index 100% rename from libkdchart/src/KDChartRulerAttributes.h rename to lib/libkdchart/src/KDChartRulerAttributes.h diff --git a/libkdchart/src/KDChartSignalCompressor.cpp b/lib/libkdchart/src/KDChartSignalCompressor.cpp similarity index 100% rename from libkdchart/src/KDChartSignalCompressor.cpp rename to lib/libkdchart/src/KDChartSignalCompressor.cpp diff --git a/libkdchart/src/KDChartSignalCompressor.h b/lib/libkdchart/src/KDChartSignalCompressor.h similarity index 100% rename from libkdchart/src/KDChartSignalCompressor.h rename to lib/libkdchart/src/KDChartSignalCompressor.h diff --git a/libkdchart/src/KDChartStackedBarDiagram_p.cpp b/lib/libkdchart/src/KDChartStackedBarDiagram_p.cpp similarity index 100% rename from libkdchart/src/KDChartStackedBarDiagram_p.cpp rename to lib/libkdchart/src/KDChartStackedBarDiagram_p.cpp diff --git a/libkdchart/src/KDChartStackedBarDiagram_p.h b/lib/libkdchart/src/KDChartStackedBarDiagram_p.h similarity index 100% rename from libkdchart/src/KDChartStackedBarDiagram_p.h rename to lib/libkdchart/src/KDChartStackedBarDiagram_p.h diff --git a/libkdchart/src/KDChartStackedLineDiagram_p.cpp b/lib/libkdchart/src/KDChartStackedLineDiagram_p.cpp similarity index 100% rename from libkdchart/src/KDChartStackedLineDiagram_p.cpp rename to lib/libkdchart/src/KDChartStackedLineDiagram_p.cpp diff --git a/libkdchart/src/KDChartStackedLineDiagram_p.h b/lib/libkdchart/src/KDChartStackedLineDiagram_p.h similarity index 100% rename from libkdchart/src/KDChartStackedLineDiagram_p.h rename to lib/libkdchart/src/KDChartStackedLineDiagram_p.h diff --git a/libkdchart/src/KDChartStackedLyingBarDiagram_p.cpp b/lib/libkdchart/src/KDChartStackedLyingBarDiagram_p.cpp similarity index 100% rename from libkdchart/src/KDChartStackedLyingBarDiagram_p.cpp rename to lib/libkdchart/src/KDChartStackedLyingBarDiagram_p.cpp diff --git a/libkdchart/src/KDChartStackedLyingBarDiagram_p.h b/lib/libkdchart/src/KDChartStackedLyingBarDiagram_p.h similarity index 100% rename from libkdchart/src/KDChartStackedLyingBarDiagram_p.h rename to lib/libkdchart/src/KDChartStackedLyingBarDiagram_p.h diff --git a/libkdchart/src/KDChartStockBarAttributes.cpp b/lib/libkdchart/src/KDChartStockBarAttributes.cpp similarity index 100% rename from libkdchart/src/KDChartStockBarAttributes.cpp rename to lib/libkdchart/src/KDChartStockBarAttributes.cpp diff --git a/libkdchart/src/KDChartStockBarAttributes.h b/lib/libkdchart/src/KDChartStockBarAttributes.h similarity index 100% rename from libkdchart/src/KDChartStockBarAttributes.h rename to lib/libkdchart/src/KDChartStockBarAttributes.h diff --git a/libkdchart/src/KDChartStockDiagram.cpp b/lib/libkdchart/src/KDChartStockDiagram.cpp similarity index 100% rename from libkdchart/src/KDChartStockDiagram.cpp rename to lib/libkdchart/src/KDChartStockDiagram.cpp diff --git a/libkdchart/src/KDChartStockDiagram.h b/lib/libkdchart/src/KDChartStockDiagram.h similarity index 100% rename from libkdchart/src/KDChartStockDiagram.h rename to lib/libkdchart/src/KDChartStockDiagram.h diff --git a/libkdchart/src/KDChartStockDiagram_p.cpp b/lib/libkdchart/src/KDChartStockDiagram_p.cpp similarity index 100% rename from libkdchart/src/KDChartStockDiagram_p.cpp rename to lib/libkdchart/src/KDChartStockDiagram_p.cpp diff --git a/libkdchart/src/KDChartStockDiagram_p.h b/lib/libkdchart/src/KDChartStockDiagram_p.h similarity index 100% rename from libkdchart/src/KDChartStockDiagram_p.h rename to lib/libkdchart/src/KDChartStockDiagram_p.h diff --git a/libkdchart/src/KDChartTextArea.cpp b/lib/libkdchart/src/KDChartTextArea.cpp similarity index 100% rename from libkdchart/src/KDChartTextArea.cpp rename to lib/libkdchart/src/KDChartTextArea.cpp diff --git a/libkdchart/src/KDChartTextArea.h b/lib/libkdchart/src/KDChartTextArea.h similarity index 100% rename from libkdchart/src/KDChartTextArea.h rename to lib/libkdchart/src/KDChartTextArea.h diff --git a/libkdchart/src/KDChartTextArea_p.h b/lib/libkdchart/src/KDChartTextArea_p.h similarity index 100% rename from libkdchart/src/KDChartTextArea_p.h rename to lib/libkdchart/src/KDChartTextArea_p.h diff --git a/libkdchart/src/KDChartTextAttributes.cpp b/lib/libkdchart/src/KDChartTextAttributes.cpp similarity index 100% rename from libkdchart/src/KDChartTextAttributes.cpp rename to lib/libkdchart/src/KDChartTextAttributes.cpp diff --git a/libkdchart/src/KDChartTextAttributes.h b/lib/libkdchart/src/KDChartTextAttributes.h similarity index 100% rename from libkdchart/src/KDChartTextAttributes.h rename to lib/libkdchart/src/KDChartTextAttributes.h diff --git a/libkdchart/src/KDChartThreeDBarAttributes.cpp b/lib/libkdchart/src/KDChartThreeDBarAttributes.cpp similarity index 100% rename from libkdchart/src/KDChartThreeDBarAttributes.cpp rename to lib/libkdchart/src/KDChartThreeDBarAttributes.cpp diff --git a/libkdchart/src/KDChartThreeDBarAttributes.h b/lib/libkdchart/src/KDChartThreeDBarAttributes.h similarity index 100% rename from libkdchart/src/KDChartThreeDBarAttributes.h rename to lib/libkdchart/src/KDChartThreeDBarAttributes.h diff --git a/libkdchart/src/KDChartThreeDBarAttributes_p.h b/lib/libkdchart/src/KDChartThreeDBarAttributes_p.h similarity index 100% rename from libkdchart/src/KDChartThreeDBarAttributes_p.h rename to lib/libkdchart/src/KDChartThreeDBarAttributes_p.h diff --git a/libkdchart/src/KDChartThreeDLineAttributes.cpp b/lib/libkdchart/src/KDChartThreeDLineAttributes.cpp similarity index 100% rename from libkdchart/src/KDChartThreeDLineAttributes.cpp rename to lib/libkdchart/src/KDChartThreeDLineAttributes.cpp diff --git a/libkdchart/src/KDChartThreeDLineAttributes.h b/lib/libkdchart/src/KDChartThreeDLineAttributes.h similarity index 100% rename from libkdchart/src/KDChartThreeDLineAttributes.h rename to lib/libkdchart/src/KDChartThreeDLineAttributes.h diff --git a/libkdchart/src/KDChartThreeDLineAttributes_p.h b/lib/libkdchart/src/KDChartThreeDLineAttributes_p.h similarity index 100% rename from libkdchart/src/KDChartThreeDLineAttributes_p.h rename to lib/libkdchart/src/KDChartThreeDLineAttributes_p.h diff --git a/libkdchart/src/KDChartThreeDPieAttributes.cpp b/lib/libkdchart/src/KDChartThreeDPieAttributes.cpp similarity index 100% rename from libkdchart/src/KDChartThreeDPieAttributes.cpp rename to lib/libkdchart/src/KDChartThreeDPieAttributes.cpp diff --git a/libkdchart/src/KDChartThreeDPieAttributes.h b/lib/libkdchart/src/KDChartThreeDPieAttributes.h similarity index 100% rename from libkdchart/src/KDChartThreeDPieAttributes.h rename to lib/libkdchart/src/KDChartThreeDPieAttributes.h diff --git a/libkdchart/src/KDChartThreeDPieAttributes_p.h b/lib/libkdchart/src/KDChartThreeDPieAttributes_p.h similarity index 100% rename from libkdchart/src/KDChartThreeDPieAttributes_p.h rename to lib/libkdchart/src/KDChartThreeDPieAttributes_p.h diff --git a/libkdchart/src/KDChartValueTrackerAttributes.cpp b/lib/libkdchart/src/KDChartValueTrackerAttributes.cpp similarity index 100% rename from libkdchart/src/KDChartValueTrackerAttributes.cpp rename to lib/libkdchart/src/KDChartValueTrackerAttributes.cpp diff --git a/libkdchart/src/KDChartValueTrackerAttributes.h b/lib/libkdchart/src/KDChartValueTrackerAttributes.h similarity index 100% rename from libkdchart/src/KDChartValueTrackerAttributes.h rename to lib/libkdchart/src/KDChartValueTrackerAttributes.h diff --git a/libkdchart/src/KDChartWidget.cpp b/lib/libkdchart/src/KDChartWidget.cpp similarity index 100% rename from libkdchart/src/KDChartWidget.cpp rename to lib/libkdchart/src/KDChartWidget.cpp diff --git a/libkdchart/src/KDChartWidget.h b/lib/libkdchart/src/KDChartWidget.h similarity index 100% rename from libkdchart/src/KDChartWidget.h rename to lib/libkdchart/src/KDChartWidget.h diff --git a/libkdchart/src/KDChartWidget_p.h b/lib/libkdchart/src/KDChartWidget_p.h similarity index 100% rename from libkdchart/src/KDChartWidget_p.h rename to lib/libkdchart/src/KDChartWidget_p.h diff --git a/libkdchart/src/KDChartZoomParameters.h b/lib/libkdchart/src/KDChartZoomParameters.h similarity index 100% rename from libkdchart/src/KDChartZoomParameters.h rename to lib/libkdchart/src/KDChartZoomParameters.h diff --git a/libkdchart/src/KDTextDocument.cpp b/lib/libkdchart/src/KDTextDocument.cpp similarity index 100% rename from libkdchart/src/KDTextDocument.cpp rename to lib/libkdchart/src/KDTextDocument.cpp diff --git a/libkdchart/src/KDTextDocument.h b/lib/libkdchart/src/KDTextDocument.h similarity index 100% rename from libkdchart/src/KDTextDocument.h rename to lib/libkdchart/src/KDTextDocument.h diff --git a/libkdchart/src/Makefile b/lib/libkdchart/src/Makefile similarity index 100% rename from libkdchart/src/Makefile rename to lib/libkdchart/src/Makefile diff --git a/libkdchart/src/PrerenderedElements/KDChartTextLabelCache.cpp b/lib/libkdchart/src/PrerenderedElements/KDChartTextLabelCache.cpp similarity index 100% rename from libkdchart/src/PrerenderedElements/KDChartTextLabelCache.cpp rename to lib/libkdchart/src/PrerenderedElements/KDChartTextLabelCache.cpp diff --git a/libkdchart/src/PrerenderedElements/KDChartTextLabelCache.h b/lib/libkdchart/src/PrerenderedElements/KDChartTextLabelCache.h similarity index 100% rename from libkdchart/src/PrerenderedElements/KDChartTextLabelCache.h rename to lib/libkdchart/src/PrerenderedElements/KDChartTextLabelCache.h diff --git a/libkdchart/src/Scenery/ChartGraphicsItem.cpp b/lib/libkdchart/src/Scenery/ChartGraphicsItem.cpp similarity index 100% rename from libkdchart/src/Scenery/ChartGraphicsItem.cpp rename to lib/libkdchart/src/Scenery/ChartGraphicsItem.cpp diff --git a/libkdchart/src/Scenery/ChartGraphicsItem.h b/lib/libkdchart/src/Scenery/ChartGraphicsItem.h similarity index 100% rename from libkdchart/src/Scenery/ChartGraphicsItem.h rename to lib/libkdchart/src/Scenery/ChartGraphicsItem.h diff --git a/libkdchart/src/Scenery/ReverseMapper.cpp b/lib/libkdchart/src/Scenery/ReverseMapper.cpp similarity index 100% rename from libkdchart/src/Scenery/ReverseMapper.cpp rename to lib/libkdchart/src/Scenery/ReverseMapper.cpp diff --git a/libkdchart/src/Scenery/ReverseMapper.h b/lib/libkdchart/src/Scenery/ReverseMapper.h similarity index 100% rename from libkdchart/src/Scenery/ReverseMapper.h rename to lib/libkdchart/src/Scenery/ReverseMapper.h diff --git a/libkdchart/src/Ternary/KDChartAbstractTernaryDiagram.cpp b/lib/libkdchart/src/Ternary/KDChartAbstractTernaryDiagram.cpp similarity index 100% rename from libkdchart/src/Ternary/KDChartAbstractTernaryDiagram.cpp rename to lib/libkdchart/src/Ternary/KDChartAbstractTernaryDiagram.cpp diff --git a/libkdchart/src/Ternary/KDChartAbstractTernaryDiagram.h b/lib/libkdchart/src/Ternary/KDChartAbstractTernaryDiagram.h similarity index 100% rename from libkdchart/src/Ternary/KDChartAbstractTernaryDiagram.h rename to lib/libkdchart/src/Ternary/KDChartAbstractTernaryDiagram.h diff --git a/libkdchart/src/Ternary/KDChartAbstractTernaryDiagram_p.h b/lib/libkdchart/src/Ternary/KDChartAbstractTernaryDiagram_p.h similarity index 100% rename from libkdchart/src/Ternary/KDChartAbstractTernaryDiagram_p.h rename to lib/libkdchart/src/Ternary/KDChartAbstractTernaryDiagram_p.h diff --git a/libkdchart/src/Ternary/KDChartTernaryAxis.cpp b/lib/libkdchart/src/Ternary/KDChartTernaryAxis.cpp similarity index 100% rename from libkdchart/src/Ternary/KDChartTernaryAxis.cpp rename to lib/libkdchart/src/Ternary/KDChartTernaryAxis.cpp diff --git a/libkdchart/src/Ternary/KDChartTernaryAxis.h b/lib/libkdchart/src/Ternary/KDChartTernaryAxis.h similarity index 100% rename from libkdchart/src/Ternary/KDChartTernaryAxis.h rename to lib/libkdchart/src/Ternary/KDChartTernaryAxis.h diff --git a/libkdchart/src/Ternary/KDChartTernaryCoordinatePlane.cpp b/lib/libkdchart/src/Ternary/KDChartTernaryCoordinatePlane.cpp similarity index 100% rename from libkdchart/src/Ternary/KDChartTernaryCoordinatePlane.cpp rename to lib/libkdchart/src/Ternary/KDChartTernaryCoordinatePlane.cpp diff --git a/libkdchart/src/Ternary/KDChartTernaryCoordinatePlane.h b/lib/libkdchart/src/Ternary/KDChartTernaryCoordinatePlane.h similarity index 100% rename from libkdchart/src/Ternary/KDChartTernaryCoordinatePlane.h rename to lib/libkdchart/src/Ternary/KDChartTernaryCoordinatePlane.h diff --git a/libkdchart/src/Ternary/KDChartTernaryCoordinatePlane_p.h b/lib/libkdchart/src/Ternary/KDChartTernaryCoordinatePlane_p.h similarity index 100% rename from libkdchart/src/Ternary/KDChartTernaryCoordinatePlane_p.h rename to lib/libkdchart/src/Ternary/KDChartTernaryCoordinatePlane_p.h diff --git a/libkdchart/src/Ternary/KDChartTernaryGrid.cpp b/lib/libkdchart/src/Ternary/KDChartTernaryGrid.cpp similarity index 100% rename from libkdchart/src/Ternary/KDChartTernaryGrid.cpp rename to lib/libkdchart/src/Ternary/KDChartTernaryGrid.cpp diff --git a/libkdchart/src/Ternary/KDChartTernaryGrid.h b/lib/libkdchart/src/Ternary/KDChartTernaryGrid.h similarity index 100% rename from libkdchart/src/Ternary/KDChartTernaryGrid.h rename to lib/libkdchart/src/Ternary/KDChartTernaryGrid.h diff --git a/libkdchart/src/Ternary/KDChartTernaryLineDiagram.cpp b/lib/libkdchart/src/Ternary/KDChartTernaryLineDiagram.cpp similarity index 100% rename from libkdchart/src/Ternary/KDChartTernaryLineDiagram.cpp rename to lib/libkdchart/src/Ternary/KDChartTernaryLineDiagram.cpp diff --git a/libkdchart/src/Ternary/KDChartTernaryLineDiagram.h b/lib/libkdchart/src/Ternary/KDChartTernaryLineDiagram.h similarity index 100% rename from libkdchart/src/Ternary/KDChartTernaryLineDiagram.h rename to lib/libkdchart/src/Ternary/KDChartTernaryLineDiagram.h diff --git a/libkdchart/src/Ternary/KDChartTernaryLineDiagram_p.h b/lib/libkdchart/src/Ternary/KDChartTernaryLineDiagram_p.h similarity index 100% rename from libkdchart/src/Ternary/KDChartTernaryLineDiagram_p.h rename to lib/libkdchart/src/Ternary/KDChartTernaryLineDiagram_p.h diff --git a/libkdchart/src/Ternary/KDChartTernaryPointDiagram.cpp b/lib/libkdchart/src/Ternary/KDChartTernaryPointDiagram.cpp similarity index 100% rename from libkdchart/src/Ternary/KDChartTernaryPointDiagram.cpp rename to lib/libkdchart/src/Ternary/KDChartTernaryPointDiagram.cpp diff --git a/libkdchart/src/Ternary/KDChartTernaryPointDiagram.h b/lib/libkdchart/src/Ternary/KDChartTernaryPointDiagram.h similarity index 100% rename from libkdchart/src/Ternary/KDChartTernaryPointDiagram.h rename to lib/libkdchart/src/Ternary/KDChartTernaryPointDiagram.h diff --git a/libkdchart/src/Ternary/KDChartTernaryPointDiagram_p.h b/lib/libkdchart/src/Ternary/KDChartTernaryPointDiagram_p.h similarity index 100% rename from libkdchart/src/Ternary/KDChartTernaryPointDiagram_p.h rename to lib/libkdchart/src/Ternary/KDChartTernaryPointDiagram_p.h diff --git a/libkdchart/src/Ternary/TernaryConstants.cpp b/lib/libkdchart/src/Ternary/TernaryConstants.cpp similarity index 100% rename from libkdchart/src/Ternary/TernaryConstants.cpp rename to lib/libkdchart/src/Ternary/TernaryConstants.cpp diff --git a/libkdchart/src/Ternary/TernaryConstants.h b/lib/libkdchart/src/Ternary/TernaryConstants.h similarity index 100% rename from libkdchart/src/Ternary/TernaryConstants.h rename to lib/libkdchart/src/Ternary/TernaryConstants.h diff --git a/libkdchart/src/Ternary/TernaryPoint.cpp b/lib/libkdchart/src/Ternary/TernaryPoint.cpp similarity index 100% rename from libkdchart/src/Ternary/TernaryPoint.cpp rename to lib/libkdchart/src/Ternary/TernaryPoint.cpp diff --git a/libkdchart/src/Ternary/TernaryPoint.h b/lib/libkdchart/src/Ternary/TernaryPoint.h similarity index 100% rename from libkdchart/src/Ternary/TernaryPoint.h rename to lib/libkdchart/src/Ternary/TernaryPoint.h diff --git a/libkdchart/src/kdchart_export.h b/lib/libkdchart/src/kdchart_export.h similarity index 100% rename from libkdchart/src/kdchart_export.h rename to lib/libkdchart/src/kdchart_export.h diff --git a/libkdchart/src/ui_KDChartDatasetSelector.h b/lib/libkdchart/src/ui_KDChartDatasetSelector.h similarity index 100% rename from libkdchart/src/ui_KDChartDatasetSelector.h rename to lib/libkdchart/src/ui_KDChartDatasetSelector.h diff --git a/src/view/ExportPanel.cpp b/src/view/ExportPanel.cpp new file mode 100644 index 0000000..72dd016 --- /dev/null +++ b/src/view/ExportPanel.cpp @@ -0,0 +1,145 @@ +/* + Copyright 2010-2012 Grégory Soutadé + + This file is part of KissCount. + + KissCount is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + KissCount is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with KissCount. If not, see . +*/ + +#include "ExportPanel.hpp" + +ExportPanel::ExportPanel(KissCount* kiss, wxUI *parent) : KissPanel(kiss, parent), _operations(0) +{ + DEFAULT_FONT(font); + std::vector::iterator accountIt; + std::vector::iterator categoryIt; + + QVBoxLayout *vbox = new QVBoxLayout; + QVBoxLayout *vbox2 = new QVBoxLayout; + QHBoxLayout *hbox = new QHBoxLayout; + + setLayout(vbox); + + _searchButton = new QPushButton(_("Search")); + + connect(_searchButton, SIGNAL(clicked()), this, SLOT(OnButtonSearch())); + + _banner = new SearchBanner(kiss, this, this, OnEnter); + + vbox->addWidget(_banner); + vbox->addWidget(_searchButton); + + _grid = new GridAccount(_kiss, this, false, false, true); + + hbox->addWidget(_grid); + + _exportButton = new QPushButton(_("Export")); + + connect(_exportButton, SIGNAL(clicked()), this, SLOT(OnButtonExport())); + + vbox2->addWidget(_exportButton); + + hbox->addLayout(vbox2); + + vbox->addLayout(hbox); +} + +ExportPanel::~ExportPanel() +{ +} + +KissPanel* ExportPanel::CreatePanel() +{ + return new ExportPanel(_kiss, _wxUI); +} + +QPushButton* ExportPanel::GetButton() +{ + if (!_KissButton) + { + _KissButton = new QPushButton(QIcon(EXPORT_ICON), "", this); + _KissButton->setFixedSize(128, 128); + _KissButton->setIconSize(QSize(128, 128)); + } + + return _KissButton; +} + +QString ExportPanel::GetToolTip() +{ + return _("Export"); +} + +void ExportPanel::OnEnter(void* caller) +{ + ExportPanel* _this = (ExportPanel*) caller; + + _this->OnButtonExport(); +} + +void ExportPanel::OnButtonSearch() +{ + _operations = _banner->Search(); + + if (!_operations) return; + + if (_operations->size() > 1) + QMessageBox::information(0, _("KissCount"), QString::number(_operations->size()) + _(" entries found")); + else if (_operations->size() == 1) + QMessageBox::information(0, _("KissCount"), _("1 entry found")); + else + { + QMessageBox::information(0, _("KissCount"), _("No entry found")); + return; + } + + _grid->LoadOperations(_operations, 0, 0); + + layout(); +} + +void ExportPanel::OnButtonExport() +{ + QString path; + + if (!_operations || !_operations->size()) + { + QMessageBox::critical(0, _("Error"), _("No operation to save")); + return; + } + + path = QFileDialog::getSaveFileName(0, _("Save as"), "", _kiss->GetExportEngineExtensions()); + + if (path.size() == 0) + return; + + _exportEngine = _kiss->GetExportEngine(path); + + if (!_exportEngine) + { + QMessageBox::critical(0, _("Error"), _("Any engine can process this file !")); + return ; + } + + if (_exportEngine->SaveFile(_operations)) + QMessageBox::information(0, _("KissCount"), _("Operations successfuly saved")); + else + QMessageBox::critical(0, _("Error"), _("Failed to save operations")); + +} + +void ExportPanel::OnShow() +{ + _wxUI->setWindowTitle(_("KissCount - Export")); +} diff --git a/src/view/ExportPanel.hpp b/src/view/ExportPanel.hpp new file mode 100644 index 0000000..f27ed5c --- /dev/null +++ b/src/view/ExportPanel.hpp @@ -0,0 +1,63 @@ +/* + Copyright 2010-2012 Grégory Soutadé + + This file is part of KissCount. + + KissCount is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + KissCount is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with KissCount. If not, see . +*/ + +#ifndef EXPORTPANEL_H +#define EXPORTPANEL_H + +#include + +#include "view.hpp" +#include "grid/GridAccount.hpp" +#include "AccountPanel.hpp" +#include "SearchBanner.hpp" +#include +#include + +class GridAccount; +class SearchBanner; +class ExportEngine; + +class ExportPanel: public KissPanel +{ + Q_OBJECT; + +public: + ExportPanel(KissCount* kiss, wxUI *parent); + ~ExportPanel(); + + KissPanel* CreatePanel(); + QPushButton* GetButton(); + QString GetToolTip(); + void OnShow(); + +private slots: + void OnButtonSearch(); + void OnButtonExport(); + +private: + std::vector *_operations; + SearchBanner* _banner; + GridAccount *_grid; + QPushButton* _searchButton, *_exportButton; + ExportEngine* _exportEngine; + + static void OnEnter(void* caller); +}; + +#endif