diff options
Diffstat (limited to 'kresources/exchange/dateset.cpp')
-rw-r--r-- | kresources/exchange/dateset.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kresources/exchange/dateset.cpp b/kresources/exchange/dateset.cpp index a2372c874..2fed82af6 100644 --- a/kresources/exchange/dateset.cpp +++ b/kresources/exchange/dateset.cpp @@ -155,24 +155,24 @@ void DateSet::remove( TQDate const& from, TQDate const& to ) } } -bool DateSet::contains( TQDate const& date ) +bool DateSet::tqcontains( TQDate const& date ) { if (mDates->isEmpty()) { return false; } uint i = find( date ); -// kdDebug() << "contains looking for " << date.toString() << " at range " << i << endl; +// kdDebug() << "tqcontains looking for " << date.toString() << " at range " << i << endl; if ( i == mDates->count() ) return false; QPair<TQDate,TQDate>* item = mDates->at( i ); - // kdDebug() << "contains looking at range " << item->first.toString() << " -- " << item->second.toString() << endl; + // kdDebug() << "tqcontains looking at range " << item->first.toString() << " -- " << item->second.toString() << endl; return ( item->first <= date ); } // returns true if and only if the whole range is in the set -bool DateSet::contains( TQDate const& from, TQDate const& to ) +bool DateSet::tqcontains( TQDate const& from, TQDate const& to ) { if (mDates->isEmpty()) { return false; |