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 /kexi/widget/utils/kexidatetimeformatter.cpp | |
| parent | ac04782336b6a026b44df9d51ba9ca008a712da2 (diff) | |
| download | koffice-0dda6e85e171acf1a73dc8d3d1f67b4fcc9b1ae7.tar.gz koffice-0dda6e85e171acf1a73dc8d3d1f67b4fcc9b1ae7.zip | |
Rename KLocale to enhance compatibility with KDE4
Diffstat (limited to 'kexi/widget/utils/kexidatetimeformatter.cpp')
| -rw-r--r-- | kexi/widget/utils/kexidatetimeformatter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/widget/utils/kexidatetimeformatter.cpp b/kexi/widget/utils/kexidatetimeformatter.cpp index c6fe34606..6582b3213 100644 --- a/kexi/widget/utils/kexidatetimeformatter.cpp +++ b/kexi/widget/utils/kexidatetimeformatter.cpp @@ -45,8 +45,8 @@ KexiDateFormatter::KexiDateFormatter() bool ok = df.length()>=8; int yearpos, monthpos, daypos; //result of df.find() if (ok) {//look at % variables -//! @todo more variables are possible here, see void KLocale::setDateFormatShort() docs -//! http://developer.kde.org/documentation/library/3.5-api/tdelibs-apidocs/tdecore/html/classKLocale.html#a59 +//! @todo more variables are possible here, see void TDELocale::setDateFormatShort() docs +//! http://developer.kde.org/documentation/library/3.5-api/tdelibs-apidocs/tdecore/html/classTDELocale.html#a59 yearpos = df.find("%y", 0, false); //&y or %y m_longYear = !(yearpos>=0 && df.mid(yearpos+1, 1)=="y"); if (!m_longYear) { |
