diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-16 20:17:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-16 20:17:18 +0000 |
commit | f4fae92b6768541e2952173c3d4b09040f95bf7e (patch) | |
tree | d8c5d93232235cd635f3310b4d95490df181ba2d /kresources/exchange/dateset.cpp | |
parent | 125c0a08265b75a133644d3b55f47e37c919f45d (diff) | |
download | tdepim-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.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; |