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 | |
parent | ac04782336b6a026b44df9d51ba9ca008a712da2 (diff) | |
download | koffice-0dda6e85e171acf1a73dc8d3d1f67b4fcc9b1ae7.tar.gz koffice-0dda6e85e171acf1a73dc8d3d1f67b4fcc9b1ae7.zip |
Rename KLocale to enhance compatibility with KDE4
Diffstat (limited to 'kexi/widget')
-rw-r--r-- | kexi/widget/utils/kexidatetimeformatter.cpp | 4 | ||||
-rw-r--r-- | kexi/widget/utils/kexidatetimeformatter.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/kexi/widget/utils/kexidatetimeformatter.cpp b/kexi/widget/utils/kexidatetimeformatter.cpp index c6fe3460..6582b321 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) { diff --git a/kexi/widget/utils/kexidatetimeformatter.h b/kexi/widget/utils/kexidatetimeformatter.h index f011a0e2..4e916026 100644 --- a/kexi/widget/utils/kexidatetimeformatter.h +++ b/kexi/widget/utils/kexidatetimeformatter.h @@ -131,7 +131,7 @@ class KEXIGUIUTILS_EXPORT KexiTimeFormatter bool m_hoursWithLeadingZero; - //! Time format used in timeToString(). Notation from KLocale::setTimeFormat() is used. + //! Time format used in timeToString(). Notation from TDELocale::setTimeFormat() is used. TQString m_outputFormat; //! Used in stringToTime() to convert string back to TQTime |