From 1c93fca14d9ce37499bcfdf994c660186a0b6f17 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 14 Apr 2011 20:16:30 +0000 Subject: Enable kdepim compilation under Qt4 This will likely break Qt3 compilation temporarily, which is an unintended side effect. A third and final kdepim commit will repair Qt3 compilation shortly. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227946 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libkcal/recurrencerule.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'libkcal/recurrencerule.h') diff --git a/libkcal/recurrencerule.h b/libkcal/recurrencerule.h index a93062d08..14335a0b6 100644 --- a/libkcal/recurrencerule.h +++ b/libkcal/recurrencerule.h @@ -30,7 +30,7 @@ #include "libkcal_export.h" template -Q_INLINE_TEMPLATES void qSortUnique( TQValueList &lst ) +TQ_INLINE_TEMPLATES void qSortUnique( TQValueList &lst ) { qHeapSort( lst ); if ( lst.isEmpty() ) return; @@ -51,7 +51,7 @@ Q_INLINE_TEMPLATES void qSortUnique( TQValueList &lst ) } template -Q_INLINE_TEMPLATES int findGE( const TQValueList &lst, const T &value, int start ) +TQ_INLINE_TEMPLATES int findGE( const TQValueList &lst, const T &value, int start ) { // Do a binary search to find the first item >= value int st = start - 1; @@ -69,7 +69,7 @@ Q_INLINE_TEMPLATES int findGE( const TQValueList &lst, const T &value, int st } template -Q_INLINE_TEMPLATES int findGT( const TQValueList &lst, const T &value, int start ) +TQ_INLINE_TEMPLATES int findGT( const TQValueList &lst, const T &value, int start ) { // Do a binary search to find the first item > value int st = start - 1; @@ -87,7 +87,7 @@ Q_INLINE_TEMPLATES int findGT( const TQValueList &lst, const T &value, int st } template -Q_INLINE_TEMPLATES int findLE( const TQValueList &lst, const T &value, int start ) +TQ_INLINE_TEMPLATES int findLE( const TQValueList &lst, const T &value, int start ) { // Do a binary search to find the last item <= value int st = start - 1; @@ -104,7 +104,7 @@ Q_INLINE_TEMPLATES int findLE( const TQValueList &lst, const T &value, int st } template -Q_INLINE_TEMPLATES int findLT( const TQValueList &lst, const T &value, int start ) +TQ_INLINE_TEMPLATES int findLT( const TQValueList &lst, const T &value, int start ) { // Do a binary search to find the last item < value int st = start - 1; @@ -121,7 +121,7 @@ Q_INLINE_TEMPLATES int findLT( const TQValueList &lst, const T &value, int st } template -Q_INLINE_TEMPLATES int findSorted( const TQValueList &lst, const T &value, int start ) +TQ_INLINE_TEMPLATES int findSorted( const TQValueList &lst, const T &value, int start ) { // Do a binary search to find the item == value int st = start - 1; @@ -138,7 +138,7 @@ Q_INLINE_TEMPLATES int findSorted( const TQValueList &lst, const T &value, in } template -Q_INLINE_TEMPLATES int removeSorted( TQValueList &lst, const T &value, int start ) +TQ_INLINE_TEMPLATES int removeSorted( TQValueList &lst, const T &value, int start ) { int i = findSorted( lst, value, start ); if ( i >= 0 ) { @@ -148,7 +148,7 @@ Q_INLINE_TEMPLATES int removeSorted( TQValueList &lst, const T &value, int st } template -Q_INLINE_TEMPLATES bool containsSorted( const TQValueList &lst, const T &value ) +TQ_INLINE_TEMPLATES bool containsSorted( const TQValueList &lst, const T &value ) { return findSorted( lst, value, 0 ) >= 0; } -- cgit v1.2.1