summaryrefslogtreecommitdiffstats
path: root/kate/interfaces/katecmd.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/interfaces/katecmd.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/interfaces/katecmd.h')
-rw-r--r--kate/interfaces/katecmd.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/kate/interfaces/katecmd.h b/kate/interfaces/katecmd.h
index 8af9e1f6c..b01f6dafb 100644
--- a/kate/interfaces/katecmd.h
+++ b/kate/interfaces/katecmd.h
@@ -23,8 +23,8 @@
#include <kcompletion.h>
-#include <qdict.h>
-#include <qstringlist.h>
+#include <tqdict.h>
+#include <tqstringlist.h>
class KATEPARTINTERFACES_EXPORT KateCmd
{
@@ -38,18 +38,18 @@ class KATEPARTINTERFACES_EXPORT KateCmd
bool registerCommand (Kate::Command *cmd);
bool unregisterCommand (Kate::Command *cmd);
- Kate::Command *queryCommand (const QString &cmd);
+ Kate::Command *queryCommand (const TQString &cmd);
- QStringList cmds ();
- void appendHistory( const QString &cmd );
- const QString fromHistory( uint i ) const;
+ TQStringList cmds ();
+ void appendHistory( const TQString &cmd );
+ const TQString fromHistory( uint i ) const;
uint historyLength() const { return m_history.count(); }
private:
static KateCmd *s_self;
- QDict<Kate::Command> m_dict;
- QStringList m_cmds;
- QStringList m_history;
+ TQDict<Kate::Command> m_dict;
+ TQStringList m_cmds;
+ TQStringList m_history;
};
/**
@@ -67,14 +67,14 @@ class KATEPARTINTERFACES_EXPORT KateCmdShellCompletion : public KCompletion
* Finds completions to the given text.
* The first match is returned and emitted in the signal match().
* @param text the text to complete
- * @return the first match, or QString::null if not found
+ * @return the first match, or TQString::null if not found
*/
- QString makeCompletion(const QString &text);
+ TQString makeCompletion(const TQString &text);
protected:
// Called by KCompletion
- void postProcessMatch( QString *match ) const;
- void postProcessMatches( QStringList *matches ) const;
+ void postProcessMatch( TQString *match ) const;
+ void postProcessMatches( TQStringList *matches ) const;
void postProcessMatches( KCompletionMatches *matches ) const;
private:
@@ -84,15 +84,15 @@ class KATEPARTINTERFACES_EXPORT KateCmdShellCompletion : public KCompletion
* @param text_start will be set to the text at the left, including the space
* @param text_compl Will be set to the text at the right. This is the text to complete.
*/
- void splitText( const QString &text, QString &text_start, QString &text_compl ) const;
+ void splitText( const TQString &text, TQString &text_start, TQString &text_compl ) const;
- QChar m_word_break_char;
- QChar m_quote_char1;
- QChar m_quote_char2;
- QChar m_escape_char;
+ TQChar m_word_break_char;
+ TQChar m_quote_char1;
+ TQChar m_quote_char2;
+ TQChar m_escape_char;
- QString m_text_start;
- QString m_text_compl;
+ TQString m_text_start;
+ TQString m_text_compl;
};