From 8f8a5d8eab49411bf34eda25efb02178a6ac0b7f Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 5 Apr 2007 22:29:28 +0000 Subject: [PATCH] pedantic-- svn path=/branches/KDE/3.5/kdeedu/libkdeedu/; revision=650959 --- extdate/extdatepicker.h | 2 +- extdate/extdatetime.h | 12 ++++++------ kdeeduui/kdeeduglossary.h | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/extdate/extdatepicker.h b/extdate/extdatepicker.h index 7a0c8fc..58fae58 100644 --- a/extdate/extdatepicker.h +++ b/extdate/extdatepicker.h @@ -122,7 +122,7 @@ public: * widget. * @since 3.2 */ - ExtDateTable *dateTable() const { return table; }; + ExtDateTable *dateTable() const { return table; } /** * Sets the font size of the widgets elements. diff --git a/extdate/extdatetime.h b/extdate/extdatetime.h index 6a9c671..e1bc2a7 100644 --- a/extdate/extdatetime.h +++ b/extdate/extdatetime.h @@ -81,12 +81,12 @@ public: ExtDate addYears( int years ) const; int daysTo( const ExtDate & ) const; - bool operator==( const ExtDate &d ) const { return m_jd == d.jd(); }; - bool operator!=( const ExtDate &d ) const { return m_jd != d.jd(); }; - bool operator<( const ExtDate &d ) const { return m_jd < d.jd(); }; - bool operator<=( const ExtDate &d ) const { return m_jd <= d.jd(); }; - bool operator>( const ExtDate &d ) const { return m_jd > d.jd(); }; - bool operator>=( const ExtDate &d ) const { return m_jd >= d.jd(); }; + bool operator==( const ExtDate &d ) const { return m_jd == d.jd(); } + bool operator!=( const ExtDate &d ) const { return m_jd != d.jd(); } + bool operator<( const ExtDate &d ) const { return m_jd < d.jd(); } + bool operator<=( const ExtDate &d ) const { return m_jd <= d.jd(); } + bool operator>( const ExtDate &d ) const { return m_jd > d.jd(); } + bool operator>=( const ExtDate &d ) const { return m_jd >= d.jd(); } static ExtDate currentDate( Qt::TimeSpec ts = Qt::LocalTime ); #ifndef QT_NO_DATESTRING diff --git a/kdeeduui/kdeeduglossary.h b/kdeeduui/kdeeduglossary.h index 823296a..418967f 100644 --- a/kdeeduui/kdeeduglossary.h +++ b/kdeeduui/kdeeduglossary.h @@ -179,8 +179,8 @@ class Glossary class GlossaryItem { public: - GlossaryItem(){}; - ~GlossaryItem(){}; + GlossaryItem(){} + ~GlossaryItem(){} void setName( const QString& s ){ m_name = s; -- 2.47.3