diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-06-19 00:12:51 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-06-19 00:12:51 +0900 |
commit | fd0046c40716f19ab1bd3bff77b123e373b73771 (patch) | |
tree | 7ba6fd2df02f719a510f1b6e89c85aa22736dd8f /knode/utilities.h | |
parent | 6ffa01798d4f0d77e70b5d2a5061fcb33cb5e4df (diff) | |
download | tdepim-fd0046c40716f19ab1bd3bff77b123e373b73771.tar.gz tdepim-fd0046c40716f19ab1bd3bff77b123e373b73771.zip |
Drop Qt2's TQSemiModal and TQSortedList classes
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'knode/utilities.h')
-rw-r--r-- | knode/utilities.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/knode/utilities.h b/knode/utilities.h index e88ca695..98938875 100644 --- a/knode/utilities.h +++ b/knode/utilities.h @@ -36,25 +36,6 @@ class KTempFile; // utility classes //***************************************************************************** -/** clone of TQSortedList... */ -template<class type> class TQ_EXPORT TQSortedVector : public TQPtrVector<type> -{ -public: - TQSortedVector() {} - TQSortedVector ( uint size ) : TQPtrVector<type>(size) {} - TQSortedVector( const TQSortedVector<type> &l ) : TQPtrVector<type>(l) {} - ~TQSortedVector() { TQPtrVector<type>::clear(); } - TQSortedVector<type> &operator=(const TQSortedVector<type> &l) - { return (TQSortedVector<type>&)TQPtrList<type>::operator=(l); } - - virtual int compareItems( TQPtrCollection::Item s1, TQPtrCollection::Item s2 ) - { if ( *((type*)s1) == *((type*)s2) ) return 0; return ( *((type*)s1) < *((type*)s2) ? -1 : 1 ); } -}; - - -//============================================================================== - - class KNFile : public TQFile { public: |