]> Git trees. - libqmvoc.git/commitdiff
pedantic-- v3.5.7 v3.5.8
authorDirk Mueller <mueller@kde.org>
Thu, 5 Apr 2007 22:29:28 +0000 (22:29 +0000)
committerDirk Mueller <mueller@kde.org>
Thu, 5 Apr 2007 22:29:28 +0000 (22:29 +0000)
svn path=/branches/KDE/3.5/kdeedu/libkdeedu/; revision=650959

extdate/extdatepicker.h
extdate/extdatetime.h
kdeeduui/kdeeduglossary.h

index 7a0c8fc18d0e5388dec88f7ec85104e99a195258..58fae58a91eb8ee2ec95a3efaf6835abb6461eec 100644 (file)
@@ -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.
index 6a9c671b96f30363062a7818fe8ee6b92d8773ec..e1bc2a79862f05f1d2245c266fc8fb7a362ec198 100644 (file)
@@ -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
index 823296aa4709f26ad03e8634b91d3e1d192fd73a..418967f68a365069c97477b6a1725591c80c3fb2 100644 (file)
@@ -179,8 +179,8 @@ class Glossary
 class GlossaryItem
 {
        public:
-               GlossaryItem(){};
-               ~GlossaryItem(){};
+               GlossaryItem(){}
+               ~GlossaryItem(){}
 
                void setName( const QString& s ){
                        m_name = s;