summaryrefslogtreecommitdiffstats
path: root/kate/part/kateluaindentscript.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kate/part/kateluaindentscript.h
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-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.h24
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 &copyright, double version);
+ KateLUAIndentScriptImpl(const TQString& internalName,
+ const TQString &filePath, const TQString &niceName,
+ const TQString &copyright, 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