summaryrefslogtreecommitdiffstats
path: root/languages/cpp/completiondebug.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /languages/cpp/completiondebug.h
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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++;