summaryrefslogtreecommitdiffstats
path: root/kexi/widget/utils/kexidatetimeformatter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/widget/utils/kexidatetimeformatter.cpp')
-rw-r--r--kexi/widget/utils/kexidatetimeformatter.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kexi/widget/utils/kexidatetimeformatter.cpp b/kexi/widget/utils/kexidatetimeformatter.cpp
index b11961d2..298eda48 100644
--- a/kexi/widget/utils/kexidatetimeformatter.cpp
+++ b/kexi/widget/utils/kexidatetimeformatter.cpp
@@ -78,7 +78,7 @@ KexiDateFormatter::KexiDateFormatter()
m_order = TQDateEdit::YDM;
//! @todo use TQRegExp (to replace %Y by %1, etc.) instead of hardcoded "%1%299%399"
//! because df may contain also other characters
- m_inputMask = TQString("%1%299%399").tqarg(yearMask).tqarg(m_separator).tqarg(m_separator);
+ m_inputMask = TQString("%1%299%399").arg(yearMask).arg(m_separator).arg(m_separator);
m_qtFormat = yearDateFormat+m_separator+dayDateFormat+m_separator+monthDateFormat;
m_yearpos = 0;
m_daypos = yearMask.length()+separatorLen;
@@ -86,7 +86,7 @@ KexiDateFormatter::KexiDateFormatter()
}
else if (daypos<monthpos && monthpos<yearpos) {
m_order = TQDateEdit::DMY;
- m_inputMask = TQString("99%199%2%3").tqarg(m_separator).tqarg(m_separator).tqarg(yearMask);
+ m_inputMask = TQString("99%199%2%3").arg(m_separator).arg(m_separator).arg(yearMask);
m_qtFormat = dayDateFormat+m_separator+monthDateFormat+m_separator+yearDateFormat;
m_daypos = 0;
m_monthpos = 2+separatorLen;
@@ -94,7 +94,7 @@ KexiDateFormatter::KexiDateFormatter()
}
else if (monthpos<daypos && daypos<yearpos) {
m_order = TQDateEdit::MDY;
- m_inputMask = TQString("99%199%2%3").tqarg(m_separator).tqarg(m_separator).tqarg(yearMask);
+ m_inputMask = TQString("99%199%2%3").arg(m_separator).arg(m_separator).arg(yearMask);
m_qtFormat = monthDateFormat+m_separator+dayDateFormat+m_separator+yearDateFormat;
m_monthpos = 0;
m_daypos = 2+separatorLen;
@@ -104,7 +104,7 @@ KexiDateFormatter::KexiDateFormatter()
ok = false;
}
if (!ok || m_order == TQDateEdit::YMD) {//default: YMD
- m_inputMask = TQString("%1%299%399").tqarg(yearMask).tqarg(m_separator).tqarg(m_separator);
+ m_inputMask = TQString("%1%299%399").arg(yearMask).arg(m_separator).arg(m_separator);
m_qtFormat = yearDateFormat+m_separator+monthDateFormat+m_separator+dayDateFormat;
m_yearpos = 0;
m_monthpos = yearMask.length()+separatorLen;