diff options
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 e88ca6955..989388759 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: |