summaryrefslogtreecommitdiffstats
path: root/languages/cpp/completiondebug.h
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/completiondebug.h')
-rw-r--r--languages/cpp/completiondebug.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/languages/cpp/completiondebug.h b/languages/cpp/completiondebug.h
index 088b3b99..325ad193 100644
--- a/languages/cpp/completiondebug.h
+++ b/languages/cpp/completiondebug.h
@@ -20,7 +20,7 @@ email : david.nolden.kdevelop@art-master.de
///When defined, a backtrace is printed the first time the maximum depth is reached for the first time.
//#define DEPTHBACKTRACE
-#include <qstringlist.h>
+#include <tqstringlist.h>
#include <kdebug.h>
namespace CompletionDebug {
@@ -29,7 +29,7 @@ class KDDebugState {
private:
StreamType m_stream;
kndbgstream m_nstream;
- QStringList m_prefixStack;
+ TQStringList m_prefixStack;
int m_counter;
int m_depth;
bool m_enabled;
@@ -41,7 +41,7 @@ class KDDebugState {
KDDebugState( StreamType stream ) : m_stream( stream ), m_counter( 0 ), m_depth( 0 ), m_enabled( true ), m_hadWarning( false ) {}
- void push( const QString & txt ) {
+ void push( const TQString & txt ) {
m_prefixStack.push_back( txt );
pushDepth();
}
@@ -74,7 +74,7 @@ class KDDebugState {
#endif
m_stream << "(" << m_counter << ")";
- for ( QStringList::iterator it = m_prefixStack.begin(); it != m_prefixStack.end() ; ++it )
+ for ( TQStringList::iterator it = m_prefixStack.begin(); it != m_prefixStack.end() ; ++it )
m_stream << *it;
m_counter++;
@@ -92,7 +92,7 @@ class KDDebugState {
#ifndef NDEBUG
void outputPrefix( kdbgstream& target ) {
target << "(" << m_counter << ")";
- for ( QStringList::iterator it = m_prefixStack.begin(); it != m_prefixStack.end() ; ++it )
+ for ( TQStringList::iterator it = m_prefixStack.begin(); it != m_prefixStack.end() ; ++it )
target << *it;
m_counter++;