From 7e0bb451a8c03b6df459ba5a6af8fd854d094e86 2012-04-11 10:31:41 From: Jani Honkonen Date: 2012-04-11 10:31:41 Subject: [PATCH] Move dynamicspline under demos --- diff --git a/demos/demos.pro b/demos/demos.pro index 4f7390f..1897190 100644 --- a/demos/demos.pro +++ b/demos/demos.pro @@ -1,4 +1,5 @@ TEMPLATE = subdirs SUBDIRS += chartthemes \ piechartcustomization \ - qmlchart + qmlchart \ + dynamicspline diff --git a/examples/dynamicspline/chart.cpp b/demos/dynamicspline/chart.cpp similarity index 100% rename from examples/dynamicspline/chart.cpp rename to demos/dynamicspline/chart.cpp diff --git a/examples/dynamicspline/chart.h b/demos/dynamicspline/chart.h similarity index 100% rename from examples/dynamicspline/chart.h rename to demos/dynamicspline/chart.h diff --git a/examples/dynamicspline/dynamicspline.pro b/demos/dynamicspline/dynamicspline.pro similarity index 60% rename from examples/dynamicspline/dynamicspline.pro rename to demos/dynamicspline/dynamicspline.pro index 68ca88d..697a864 100644 --- a/examples/dynamicspline/dynamicspline.pro +++ b/demos/dynamicspline/dynamicspline.pro @@ -1,6 +1,4 @@ -!include( ../examples.pri ) { - error( "Couldn't find the examples.pri file!" ) -} +!include( ../demos.pri ):error( "Couldn't find the demos.pri file!" ) TARGET = dynamicspline HEADERS += chart.h SOURCES += main.cpp chart.cpp diff --git a/examples/dynamicspline/main.cpp b/demos/dynamicspline/main.cpp similarity index 100% rename from examples/dynamicspline/main.cpp rename to demos/dynamicspline/main.cpp diff --git a/doc/src/examples-ekgchart.qdoc b/doc/src/demos-dynamicspline.qdoc similarity index 50% rename from doc/src/examples-ekgchart.qdoc rename to doc/src/demos-dynamicspline.qdoc index e3fc966..6705567 100644 --- a/doc/src/examples-ekgchart.qdoc +++ b/doc/src/demos-dynamicspline.qdoc @@ -1,7 +1,7 @@ /*! - \example examples/ekgchart - \title EKG chart Example + \example demos/dynamicspline + \title Dynamic spline demo \subtitle - The example shows how to simulate a EKG chart. + The example shows how to draw dynamic data. */ diff --git a/doc/src/demos.qdoc b/doc/src/demos.qdoc index 9455014..e2e419b 100644 --- a/doc/src/demos.qdoc +++ b/doc/src/demos.qdoc @@ -15,6 +15,7 @@ diff --git a/doc/src/examples.qdoc b/doc/src/examples.qdoc index 3c0a234..55029f1 100644 --- a/doc/src/examples.qdoc +++ b/doc/src/examples.qdoc @@ -16,7 +16,6 @@
  • Area chart
  • Bar chart
  • Custom chart
  • -
  • EKG chart
  • Line chart
  • Model data
  • Percent bar chart
  • diff --git a/examples/examples.pro b/examples/examples.pro index 6a2d59c..7336266 100644 --- a/examples/examples.pro +++ b/examples/examples.pro @@ -3,7 +3,6 @@ SUBDIRS += \ areachart \ barchart \ customchart \ - dynamicspline \ linechart \ percentbarchart \ piechart \