From 6f7746d4b14c4212eaccf9f7bf2f91dbc267224c Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Mon, 6 Feb 2006 20:41:22 +0000 Subject: [PATCH] Remove deprecated. svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=506469 --- kdeeduplot/kplotwidget.cpp | 14 -------------- kdeeduplot/kplotwidget.h | 28 ---------------------------- 2 files changed, 42 deletions(-) diff --git a/kdeeduplot/kplotwidget.cpp b/kdeeduplot/kplotwidget.cpp index 9ebf232..1579201 100644 --- a/kdeeduplot/kplotwidget.cpp +++ b/kdeeduplot/kplotwidget.cpp @@ -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; diff --git a/kdeeduplot/kplotwidget.h b/kdeeduplot/kplotwidget.h index cb462e4..d94e644 100644 --- a/kdeeduplot/kplotwidget.h +++ b/kdeeduplot/kplotwidget.h @@ -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 \) - * @return the remainder after dividing @p b into @p a. - */ - KDE_DEPRECATED double dmod( double a, double b ); - virtual void recalcPixRect(); QList pointsUnderPoint( const QPoint& p ) const; -- 2.47.3