[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdepim/libkcal
From:       Bram Schoenmakers <bramschoenmakers () kde ! nl>
Date:       2005-01-07 11:51:05
Message-ID: 20050107115105.4CC5D1CF6C () office ! kde ! org
[Download RAW message or body]

CVS commit by bram: 

Add const


  M +2 -2      todo.cpp   1.26
  M +2 -2      todo.h   1.22


--- kdepim/libkcal/todo.cpp  #1.25:1.26
@@ -245,5 +245,5 @@ QDateTime Todo::dtRecurrence() const
 }
 
-bool Todo::recursOn( const QDate &date )
+bool Todo::recursOn( const QDate &date ) const
 {
   QDate today = QDate::currentDate();
@@ -277,5 +277,5 @@ bool Todo::recurTodo()
 }
 
-bool Todo::isOverdue()
+bool Todo::isOverdue() const
 {
   bool inPast = doesFloat() ? mDtDue.date() < QDate::currentDate()

--- kdepim/libkcal/todo.h  #1.21:1.22
@@ -204,5 +204,5 @@ class Todo : public Incidence
       the recurstart and today.
     */
-    virtual bool recursOn( const QDate &date );
+    virtual bool recursOn( const QDate &date ) const;
 
     /**
@@ -210,5 +210,5 @@ class Todo : public Incidence
       and not completed), else false.
      */
-      bool isOverdue();
+      bool isOverdue() const;
 
   private:


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic