diff options
Diffstat (limited to 'kresources/exchange/dateset.h')
-rw-r--r-- | kresources/exchange/dateset.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kresources/exchange/dateset.h b/kresources/exchange/dateset.h index d4e9a9fef..99c02a5c7 100644 --- a/kresources/exchange/dateset.h +++ b/kresources/exchange/dateset.h @@ -46,11 +46,11 @@ class DateRange { } */ -class RangeList : public TQPtrList< QPair<TQDate, TQDate> > { +class RangeList : public TQPtrList< TQPair<TQDate, TQDate> > { protected: virtual int compareItems(TQPtrCollection::Item item1, TQPtrCollection::Item item2) { - QPair<TQDate,TQDate> *i1 = static_cast<QPair<TQDate,TQDate> *> (item1); - QPair<TQDate,TQDate> *i2 = static_cast<QPair<TQDate,TQDate> *> (item2); + TQPair<TQDate,TQDate> *i1 = static_cast<TQPair<TQDate,TQDate> *> (item1); + TQPair<TQDate,TQDate> *i2 = static_cast<TQPair<TQDate,TQDate> *> (item2); if ( *i1 < *i2 ) return -1; if ( *i2 < *i1 ) return 1; return 0; @@ -72,7 +72,7 @@ class DateSet { // returns true if and only if the whole range is in the set bool tqcontains( TQDate const& from, TQDate const& to ); - int find( TQDate const &date ); + int tqfind( TQDate const &date ); void print(); protected: |