summaryrefslogtreecommitdiffstats
path: root/lib/interfaces/hashedstring.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/interfaces/hashedstring.h')
-rw-r--r--lib/interfaces/hashedstring.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/interfaces/hashedstring.h b/lib/interfaces/hashedstring.h
index e62ab2e3..ac0d2e67 100644
--- a/lib/interfaces/hashedstring.h
+++ b/lib/interfaces/hashedstring.h
@@ -15,8 +15,8 @@
#ifndef HASHED_STRING_H
#define HASHED_STRING_H
-#include<qstring.h>
-#include<qdatastream.h>
+#include<tqstring.h>
+#include<tqdatastream.h>
#include<ksharedptr.h>
#include<set>
#include <ext/hash_map>
@@ -27,7 +27,7 @@ class HashedString {
public:
HashedString() : m_hash( 0 ) {}
- HashedString( const QString& str ) : m_str( str ) {
+ HashedString( const TQString& str ) : m_str( str ) {
initHash();
}
@@ -39,7 +39,7 @@ class HashedString {
return m_hash;
}
- QString str() const {
+ TQString str() const {
return m_str;
}
@@ -58,21 +58,21 @@ class HashedString {
return false;
}
- static size_t hashString( const QString& str );
+ static size_t hashString( const TQString& str );
private:
void initHash();
- QString m_str;
+ TQString m_str;
size_t m_hash;
- friend QDataStream& operator << ( QDataStream& stream, const HashedString& str );
- friend QDataStream& operator >> ( QDataStream& stream, HashedString& str );
+ friend TQDataStream& operator << ( TQDataStream& stream, const HashedString& str );
+ friend TQDataStream& operator >> ( TQDataStream& stream, HashedString& str );
};
-QDataStream& operator << ( QDataStream& stream, const HashedString& str );
+TQDataStream& operator << ( TQDataStream& stream, const HashedString& str );
-QDataStream& operator >> ( QDataStream& stream, HashedString& str );
+TQDataStream& operator >> ( TQDataStream& stream, HashedString& str );
class HashedStringSetData;
class HashedStringSetGroup;
@@ -107,8 +107,8 @@ class HashedStringSet {
bool operator == ( const HashedStringSet& rhs ) const;
- void read( QDataStream& stream );
- void write( QDataStream& stream ) const;
+ void read( TQDataStream& stream );
+ void write( TQDataStream& stream ) const;
std::string print() const;