summaryrefslogtreecommitdiffstats
path: root/kresources/exchange/dateset.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /kresources/exchange/dateset.h
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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();