From 20ef2552bbdb8fea79642a400e200197f50f1c92 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Fri, 16 Feb 2007 21:48:44 +0000 Subject: [PATCH] API change: remove the old constructor as no more used svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=634328 --- kdeeduplot/kplotwidget.cpp | 15 --------------- kdeeduplot/kplotwidget.h | 5 ----- 2 files changed, 20 deletions(-) diff --git a/kdeeduplot/kplotwidget.cpp b/kdeeduplot/kplotwidget.cpp index c8d24ac..32b9eb1 100644 --- a/kdeeduplot/kplotwidget.cpp +++ b/kdeeduplot/kplotwidget.cpp @@ -80,21 +80,6 @@ class KPlotWidget::Private QList objectList; }; -KPlotWidget::KPlotWidget( QWidget *parent, double x1, double x2, double y1, double y2 ) - : QFrame( parent ), d( new Private( this ) ) -{ - setAttribute( Qt::WA_NoBackground, true ); - - //set DataRect - setLimits( x1, x2, y1, y2 ); - SecondDataRect = QRect(); //default: no secondary data rect - - setDefaultPaddings(); - - setMinimumSize( 150, 150 ); - resize( minimumSizeHint() ); -} - KPlotWidget::KPlotWidget( QWidget * parent ) : QFrame( parent ), d( new Private( this ) ) { diff --git a/kdeeduplot/kplotwidget.h b/kdeeduplot/kplotwidget.h index 9880903..3af774e 100644 --- a/kdeeduplot/kplotwidget.h +++ b/kdeeduplot/kplotwidget.h @@ -85,11 +85,6 @@ class KDEEDUPLOT_EXPORT KPlotWidget : public QFrame { Q_PROPERTY(bool grid READ isGridShown WRITE setShowGrid) Q_PROPERTY(bool objectToolTip READ isObjectToolTipShown WRITE setObjectToolTipShown) public: - /** - * @deprecated use the normal constructor and setLimits() - */ - KDE_DEPRECATED KPlotWidget( QWidget *parent, double x1, double x2, double y1, double y2 ); - /** * Constructor. * @param parent the parent widget -- 2.47.3