summaryrefslogtreecommitdiffstats
path: root/kmymoney2/converter/mymoneyqifprofile.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:21:28 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:21:28 -0600
commit6c1d52c8248adb9189c944a28efde52330e99b66 (patch)
tree842df8de70813d5097e5d7ffe04577c4077381d9 /kmymoney2/converter/mymoneyqifprofile.cpp
parent4b12aca2f1e0304a1cb35df621e9a993dd4d81f7 (diff)
downloadkmymoney-6c1d52c8248adb9189c944a28efde52330e99b66.tar.gz
kmymoney-6c1d52c8248adb9189c944a28efde52330e99b66.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kmymoney2/converter/mymoneyqifprofile.cpp')
-rw-r--r--kmymoney2/converter/mymoneyqifprofile.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kmymoney2/converter/mymoneyqifprofile.cpp b/kmymoney2/converter/mymoneyqifprofile.cpp
index 77bbe07..079716d 100644
--- a/kmymoney2/converter/mymoneyqifprofile.cpp
+++ b/kmymoney2/converter/mymoneyqifprofile.cpp
@@ -164,14 +164,14 @@ void MyMoneyQifProfile::clear(void)
m_decimal['Q'] =
m_decimal['T'] =
m_decimal['O'] =
- m_decimal['I'] = KGlobal::locale()->monetaryDecimalSymbol()[0];
+ m_decimal['I'] = TDEGlobal::locale()->monetaryDecimalSymbol()[0];
m_thousands.clear();
m_thousands['$'] =
m_thousands['Q'] =
m_thousands['T'] =
m_thousands['O'] =
- m_thousands['I'] = KGlobal::locale()->monetaryThousandsSeparator()[0];
+ m_thousands['I'] = TDEGlobal::locale()->monetaryThousandsSeparator()[0];
m_openingBalanceText = "Opening Balance";
m_voidMark = "VOID ";
@@ -186,7 +186,7 @@ void MyMoneyQifProfile::clear(void)
void MyMoneyQifProfile::loadProfile(const TQString& name)
{
- KConfig* config = KGlobal::config();
+ KConfig* config = TDEGlobal::config();
config->setGroup(name);
clear();
@@ -232,7 +232,7 @@ void MyMoneyQifProfile::loadProfile(const TQString& name)
void MyMoneyQifProfile::saveProfile(void)
{
if(m_isDirty == true) {
- KConfig* config = KGlobal::config();
+ KConfig* config = TDEGlobal::config();
config->setGroup(m_profileName);
config->writeEntry("Description", m_profileDescription);
@@ -418,7 +418,7 @@ TQString MyMoneyQifProfile::date(const TQDate& datein) const
if(delim)
buffer += delim;
if(maskLen == 3)
- buffer += KGlobal::locale()->calendar()->monthName(datein.month(), datein.year(), true);
+ buffer += TDEGlobal::locale()->calendar()->monthName(datein.month(), datein.year(), true);
else
buffer += TQString::number(datein.month()).rightJustify(2, '0');
break;
@@ -466,7 +466,7 @@ const TQDate MyMoneyQifProfile::date(const TQString& datein) const
TQStringList monthNames = TQStringList::split(",", "jan,feb,mar,apr,may,jun,jul,aug,sep,oct,nov,dec");
int j;
for(j = 1; j <= 12; ++j) {
- if((KGlobal::locale()->calendar()->monthName(j, 2000, true).lower() == scannedParts[d->m_partPos['m']].lower())
+ if((TDEGlobal::locale()->calendar()->monthName(j, 2000, true).lower() == scannedParts[d->m_partPos['m']].lower())
|| (monthNames[j-1] == scannedParts[d->m_partPos['m']].lower())) {
mon = j;
break;
@@ -590,7 +590,7 @@ const TQDate MyMoneyQifProfile::date(const TQString& datein) const
msg = "Invalid numeric character in month string";
} else {
for(j = 1; j <= 12; ++j) {
- if(KGlobal::locale()->calendar()->monthName(j, 2000, true).lower() == formatParts[i].lower()) {
+ if(TDEGlobal::locale()->calendar()->monthName(j, 2000, true).lower() == formatParts[i].lower()) {
mon = j;
ok = true;
break;