summaryrefslogtreecommitdiffstats
path: root/kspell2/dictionary.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 /kspell2/dictionary.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 'kspell2/dictionary.h')
-rw-r--r--kspell2/dictionary.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/kspell2/dictionary.h b/kspell2/dictionary.h
index ce52a40d9..31567ece9 100644
--- a/kspell2/dictionary.h
+++ b/kspell2/dictionary.h
@@ -22,8 +22,8 @@
#ifndef KSPELL_DICTIONARY_H
#define KSPELL_DICTIONARY_H
-#include <qstringlist.h>
-#include <qstring.h>
+#include <tqstringlist.h>
+#include <tqstring.h>
namespace KSpell2
{
@@ -43,44 +43,44 @@ namespace KSpell2
* Checks the given word.
* @return false if the word is misspelled. true otherwise
*/
- virtual bool check( const QString& word ) =0;
+ virtual bool check( const TQString& word ) =0;
/**
* Fetches suggestions for the word.
*
* @return list of all suggestions for the word
*/
- virtual QStringList suggest( const QString& word ) =0;
+ virtual TQStringList suggest( const TQString& word ) =0;
/**
* Checks the word and fetches suggestions for it.
*/
- virtual bool checkAndSuggest( const QString& word,
- QStringList& suggestions ) =0;
+ virtual bool checkAndSuggest( const TQString& word,
+ TQStringList& suggestions ) =0;
/**
* Stores user defined good replacement for the bad word.
* @returns true on success
*/
- virtual bool storeReplacement( const QString& bad,
- const QString& good ) =0;
+ virtual bool storeReplacement( const TQString& bad,
+ const TQString& good ) =0;
/**
* Adds word to the list of of personal words.
* @return true on success
*/
- virtual bool addToPersonal( const QString& word ) =0;
+ virtual bool addToPersonal( const TQString& word ) =0;
/**
* Adds word to the words recognizable in the current session.
* @return true on success
*/
- virtual bool addToSession( const QString& word ) =0;
+ virtual bool addToSession( const TQString& word ) =0;
/**
* Returns language supported by this dictionary.
*/
- QString language() const
+ TQString language() const
{
return m_language;
}
@@ -95,11 +95,11 @@ namespace KSpell2
}
protected:
- Dictionary( const QString& lang, bool def = false )
+ Dictionary( const TQString& lang, bool def = false )
: m_language( lang ), m_default( def ) {}
protected:
friend class Broker;
- QString m_language;
+ TQString m_language;
bool m_default;
private:
class Private;