From e82f1a50b86f63b44f461bd86ffc6deef3fef83e Mon Sep 17 00:00:00 2001 From: Anne-Marie Mahfouf Date: Sun, 28 Aug 2005 00:15:59 +0000 Subject: [PATCH] TRUE->true FALSE->false svn path=/branches/KDE/3.5/kdeedu/libkdeedu/; revision=454099 --- extdate/extdatetime.cpp | 16 ++++++++-------- kdeeduplot/kplotobject.cpp | 2 +- kdeeduplot/kplotwidget.cpp | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/extdate/extdatetime.cpp b/extdate/extdatetime.cpp index c07bb31..66f3243 100644 --- a/extdate/extdatetime.cpp +++ b/extdate/extdatetime.cpp @@ -920,8 +920,8 @@ bool ExtDateTime::operator!=( const ExtDateTime &dt ) const bool ExtDateTime::operator<( const ExtDateTime &dt ) const { if ( d < dt.d ) - return TRUE; - return d == dt.d ? t < dt.t : FALSE; + return true; + return d == dt.d ? t < dt.t : false; } /*! @@ -932,8 +932,8 @@ bool ExtDateTime::operator<( const ExtDateTime &dt ) const bool ExtDateTime::operator<=( const ExtDateTime &dt ) const { if ( d < dt.d ) - return TRUE; - return d == dt.d ? t <= dt.t : FALSE; + return true; + return d == dt.d ? t <= dt.t : false; } /*! @@ -944,8 +944,8 @@ bool ExtDateTime::operator<=( const ExtDateTime &dt ) const bool ExtDateTime::operator>( const ExtDateTime &dt ) const { if ( d > dt.d ) - return TRUE; - return d == dt.d ? t > dt.t : FALSE; + return true; + return d == dt.d ? t > dt.t : false; } /*! @@ -956,8 +956,8 @@ bool ExtDateTime::operator>( const ExtDateTime &dt ) const bool ExtDateTime::operator>=( const ExtDateTime &dt ) const { if ( d > dt.d ) - return TRUE; - return d == dt.d ? t >= dt.t : FALSE; + return true; + return d == dt.d ? t >= dt.t : false; } /*! diff --git a/kdeeduplot/kplotobject.cpp b/kdeeduplot/kplotobject.cpp index 54f6dab..57ca751 100644 --- a/kdeeduplot/kplotobject.cpp +++ b/kdeeduplot/kplotobject.cpp @@ -32,7 +32,7 @@ KPlotObject::KPlotObject( const QString &n, const QString &c, PTYPE t, unsigned setSize( s ); setParam( p ); - pList.setAutoDelete( TRUE ); + pList.setAutoDelete( true ); } KPlotObject::~KPlotObject() diff --git a/kdeeduplot/kplotwidget.cpp b/kdeeduplot/kplotwidget.cpp index eb527ba..7d139bb 100644 --- a/kdeeduplot/kplotwidget.cpp +++ b/kdeeduplot/kplotwidget.cpp @@ -46,7 +46,7 @@ KPlotWidget::KPlotWidget( double x1, double x2, double y1, double y2, QWidget *p setFGColor( QColor( "white" ) ); setGridColor( QColor( "grey" ) ); - ObjectList.setAutoDelete( TRUE ); + ObjectList.setAutoDelete( true ); } KPlotWidget::~KPlotWidget() -- 2.47.3