summaryrefslogtreecommitdiffstats
path: root/kresources/exchange/dateset.h
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/exchange/dateset.h')
-rw-r--r--kresources/exchange/dateset.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/kresources/exchange/dateset.h b/kresources/exchange/dateset.h
index 989d774c..d4e9a9fe 100644
--- a/kresources/exchange/dateset.h
+++ b/kresources/exchange/dateset.h
@@ -34,8 +34,8 @@ class DateRange {
DateRange( TQDate const& from, TQDate const& to )
: mFrom( from ), mTo( to ) { }
bool operator< ( const DateRange& r ) { return mFrom < r.from(); }
- bool contains( TQDate const& d ) { return ( mFrom <= d && d <= mTo ); }
- bool contains( TQDate const& from, TQDate const& to ) { return ( mFrom <= from && to <= mTo ); }
+ bool tqcontains( TQDate const& d ) { return ( mFrom <= d && d <= mTo ); }
+ bool tqcontains( TQDate const& from, TQDate const& to ) { return ( mFrom <= from && to <= mTo ); }
TQDate from() { return mFrom; }
TQDate to() { return mTo; }
@@ -68,9 +68,9 @@ class DateSet {
void remove( TQDate const& date );
void remove( TQDate const& from, TQDate const& to );
- bool contains( TQDate const& date );
+ bool tqcontains( TQDate const& date );
// returns true if and only if the whole range is in the set
- bool contains( TQDate const& from, TQDate const& to );
+ bool tqcontains( TQDate const& from, TQDate const& to );
int find( TQDate const &date );
void print();