summaryrefslogtreecommitdiffstats
path: root/libkcal/freebusy.h
diff options
context:
space:
mode:
Diffstat (limited to 'libkcal/freebusy.h')
-rw-r--r--libkcal/freebusy.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/libkcal/freebusy.h b/libkcal/freebusy.h
index d87234f3..f736092d 100644
--- a/libkcal/freebusy.h
+++ b/libkcal/freebusy.h
@@ -47,7 +47,7 @@ class LIBKCAL_EXPORT FreeBusy : public IncidenceBase
FreeBusy( PeriodList busyPeriods );
~FreeBusy();
-
+
TQCString type() const { return "FreeBusy"; }
virtual TQDateTime dtEnd() const;
@@ -65,7 +65,14 @@ class LIBKCAL_EXPORT FreeBusy : public IncidenceBase
void sortList();
void merge( FreeBusy *freebusy );
-
+
+ /**
+ Compare this with @p freebusy for equality.
+
+ @param freebusy is the FreeBusy to compare.
+ */
+ bool operator==( const FreeBusy &freebusy ) const;
+
private:
bool accept( Visitor &v ) { return v.visit( this ); }
//This is used for creating a freebusy object for the current user