diff options
Diffstat (limited to 'kcalc')
-rw-r--r-- | kcalc/kcalc.cpp | 2 | ||||
-rw-r--r-- | kcalc/kcalc.kcfg | 2 | ||||
-rw-r--r-- | kcalc/kcalcdisplay.cpp | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/kcalc/kcalc.cpp b/kcalc/kcalc.cpp index 5242cc4..8e1b7d2 100644 --- a/kcalc/kcalc.cpp +++ b/kcalc/kcalc.cpp @@ -584,7 +584,7 @@ TQWidget* KCalculator::setupNumericKeys(TQWidget *parent) pbMinus, TQT_SLOT(slotSetAccelDisplayMode(bool))); connect(pbMinus, TQT_SIGNAL(clicked(void)), TQT_SLOT(slotMinusclicked(void))); - pbPeriod = new KCalcButton(KGlobal::locale()->decimalSymbol(), thisPage, + pbPeriod = new KCalcButton(TDEGlobal::locale()->decimalSymbol(), thisPage, "Period-Button", i18n("Decimal point")); connect(TQT_TQOBJECT(this), TQT_SIGNAL(switchShowAccels(bool)), TQT_TQOBJECT(pbPeriod), TQT_SLOT(slotSetAccelDisplayMode(bool))); diff --git a/kcalc/kcalc.kcfg b/kcalc/kcalc.kcfg index 26cdbf1..25b2361 100644 --- a/kcalc/kcalc.kcfg +++ b/kcalc/kcalc.kcfg @@ -45,7 +45,7 @@ <group name="Font"> <entry name="Font" type="Font"> <label>The font to use in the display.</label> - <default code="true">TQFont(KGlobalSettings::generalFont().family(), 14, TQFont::Bold)</default> + <default code="true">TQFont(TDEGlobalSettings::generalFont().family(), 14, TQFont::Bold)</default> </entry> </group> <group name="Precision"> diff --git a/kcalc/kcalcdisplay.cpp b/kcalc/kcalcdisplay.cpp index 17ad67a..f768ffa 100644 --- a/kcalc/kcalcdisplay.cpp +++ b/kcalc/kcalcdisplay.cpp @@ -268,10 +268,10 @@ void KCalcDisplay::setText(TQString const &string) // truncating, formatting and appending again if (string.endsWith(".")) { localizedString.truncate(localizedString.length() - 1); - localizedString = KGlobal::locale()->formatNumber(localizedString, false, 0); // Note: rounding happened already above! - localizedString.append(KGlobal::locale()->decimalSymbol()); + localizedString = TDEGlobal::locale()->formatNumber(localizedString, false, 0); // Note: rounding happened already above! + localizedString.append(TDEGlobal::locale()->decimalSymbol()); } else - localizedString = KGlobal::locale()->formatNumber(string, false, 0); // Note: rounding happened already above! + localizedString = TDEGlobal::locale()->formatNumber(string, false, 0); // Note: rounding happened already above! TQLabel::setText(localizedString); emit changedText(localizedString); |