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/katecmds.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/katecmds.h')
-rw-r--r-- | kate/part/katecmds.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kate/part/katecmds.h b/kate/part/katecmds.h index 84f7919d8..55c8d807b 100644 --- a/kate/part/katecmds.h +++ b/kate/part/katecmds.h @@ -46,20 +46,20 @@ class CoreCommands : public Kate::Command, public Kate::CommandExtension * @param errorMsg error to return if no success * @return success */ - bool exec( class Kate::View *view, const QString &cmd, QString &errorMsg ); + bool exec( class Kate::View *view, const TQString &cmd, TQString &errorMsg ); - bool help( class Kate::View *, const QString &, QString & ) {return false;}; + bool help( class Kate::View *, const TQString &, TQString & ) {return false;}; /** * supported commands as prefixes * @return prefix list */ - QStringList cmds(); + TQStringList cmds(); /** * override completionObject from interfaces/document.h . */ - KCompletion *completionObject( const QString &cmd, Kate::View *view ); + KCompletion *completionObject( const TQString &cmd, Kate::View *view ); }; /** @@ -82,15 +82,15 @@ class SedReplace : public Kate::Command * @param errorMsg error to return if no success * @return success */ - bool exec (class Kate::View *view, const QString &cmd, QString &errorMsg); + bool exec (class Kate::View *view, const TQString &cmd, TQString &errorMsg); - bool help (class Kate::View *, const QString &, QString &) { return false; }; + bool help (class Kate::View *, const TQString &, TQString &) { return false; }; /** * supported commands as prefixes * @return prefix list */ - QStringList cmds () { QStringList l("s"); l << "%s" << "$s"; return l; }; + TQStringList cmds () { TQStringList l("s"); l << "%s" << "$s"; return l; }; private: /** @@ -113,7 +113,7 @@ class SedReplace : public Kate::Command * If it is -1, the whole line is used. */ static int sedMagic(KateDocument *doc, int &line, - const QString &find, const QString &replace, const QString &delim, + const TQString &find, const TQString &replace, const TQString &delim, bool noCase, bool repeat, uint startcol=0, int endcol=-1); }; @@ -136,15 +136,15 @@ class Character : public Kate::Command * @param errorMsg error to return if no success * @return success */ - bool exec (class Kate::View *view, const QString &cmd, QString &errorMsg); + bool exec (class Kate::View *view, const TQString &cmd, TQString &errorMsg); - bool help (class Kate::View *, const QString &, QString &) { return false; }; + bool help (class Kate::View *, const TQString &, TQString &) { return false; }; /** * supported commands as prefixes * @return prefix list */ - QStringList cmds () { return QStringList("char"); }; + TQStringList cmds () { return TQStringList("char"); }; }; /** @@ -160,15 +160,15 @@ class Date : public Kate::Command * @param errorMsg error to return if no success * @return success */ - bool exec (class Kate::View *view, const QString &cmd, QString &errorMsg); + bool exec (class Kate::View *view, const TQString &cmd, TQString &errorMsg); - bool help (class Kate::View *, const QString &, QString &) { return false; }; + bool help (class Kate::View *, const TQString &, TQString &) { return false; }; /** * supported commands as prefixes * @return prefix list */ - QStringList cmds () { return QStringList("date"); }; + TQStringList cmds () { return TQStringList("date"); }; }; |