diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kate/part/katetemplatehandler.h | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate/part/katetemplatehandler.h')
-rw-r--r-- | kate/part/katetemplatehandler.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kate/part/katetemplatehandler.h b/kate/part/katetemplatehandler.h index a2f41f518..d7d56e074 100644 --- a/kate/part/katetemplatehandler.h +++ b/kate/part/katetemplatehandler.h @@ -20,18 +20,18 @@ #include "katesupercursor.h" #include "katekeyinterceptorfunctor.h" -#include <qobject.h> -#include <qmap.h> -#include <qdict.h> -#include <qptrlist.h> -#include <qstring.h> +#include <tqobject.h> +#include <tqmap.h> +#include <tqdict.h> +#include <tqptrlist.h> +#include <tqstring.h> class KateDocument; -class KateTemplateHandler: public QObject, public KateKeyInterceptorFunctor { +class KateTemplateHandler: public TQObject, public KateKeyInterceptorFunctor { Q_OBJECT public: - KateTemplateHandler(KateDocument *doc,uint line,uint column, const QString &templateString, const QMap<QString,QString> &initialValues); + KateTemplateHandler(KateDocument *doc,uint line,uint column, const TQString &templateString, const TQMap<TQString,TQString> &initialValues); virtual ~KateTemplateHandler(); inline bool initOk() {return m_initOk;} virtual bool operator()(KKey key); @@ -44,16 +44,16 @@ class KateTemplateHandler: public QObject, public KateKeyInterceptorFunctor { class KateTemplateHandlerPlaceHolderInfo{ public: KateTemplateHandlerPlaceHolderInfo():begin(0),len(0),placeholder(""){}; - KateTemplateHandlerPlaceHolderInfo(uint begin_,uint len_,const QString& placeholder_):begin(begin_),len(len_),placeholder(placeholder_){} + KateTemplateHandlerPlaceHolderInfo(uint begin_,uint len_,const TQString& placeholder_):begin(begin_),len(len_),placeholder(placeholder_){} uint begin; uint len; - QString placeholder; + TQString placeholder; }; class KateSuperRangeList *m_ranges; class KateDocument *m_doc; - QPtrList<KateTemplatePlaceHolder> m_tabOrder; - QDict<KateTemplatePlaceHolder> m_dict; - void generateRangeTable(uint insertLine,uint insertCol, const QString& insertString, const QValueList<KateTemplateHandlerPlaceHolderInfo> &buildList); + TQPtrList<KateTemplatePlaceHolder> m_tabOrder; + TQDict<KateTemplatePlaceHolder> m_dict; + void generateRangeTable(uint insertLine,uint insertCol, const TQString& insertString, const TQValueList<KateTemplateHandlerPlaceHolderInfo> &buildList); int m_currentTabStop; KateSuperRange *m_currentRange; void locateRange(const KateTextCursor &cursor ); |