diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
commit | 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch) | |
tree | 5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kresources/exchange/dateset.h | |
parent | 2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff) | |
download | tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip |
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4,
however Qt3 builds are OK. Any alterations this commit makes to kdepim
behaviour under Qt3 are unintentional and should be fixed.
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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: |