diff --git a/src/chartpresenter.cpp b/src/chartpresenter.cpp index 4bcddac..673603b 100644 --- a/src/chartpresenter.cpp +++ b/src/chartpresenter.cpp @@ -18,7 +18,7 @@ #include "linechartitem_p.h" #include "percentbarpresenter.h" #include "linechartanimationitem_p.h" -#include "piepresenter.h" +#include "piepresenter_p.h" #include "scatterpresenter_p.h" QTCOMMERCIALCHART_BEGIN_NAMESPACE diff --git a/src/charttheme.cpp b/src/charttheme.cpp index f9bc997..b0a5155 100644 --- a/src/charttheme.cpp +++ b/src/charttheme.cpp @@ -20,7 +20,7 @@ #include "linechartitem_p.h" #include "percentbarpresenter.h" #include "scatterpresenter_p.h" -#include "piepresenter.h" +#include "piepresenter_p.h" //themes #include "chartthemevanilla_p.h" diff --git a/src/piechart/piechart.pri b/src/piechart/piechart.pri index d5018df..dbed0d8 100644 --- a/src/piechart/piechart.pri +++ b/src/piechart/piechart.pri @@ -9,9 +9,9 @@ SOURCES += \ $$PWD/qpieslice.cpp PRIVATE_HEADERS += \ - $$PWD/piepresenter.h \ - $$PWD/pieslice.h \ - $$PWD/pieslicelabel.h + $$PWD/piepresenter_p.h \ + $$PWD/pieslice_p.h \ + $$PWD/pieslicelabel_p.h PUBLIC_HEADERS += \ $$PWD/qpieseries.h \ diff --git a/src/piechart/piepresenter.cpp b/src/piechart/piepresenter.cpp index 9e5f4fd..8f3f244 100644 --- a/src/piechart/piepresenter.cpp +++ b/src/piechart/piepresenter.cpp @@ -1,8 +1,8 @@ -#include "piepresenter.h" -#include "pieslice.h" +#include "piepresenter_p.h" +#include "pieslice_p.h" #include "qpieslice.h" -#include "pieslicelabel.h" +#include "pieslicelabel_p.h" #include "qpieseries.h" #include #include @@ -205,6 +205,6 @@ void PiePresenter::deleteSlice(QPieSlice* sliceData) delete m_slices.take(sliceData); } -#include "moc_piepresenter.cpp" +#include "moc_piepresenter_p.cpp" QTCOMMERCIALCHART_END_NAMESPACE diff --git a/src/piechart/piepresenter.h b/src/piechart/piepresenter_p.h similarity index 100% rename from src/piechart/piepresenter.h rename to src/piechart/piepresenter_p.h diff --git a/src/piechart/pieslice.cpp b/src/piechart/pieslice.cpp index 9893cfc..213feff 100644 --- a/src/piechart/pieslice.cpp +++ b/src/piechart/pieslice.cpp @@ -1,6 +1,6 @@ -#include "pieslice.h" -#include "pieslicelabel.h" -#include "piepresenter.h" +#include "pieslice_p.h" +#include "pieslicelabel_p.h" +#include "piepresenter_p.h" #include "qpieseries.h" #include "qpieslice.h" #include @@ -130,6 +130,6 @@ void PieSlice::updateData(const QPieSlice* sliceData) update(); } -#include "moc_pieslice.cpp" +#include "moc_pieslice_p.cpp" QTCOMMERCIALCHART_END_NAMESPACE diff --git a/src/piechart/pieslice.h b/src/piechart/pieslice_p.h similarity index 100% rename from src/piechart/pieslice.h rename to src/piechart/pieslice_p.h diff --git a/src/piechart/pieslicelabel.cpp b/src/piechart/pieslicelabel.cpp index c6267be..697dd93 100644 --- a/src/piechart/pieslicelabel.cpp +++ b/src/piechart/pieslicelabel.cpp @@ -1,4 +1,4 @@ -#include "pieslicelabel.h" +#include "pieslicelabel_p.h" #include #include #include diff --git a/src/piechart/pieslicelabel.h b/src/piechart/pieslicelabel_p.h similarity index 100% rename from src/piechart/pieslicelabel.h rename to src/piechart/pieslicelabel_p.h diff --git a/src/piechart/qpieseries.cpp b/src/piechart/qpieseries.cpp index fe835e6..4fd2b39 100644 --- a/src/piechart/qpieseries.cpp +++ b/src/piechart/qpieseries.cpp @@ -1,8 +1,5 @@ #include "qpieseries.h" #include "qpieslice.h" -#include "piepresenter.h" -#include "pieslice.h" -#include #include QTCOMMERCIALCHART_BEGIN_NAMESPACE