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.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/kresources/exchange/dateset.h b/kresources/exchange/dateset.h
index 99c02a5c7..693aa4a31 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 tqcontains( TQDate const& d ) { return ( mFrom <= d && d <= mTo ); }
- bool tqcontains( TQDate const& from, TQDate const& to ) { return ( mFrom <= from && to <= mTo ); }
+ bool contains( TQDate const& d ) { return ( mFrom <= d && d <= mTo ); }
+ bool contains( TQDate const& from, TQDate const& to ) { return ( mFrom <= from && to <= mTo ); }
TQDate from() { return mFrom; }
TQDate to() { return mTo; }
@@ -68,11 +68,11 @@ class DateSet {
void remove( TQDate const& date );
void remove( TQDate const& from, TQDate const& to );
- bool tqcontains( TQDate const& date );
+ bool contains( TQDate const& date );
// returns true if and only if the whole range is in the set
- bool tqcontains( TQDate const& from, TQDate const& to );
+ bool contains( TQDate const& from, TQDate const& to );
- int tqfind( TQDate const &date );
+ int find( TQDate const &date );
void print();
protected: