summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/kmymoneylineedit.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/widgets/kmymoneylineedit.cpp
parent4b12aca2f1e0304a1cb35df621e9a993dd4d81f7 (diff)
downloadkmymoney-6c1d52c8248adb9189c944a28efde52330e99b66.tar.gz
kmymoney-6c1d52c8248adb9189c944a28efde52330e99b66.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kmymoney2/widgets/kmymoneylineedit.cpp')
-rw-r--r--kmymoney2/widgets/kmymoneylineedit.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmymoney2/widgets/kmymoneylineedit.cpp b/kmymoney2/widgets/kmymoneylineedit.cpp
index c99ad02..b7c96ab 100644
--- a/kmymoney2/widgets/kmymoneylineedit.cpp
+++ b/kmymoney2/widgets/kmymoneylineedit.cpp
@@ -78,14 +78,14 @@ void kMyMoneyLineEdit::keyReleaseEvent(TQKeyEvent* k)
if(k->state() & TQt::Keypad) {
if(k->key() == TQt::Key_Comma
|| k->key() == TQt::Key_Period) {
- if(KGlobal::locale()->monetaryDecimalSymbol() == ",") {
+ if(TDEGlobal::locale()->monetaryDecimalSymbol() == ",") {
TQKeyEvent newk(k->type(), TQt::Key_Comma, ',', k->state(), ",", k->isAutoRepeat(), k->count());
KLineEdit::keyReleaseEvent(&newk);
k->ignore();
return;
}
- if(KGlobal::locale()->monetaryDecimalSymbol() == ".") {
+ if(TDEGlobal::locale()->monetaryDecimalSymbol() == ".") {
TQKeyEvent newk(k->type(), TQt::Key_Comma, ',', k->state(), ".", k->isAutoRepeat(), k->count());
KLineEdit::keyReleaseEvent(&newk);
k->ignore();
@@ -103,14 +103,14 @@ void kMyMoneyLineEdit::keyPressEvent(TQKeyEvent* k)
if(k->state() & TQt::Keypad) {
if(k->key() == TQt::Key_Comma
|| k->key() == TQt::Key_Period) {
- if(KGlobal::locale()->monetaryDecimalSymbol() == ",") {
+ if(TDEGlobal::locale()->monetaryDecimalSymbol() == ",") {
TQKeyEvent newk(k->type(), TQt::Key_Comma, ',', k->state(), ",", k->isAutoRepeat(), k->count());
KLineEdit::keyPressEvent(&newk);
k->ignore();
return;
}
- if(KGlobal::locale()->monetaryDecimalSymbol() == ".") {
+ if(TDEGlobal::locale()->monetaryDecimalSymbol() == ".") {
TQKeyEvent newk(k->type(), TQt::Key_Period, '.', k->state(), ".", k->isAutoRepeat(), k->count());
KLineEdit::keyPressEvent(&newk);
k->ignore();