From 99c805586ee470268396044d689c43549a3a3bfd 2012-03-07 07:27:07 From: Michal Klocek Date: 2012-03-07 07:27:07 Subject: [PATCH] Move axes files to subdir --- diff --git a/src/axis/axis.pri b/src/axis/axis.pri new file mode 100644 index 0000000..a1ea0a0 --- /dev/null +++ b/src/axis/axis.pri @@ -0,0 +1,16 @@ +INCLUDEPATH += $$PWD +DEPENDPATH += $$PWD + +SOURCES += \ + $$PWD/axisanimationitem.cpp \ + $$PWD/axisitem.cpp \ + $$PWD/qchartaxis.cpp \ + $$PWD/qchartaxiscategories.cpp + +PRIVATE_HEADERS += \ + $$PWD/axisanimationitem_p.h \ + $$PWD/axisitem_p.h + +PUBLIC_HEADERS += \ + $$PWD/qchartaxis.h \ + $$PWD/qchartaxiscategories.h \ No newline at end of file diff --git a/src/axisanimationitem.cpp b/src/axis/axisanimationitem.cpp similarity index 100% rename from src/axisanimationitem.cpp rename to src/axis/axisanimationitem.cpp diff --git a/src/axisanimationitem_p.h b/src/axis/axisanimationitem_p.h similarity index 100% rename from src/axisanimationitem_p.h rename to src/axis/axisanimationitem_p.h diff --git a/src/axisitem.cpp b/src/axis/axisitem.cpp similarity index 100% rename from src/axisitem.cpp rename to src/axis/axisitem.cpp diff --git a/src/axisitem_p.h b/src/axis/axisitem_p.h similarity index 100% rename from src/axisitem_p.h rename to src/axis/axisitem_p.h diff --git a/src/qchartaxis.cpp b/src/axis/qchartaxis.cpp similarity index 100% rename from src/qchartaxis.cpp rename to src/axis/qchartaxis.cpp diff --git a/src/qchartaxis.h b/src/axis/qchartaxis.h similarity index 100% rename from src/qchartaxis.h rename to src/axis/qchartaxis.h diff --git a/src/qchartaxiscategories.cpp b/src/axis/qchartaxiscategories.cpp similarity index 100% rename from src/qchartaxiscategories.cpp rename to src/axis/qchartaxiscategories.cpp diff --git a/src/qchartaxiscategories.h b/src/axis/qchartaxiscategories.h similarity index 100% rename from src/qchartaxiscategories.h rename to src/axis/qchartaxiscategories.h diff --git a/src/src.pro b/src/src.pro index 7c53520..3702a26 100644 --- a/src/src.pro +++ b/src/src.pro @@ -6,30 +6,27 @@ QT += core \ gui CONFIG += debug_and_release CONFIG(debug, debug|release):TARGET = QtCommercialChartd -SOURCES += axisitem.cpp \ - axisanimationitem.cpp \ +SOURCES += \ chartdataset.cpp \ chartpresenter.cpp \ charttheme.cpp \ domain.cpp \ qchart.cpp \ - qchartaxis.cpp \ - qchartaxiscategories.cpp \ qchartview.cpp \ qseries.cpp -PRIVATE_HEADERS += axisitem_p.h \ - axisanimationitem_p.h \ +PRIVATE_HEADERS += \ chartdataset_p.h \ chartitem_p.h \ chartpresenter_p.h \ charttheme_p.h \ domain_p.h -PUBLIC_HEADERS += qchart.h \ - qchartaxis.h \ - qchartaxiscategories.h \ +PUBLIC_HEADERS += \ + qchart.h \ qchartglobal.h \ qseries.h \ qchartview.h + +include(axis/axis.pri) include(xychart/xychart.pri) include(linechart/linechart.pri) include(areachart/areachart.pri)