summaryrefslogtreecommitdiffstats
path: root/kode/code.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kode/code.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kode/code.h')
-rw-r--r--kode/code.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/kode/code.h b/kode/code.h
index 1723df905..9f056df2b 100644
--- a/kode/code.h
+++ b/kode/code.h
@@ -23,9 +23,9 @@
#include "license.h"
-#include <qvaluelist.h>
-#include <qstring.h>
-#include <qstringlist.h>
+#include <tqvaluelist.h>
+#include <tqstring.h>
+#include <tqstringlist.h>
#include <kdepimmacros.h>
namespace KODE {
@@ -43,26 +43,26 @@ class KDE_EXPORT Code
void indent();
void unindent();
- QString text() const { return mText; }
+ TQString text() const { return mText; }
- void addLine( const QString & );
+ void addLine( const TQString & );
void addBlock( const Code & );
- void addBlock( const QString & );
- void addBlock( const QString &, int indent );
+ void addBlock( const TQString & );
+ void addBlock( const TQString &, int indent );
- void addWrappedText( const QString & );
- void addFormattedText( const QString & );
+ void addWrappedText( const TQString & );
+ void addFormattedText( const TQString & );
void newLine();
- Code &operator+=( const QString & );
+ Code &operator+=( const TQString & );
Code &operator+=( const char * );
Code &operator+=( const Code & );
- static QString spaces( int count );
+ static TQString spaces( int count );
private:
- QString mText;
+ TQString mText;
int mIndent;
};