diff options
author | Michele Calgaro <[email protected]> | 2023-09-06 12:45:31 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-09-07 15:14:50 +0900 |
commit | 926102a455014e6ab308aaced19e32eed7ed4414 (patch) | |
tree | e067ab2b73341043cc70aa9c109e300357576e98 /src/tools/ntqpair.h | |
parent | e0a3cab4467dccdd57a8cba57656be53ae192a51 (diff) | |
download | tqt3-926102a455014e6ab308aaced19e32eed7ed4414.tar.gz tqt3-926102a455014e6ab308aaced19e32eed7ed4414.zip |
Replace various Q_* and QT_* defines with TQ_* and TQT_*
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/tools/ntqpair.h')
-rw-r--r-- | src/tools/ntqpair.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/ntqpair.h b/src/tools/ntqpair.h index cc6cca22e..cd1614685 100644 --- a/src/tools/ntqpair.h +++ b/src/tools/ntqpair.h @@ -72,20 +72,20 @@ struct TQPair }; template <class T1, class T2> -Q_INLINE_TEMPLATES bool operator==( const TQPair<T1, T2>& x, const TQPair<T1, T2>& y ) +TQ_INLINE_TEMPLATES bool operator==( const TQPair<T1, T2>& x, const TQPair<T1, T2>& y ) { return x.first == y.first && x.second == y.second; } template <class T1, class T2> -Q_INLINE_TEMPLATES bool operator<( const TQPair<T1, T2>& x, const TQPair<T1, T2>& y ) +TQ_INLINE_TEMPLATES bool operator<( const TQPair<T1, T2>& x, const TQPair<T1, T2>& y ) { return x.first < y.first || ( !( y.first < x.first ) && x.second < y.second ); } template <class T1, class T2> -Q_INLINE_TEMPLATES TQPair<T1, T2> qMakePair( const T1& x, const T2& y ) +TQ_INLINE_TEMPLATES TQPair<T1, T2> qMakePair( const T1& x, const T2& y ) { return TQPair<T1, T2>( x, y ); } |