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/kateluaindentscript.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/kateluaindentscript.h')
-rw-r--r-- | kate/part/kateluaindentscript.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kate/part/kateluaindentscript.h b/kate/part/kateluaindentscript.h index 4cccf85ba..a03a85574 100644 --- a/kate/part/kateluaindentscript.h +++ b/kate/part/kateluaindentscript.h @@ -23,24 +23,24 @@ #define _KATELUAINDENTSCRIPT_H_ #include "kateindentscriptabstracts.h" -#include <qdict.h> +#include <tqdict.h> struct lua_State; class KateLUAIndentScriptImpl: public KateIndentScriptImplAbstract { public: - KateLUAIndentScriptImpl(const QString& internalName, - const QString &filePath, const QString &niceName, - const QString ©right, double version); + KateLUAIndentScriptImpl(const TQString& internalName, + const TQString &filePath, const TQString &niceName, + const TQString ©right, double version); ~KateLUAIndentScriptImpl(); - virtual bool processChar( class Kate::View *view, QChar c, QString &errorMsg ); - virtual bool processLine( class Kate::View *view, const KateDocCursor &line, QString &errorMsg ); - virtual bool processNewline( class Kate::View *view, const KateDocCursor &begin, bool needcontinue, QString &errorMsg ); + virtual bool processChar( class Kate::View *view, TQChar c, TQString &errorMsg ); + virtual bool processLine( class Kate::View *view, const KateDocCursor &line, TQString &errorMsg ); + virtual bool processNewline( class Kate::View *view, const KateDocCursor &begin, bool needcontinue, TQString &errorMsg ); protected: virtual void decRef(); private: - bool setupInterpreter(QString &errorMsg); + bool setupInterpreter(TQString &errorMsg); void deleteInterpreter(); struct lua_State *m_interpreter; }; @@ -51,16 +51,16 @@ class KateLUAIndentScriptManager: public KateIndentScriptManagerAbstract public: KateLUAIndentScriptManager (); virtual ~KateLUAIndentScriptManager (); - virtual KateIndentScript script(const QString &scriptname); + virtual KateIndentScript script(const TQString &scriptname); private: /** * go, search our scripts * @param force force cache updating? */ void collectScripts (bool force = false); - void parseScriptHeader(const QString &filePath, - QString *niceName,QString *copyright,double *version); - QDict<KateLUAIndentScriptImpl> m_scripts; + void parseScriptHeader(const TQString &filePath, + TQString *niceName,TQString *copyright,double *version); + TQDict<KateLUAIndentScriptImpl> m_scripts; }; #endif |