diff options
Diffstat (limited to 'kmymoney2/converter/mymoneyqifprofile.cpp')
-rw-r--r-- | kmymoney2/converter/mymoneyqifprofile.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kmymoney2/converter/mymoneyqifprofile.cpp b/kmymoney2/converter/mymoneyqifprofile.cpp index 3093941..d9ddd60 100644 --- a/kmymoney2/converter/mymoneyqifprofile.cpp +++ b/kmymoney2/converter/mymoneyqifprofile.cpp @@ -394,20 +394,20 @@ TQString MyMoneyQifProfile::date(const TQDate& datein) const const char* format = m_dateFormat.latin1(); TQString buffer; TQChar delim; - int tqmaskLen; - char tqmaskChar; + int maskLen; + char maskChar; while(*format) { switch(*format) { case '%': - tqmaskLen = 0; - tqmaskChar = *++format; - while(*format && *format == tqmaskChar) { - ++tqmaskLen; + maskLen = 0; + maskChar = *++format; + while(*format && *format == maskChar) { + ++maskLen; ++format; } - switch(tqmaskChar) { + switch(maskChar) { case 'd': if(delim) buffer += delim; @@ -417,14 +417,14 @@ TQString MyMoneyQifProfile::date(const TQDate& datein) const case 'm': if(delim) buffer += delim; - if(tqmaskLen == 3) + if(maskLen == 3) buffer += KGlobal::locale()->calendar()->monthName(datein.month(), datein.year(), true); else buffer += TQString::number(datein.month()).rightJustify(2, '0'); break; case 'y': - if(tqmaskLen == 2) { + if(maskLen == 2) { buffer += twoDigitYear(delim, datein.year()); } else { if(delim) |