]> Git trees. - libqmvoc.git/commitdiff
Remove deprecated.
authorPino Toscano <pino@kde.org>
Mon, 6 Feb 2006 20:41:22 +0000 (20:41 +0000)
committerPino Toscano <pino@kde.org>
Mon, 6 Feb 2006 20:41:22 +0000 (20:41 +0000)
svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=506469

kdeeduplot/kplotwidget.cpp
kdeeduplot/kplotwidget.h

index 9ebf2323d107abb10f8b8091e906780c1c873475..1579201fbb57fe2d78e33c3d8e656de352cd2493 100644 (file)
@@ -357,9 +357,6 @@ void KPlotWidget::drawObjects( QPainter *p ) {
        }
 }
 
-// DEPRECATED
-double KPlotWidget::dmod( double a, double b ) { return ( b * ( ( a / b ) - int( a / b ) ) ); }
-
 void KPlotWidget::drawBox( QPainter *p ) {
        if ( ShowGrid ) {
                //Grid lines are placed at locations of primary axes' major tickmarks
@@ -501,17 +498,6 @@ void KPlotWidget::drawBox( QPainter *p ) {
 
 }
 
-// DEPRECATED
-void KPlotWidget::setXAxisLabel( const QString& xlabel ) {
-       mAxes[BottomAxis]->setLabel(xlabel);
-}
-
-// DEPRECATED
-void KPlotWidget::setYAxisLabel( const QString& ylabel ) {
-       mAxes[LeftAxis]->setLabel(ylabel);
-}
-
-
 int KPlotWidget::leftPadding() const {
        if ( LeftPadding >= 0 ) return LeftPadding;
        if ( ! mAxes[LeftAxis]->label().isEmpty() && ShowTickLabels ) return 3*XPADDING;
index cb462e45770855b5cc5e955109ad5f7f0fc1f0fe..d94e6443f4d474974125b897eeabfc94cadf9449 100644 (file)
@@ -218,23 +218,6 @@ public:
         */
        bool areObjectToolTipsShown() const { return ShowObjectToolTips; }
 
-       /**
-        * Sets the X-axis label.
-        * Set the label to an empty string to omit the axis label.
-        *
-        * @deprecated set the label property in the BottomAxis directly
-        * @param xlabel a short string describing the data plotted on the x-axis.
-        */
-       KDE_DEPRECATED void setXAxisLabel( const QString& xlabel );
-       /**
-        * Sets the Y-axis label
-        * Set the label to an empty string to omit the axis label.
-        *
-        * @deprecated set the label property in the LeftAxis directly
-        * @param ylabel a short string describing the data plotted on the y-axis.
-        */
-       KDE_DEPRECATED void setYAxisLabel( const QString& ylabel );
-
        /**
         * @returns the number of pixels to the left of the plot area.
         * Padding values are set to -1 by default; if unchanged, this function will try to guess
@@ -361,17 +344,6 @@ protected:
         */
        virtual void drawBox( QPainter *p );
 
-       /**
-        * Modulus function for double variables.
-        * For example:
-        * @code
-        * double m = dmod( 17.0, 7.0 ); // m == 3.0
-        * @endcode
-        * @deprecated use fmod (already defined in \<math.h\>)
-        * @return the remainder after dividing @p b into @p a.
-        */
-       KDE_DEPRECATED double dmod( double a, double b );
-
        virtual void recalcPixRect();
 
        QList<KPlotObject*> pointsUnderPoint( const QPoint& p ) const;