diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 08:03:36 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 08:03:36 -0600 |
commit | 0dda6e85e171acf1a73dc8d3d1f67b4fcc9b1ae7 (patch) | |
tree | b55740ff9d132b25792ca3fd60e37497402b5036 /lib/kotext | |
parent | ac04782336b6a026b44df9d51ba9ca008a712da2 (diff) | |
download | koffice-0dda6e85e171acf1a73dc8d3d1f67b4fcc9b1ae7.tar.gz koffice-0dda6e85e171acf1a73dc8d3d1f67b4fcc9b1ae7.zip |
Rename KLocale to enhance compatibility with KDE4
Diffstat (limited to 'lib/kotext')
-rw-r--r-- | lib/kotext/KoAutoFormat.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kotext/KoAutoFormat.cpp b/lib/kotext/KoAutoFormat.cpp index b46973b3..1a3c5245 100644 --- a/lib/kotext/KoAutoFormat.cpp +++ b/lib/kotext/KoAutoFormat.cpp @@ -166,7 +166,7 @@ KoAutoFormat::KoAutoFormat( KoDocument *_doc, KoVariableCollection *_varCollecti loadListOfWordCompletion(); m_listCompletion->setIgnoreCase( true ); updateMaxWords(); - KLocale klocale(m_doc->instance()->instanceName()); + TDELocale klocale(m_doc->instance()->instanceName()); for (int i = 1; i <=7; i++) { m_cacheNameOfDays.append(klocale.calendar()->weekDayName( i ).lower()); @@ -391,7 +391,7 @@ void KoAutoFormat::readConfig(bool force) void KoAutoFormat::readAutoCorrectConfig() { Q_ASSERT( m_entries.isEmpty() ); // readConfig is only called once... - KLocale klocale(m_doc->instance()->instanceName()); + TDELocale klocale(m_doc->instance()->instanceName()); TQString kdelang = klocale.languageList().front(); kdelang.remove( TQRegExp( "@.*" ) ); kdDebug(32500) << "KoAutoFormat: m_autoFormatLanguage=" << m_autoFormatLanguage << " kdelang=" << kdelang << endl; @@ -616,7 +616,7 @@ void KoAutoFormat::loadEntry( const TQDomElement &nl, bool _allLanguages) void KoAutoFormat::saveConfig() { TDEConfig* config = KoGlobal::kofficeConfig(); - KLocale klocale(m_doc->instance()->instanceName()); + TDELocale klocale(m_doc->instance()->instanceName()); TDEConfigGroupSaver cgs( config, "AutoFormat" ); config->writeEntry( "ConvertUpperCase", m_convertUpperCase ); |