summaryrefslogtreecommitdiffstats
path: root/knode/utilities.h
diff options
context:
space:
mode:
Diffstat (limited to 'knode/utilities.h')
-rw-r--r--knode/utilities.h23
1 files changed, 1 insertions, 22 deletions
diff --git a/knode/utilities.h b/knode/utilities.h
index e88ca6955..f20d99e1c 100644
--- a/knode/utilities.h
+++ b/knode/utilities.h
@@ -20,8 +20,6 @@
#include <tqfile.h>
#include <tqglobal.h>
-#include <tqptrvector.h>
-#include <tqptrlist.h>
class TQWidget;
class TQString;
@@ -36,25 +34,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:
@@ -63,7 +42,7 @@ class KNFile : public TQFile {
const TQCString& readLine();
const TQCString& readLineWnewLine();
/** searches for the string from the current file position
- returns -1 when the string wasn't found. */
+ returns -1 when the string wasn't found. */
int findString(const char *s);
protected: