summaryrefslogtreecommitdiffstats
path: root/kspell2/defaultdictionary.cpp
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/defaultdictionary.cpp
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/defaultdictionary.cpp')
-rw-r--r--kspell2/defaultdictionary.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kspell2/defaultdictionary.cpp b/kspell2/defaultdictionary.cpp
index ffa071279..39b80e7cf 100644
--- a/kspell2/defaultdictionary.cpp
+++ b/kspell2/defaultdictionary.cpp
@@ -33,14 +33,14 @@ public:
//we need it only to switch the dics
};
-DefaultDictionary::DefaultDictionary( const QString& lang, Broker *broker )
- : QObject( broker ), Dictionary( lang, true )
+DefaultDictionary::DefaultDictionary( const TQString& lang, Broker *broker )
+ : TQObject( broker ), Dictionary( lang, true )
{
d = new Private;
d->dict = broker->dictionary();
d->broker = broker;
- connect( broker, SIGNAL(configurationChanged()),
- SLOT(defaultConfigurationChanged()) );
+ connect( broker, TQT_SIGNAL(configurationChanged()),
+ TQT_SLOT(defaultConfigurationChanged()) );
}
DefaultDictionary::~DefaultDictionary()
@@ -54,7 +54,7 @@ bool DefaultDictionary::isValid() const
return d->dict;
}
-bool DefaultDictionary::check( const QString& word )
+bool DefaultDictionary::check( const TQString& word )
{
if ( d->dict )
return d->dict->check( word );
@@ -62,17 +62,17 @@ bool DefaultDictionary::check( const QString& word )
return true;
}
-QStringList DefaultDictionary::suggest( const QString& word )
+TQStringList DefaultDictionary::suggest( const TQString& word )
{
if ( d->dict )
return d->dict->suggest( word );
else
- return QStringList();
+ return TQStringList();
}
-bool DefaultDictionary::checkAndSuggest( const QString& word,
- QStringList& suggestions )
+bool DefaultDictionary::checkAndSuggest( const TQString& word,
+ TQStringList& suggestions )
{
if ( d->dict )
return d->dict->checkAndSuggest( word, suggestions );
@@ -80,8 +80,8 @@ bool DefaultDictionary::checkAndSuggest( const QString& word,
return true;
}
-bool DefaultDictionary::storeReplacement( const QString& bad,
- const QString& good )
+bool DefaultDictionary::storeReplacement( const TQString& bad,
+ const TQString& good )
{
if ( d->dict )
return d->dict->storeReplacement( bad, good );
@@ -89,7 +89,7 @@ bool DefaultDictionary::storeReplacement( const QString& bad,
return false;
}
-bool DefaultDictionary::addToPersonal( const QString& word )
+bool DefaultDictionary::addToPersonal( const TQString& word )
{
if ( d->dict )
return d->dict->addToPersonal( word );
@@ -97,7 +97,7 @@ bool DefaultDictionary::addToPersonal( const QString& word )
return false;
}
-bool DefaultDictionary::addToSession( const QString& word )
+bool DefaultDictionary::addToSession( const TQString& word )
{
if ( d->dict )
return d->dict->addToSession( word );
@@ -112,7 +112,7 @@ void DefaultDictionary::defaultConfigurationChanged()
if ( d->dict )
m_language = d->dict->language();
else
- m_language = QString::null;
+ m_language = TQString::null;
}
#include "defaultdictionary.moc"