summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/autoreplace/autoreplaceconfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/plugins/autoreplace/autoreplaceconfig.cpp')
-rw-r--r--kopete/plugins/autoreplace/autoreplaceconfig.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kopete/plugins/autoreplace/autoreplaceconfig.cpp b/kopete/plugins/autoreplace/autoreplaceconfig.cpp
index 0407990a..2537f44a 100644
--- a/kopete/plugins/autoreplace/autoreplaceconfig.cpp
+++ b/kopete/plugins/autoreplace/autoreplaceconfig.cpp
@@ -33,7 +33,7 @@ void AutoReplaceConfig::load()
KConfig *config = KGlobal::config();
config->setGroup( "AutoReplace Plugin" );
- QStringList wordsList = config->readListEntry( "WordsToReplace" );
+ TQStringList wordsList = config->readListEntry( "WordsToReplace" );
if( wordsList.isEmpty() )
{
// basic list, key/value
@@ -44,8 +44,8 @@ void AutoReplaceConfig::load()
// we may be reloading after removing an entry from the list
m_map.clear();
- QString k, v;
- for ( QStringList::Iterator it = wordsList.begin(); it != wordsList.end(); ++it )
+ TQString k, v;
+ for ( TQStringList::Iterator it = wordsList.begin(); it != wordsList.end(); ++it )
{
k = *it;
++it;
@@ -61,18 +61,18 @@ void AutoReplaceConfig::load()
m_upper = config->readBoolEntry( "CapitalizeBeginningSentence" , false );
}
-QStringList AutoReplaceConfig::defaultAutoReplaceList()
+TQStringList AutoReplaceConfig::defaultAutoReplaceList()
{
- return QStringList::split( ",", i18n( "list_of_words_to_replace",
+ return TQStringList::split( ",", i18n( "list_of_words_to_replace",
"ur,your,r,are,u,you,theres,there is,arent,are not,dont,do not" ) );
}
void AutoReplaceConfig::loadDefaultAutoReplaceList()
{
- QStringList wordsList = defaultAutoReplaceList();
+ TQStringList wordsList = defaultAutoReplaceList();
m_map.clear();
- QString k, v;
- for ( QStringList::Iterator it = wordsList.begin(); it != wordsList.end(); ++it )
+ TQString k, v;
+ for ( TQStringList::Iterator it = wordsList.begin(); it != wordsList.end(); ++it )
{
k = *it;
v = *( ++it );
@@ -116,7 +116,7 @@ void AutoReplaceConfig::save()
KConfig * config = KGlobal::config();
config->setGroup( "AutoReplace Plugin" );
- QStringList newWords;
+ TQStringList newWords;
WordsToReplace::Iterator it;
for ( it = m_map.begin(); it != m_map.end(); ++it )
{