diff --git a/src/barchart/qabstractbarseries.cpp b/src/barchart/qabstractbarseries.cpp index 27c84ba..dd29315 100644 --- a/src/barchart/qabstractbarseries.cpp +++ b/src/barchart/qabstractbarseries.cpp @@ -48,7 +48,7 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE \sa QBarSet, QStackedBarSeries, QPercentBarSeries */ /*! - \qmlclass BarSeries QAbstractBarSeries + \qmlclass AbstractBarSeries QAbstractBarSeries \inherits QAbstractSeries The following QML shows how to create a simple bar chart: @@ -69,7 +69,7 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE \sa QGroupedBarSeries */ /*! - \qmlproperty real BarSeries::barWidth + \qmlproperty real AbstractBarSeries::barWidth The width of the bars of the series. The unit of width is the unit of x-axis. The minimum width for bars is zero and negative values are treated as zero. Setting the width to zero means that width of the bar on screen is one pixel no matter what the scale of x-axis is. Bars wider than zero are scaled with x-axis. @@ -81,7 +81,7 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE Holds the number of sets in series. */ /*! - \qmlproperty int BarSeries::count + \qmlproperty int AbstractBarSeries::count Holds the number of sets in series. */ @@ -90,7 +90,7 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE Defines the visibility of the labels in series */ /*! - \qmlproperty bool BarSeries::labelsVisible + \qmlproperty bool AbstractBarSeries::labelsVisible Defines the visibility of the labels in series */ @@ -100,7 +100,7 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE Clicked bar inside set is indexed by \a index */ /*! - \qmlsignal BarSeries::onClicked(int index, BarSet barset) + \qmlsignal AbstractBarSeries::onClicked(int index, BarSet barset) The signal is emitted if the user clicks with a mouse on top of BarSet. Clicked bar inside set is indexed by \a index */ @@ -113,7 +113,7 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE Parameter \a status is true, if mouse entered on top of series, false if mouse left from top of series. */ /*! - \qmlsignal BarSeries::onHovered(bool status, BarSet barset) + \qmlsignal AbstractBarSeries::onHovered(bool status, BarSet barset) The signal is emitted if mouse is hovered on top of series. Parameter \a barset is the pointer of barset, where hover happened. @@ -125,7 +125,7 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE This signal is emitted when barset count has been changed, for example by append or remove. */ /*! - \qmlsignal BarSeries::onCountChanged() + \qmlsignal AbstractBarSeries::onCountChanged() This signal is emitted when barset count has been changed, for example by append or remove. */ @@ -141,7 +141,7 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE \sa append(), insert() */ /*! - \qmlsignal BarSeries::onAdded(BarSet barset) + \qmlsignal AbstractBarSeries::onAdded(BarSet barset) Emitted when \a barset has been added to the series. */ @@ -151,17 +151,17 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE \sa remove() */ /*! - \qmlsignal BarSeries::onRemoved(BarSet barset) + \qmlsignal AbstractBarSeries::onRemoved(BarSet barset) Emitted when \a barset has been removed from the series. */ /*! - \qmlmethod BarSet BarSeries::at(int index) + \qmlmethod BarSet AbstractBarSeries::at(int index) Returns bar set at \a index. Returns null if the index is not valid. */ /*! - \qmlmethod BarSet BarSeries::append(string label, VariantList values) + \qmlmethod BarSet AbstractBarSeries::append(string label, VariantList values) Adds a new bar set with \a label and \a values to \a index. Values can be a list of reals or a list of XYPoints. For example: \code @@ -171,20 +171,20 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE */ /*! - \qmlmethod BarSet BarSeries::insert(int index, string label, VariantList values) + \qmlmethod BarSet AbstractBarSeries::insert(int index, string label, VariantList values) Inserts a new bar set with \a label and \a values to \a index. Values can be a list of reals or a list of XYPoints. If index is zero or smaller, the new barset is prepended. If the index is count or bigger, the new barset is appended. - \sa BarSeries::append() + \sa AbstractBarSeries::append() */ /*! - \qmlmethod bool BarSeries::remove(BarSet barset) + \qmlmethod bool AbstractBarSeries::remove(BarSet barset) Removes the barset from the series. Returns true if successfull, false otherwise. */ /*! - \qmlmethod BarSeries::clear() + \qmlmethod AbstractBarSeries::clear() Removes all barsets from the series. */ @@ -198,7 +198,7 @@ QAbstractBarSeries::QAbstractBarSeries(QObject *parent) : } /*! - Destructs barseries and owned barsets. + Destructs abstractbarseries and owned barsets. */ QAbstractBarSeries::~QAbstractBarSeries() { diff --git a/src/barchart/qabstractbarseries.h b/src/barchart/qabstractbarseries.h index a7faea7..3f6729d 100644 --- a/src/barchart/qabstractbarseries.h +++ b/src/barchart/qabstractbarseries.h @@ -18,8 +18,8 @@ ** ****************************************************************************/ -#ifndef BARSERIES_H -#define BARSERIES_H +#ifndef ABSTRACTBARSERIES_H +#define ABSTRACTBARSERIES_H #include #include @@ -81,4 +81,4 @@ protected: QTCOMMERCIALCHART_END_NAMESPACE -#endif // BARSERIES_H +#endif // ABSTRACTBARSERIES_H diff --git a/src/barchart/qbarset.cpp b/src/barchart/qbarset.cpp index 4ad3b9e..07283be 100644 --- a/src/barchart/qbarset.cpp +++ b/src/barchart/qbarset.cpp @@ -43,7 +43,7 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE First value of set is assumed to belong to first category, second to second category and so on. If set has fewer values than there are categories, then the missing values are assumed to be at the end of set. For missing values in middle of a set, numerical value of zero is used. - \sa BarSeries, GroupedBarSeries, StackedBarSeries, PercentBarSeries + \sa AbstractBarSeries, GroupedBarSeries, StackedBarSeries, PercentBarSeries */ /*! diff --git a/src/barchart/qgroupedbarseries.cpp b/src/barchart/qgroupedbarseries.cpp index c951f65..b303a0e 100644 --- a/src/barchart/qgroupedbarseries.cpp +++ b/src/barchart/qgroupedbarseries.cpp @@ -45,7 +45,7 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE */ /*! \qmlclass GroupedBarSeries QGroupedBarSeries - \inherits BarSeries + \inherits AbstractBarSeries The following QML shows how to create a simple grouped bar chart: \snippet ../demos/qmlchart/qml/qmlchart/View8.qml 1 diff --git a/src/barchart/qhbarmodelmapper.cpp b/src/barchart/qhbarmodelmapper.cpp index 7aca1e5..84d68dc 100644 --- a/src/barchart/qhbarmodelmapper.cpp +++ b/src/barchart/qhbarmodelmapper.cpp @@ -63,8 +63,8 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE When new series is specified the old series is disconnected (it preserves its data) */ /*! - \qmlproperty BarSeries HBarModelMapper::series - Defines the BarSeries based object that is used by the mapper. All the data in the series is discarded when it is + \qmlproperty AbstractBarSeries HBarModelMapper::series + Defines the AbstractBarSeries based object that is used by the mapper. All the data in the series is discarded when it is set to the mapper. When new series is specified the old series is disconnected (it preserves its data). */ diff --git a/src/barchart/qstackedbarseries.cpp b/src/barchart/qstackedbarseries.cpp index 3020b57..004e5d2 100644 --- a/src/barchart/qstackedbarseries.cpp +++ b/src/barchart/qstackedbarseries.cpp @@ -46,7 +46,7 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE /*! \qmlclass StackedBarSeries QStackedBarSeries - \inherits BarSeries + \inherits AbstractBarSeries The following QML shows how to create a simple stacked bar chart: \snippet ../demos/qmlchart/qml/qmlchart/View8.qml 1 diff --git a/src/barchart/qvbarmodelmapper.cpp b/src/barchart/qvbarmodelmapper.cpp index 75c0f8b..72a1d48 100644 --- a/src/barchart/qvbarmodelmapper.cpp +++ b/src/barchart/qvbarmodelmapper.cpp @@ -64,8 +64,8 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE When new series is specified the old series is disconnected (it preserves its data) */ /*! - \qmlproperty BarSeries VBarModelMapper::series - Defines the BarSeries based object that is used by the mapper. All the data in the series is discarded when it is + \qmlproperty AbstractBarSeries VBarModelMapper::series + Defines the AbstractBarSeries based object that is used by the mapper. All the data in the series is discarded when it is set to the mapper. When new series is specified the old series is disconnected (it preserves its data). */