diff options
Diffstat (limited to 'kcalc')
-rw-r--r-- | kcalc/kcalc.cpp | 4 | ||||
-rw-r--r-- | kcalc/kcalc.kcfg | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/kcalc/kcalc.cpp b/kcalc/kcalc.cpp index 8d06d30..9bf79da 100644 --- a/kcalc/kcalc.cpp +++ b/kcalc/kcalc.cpp @@ -89,7 +89,7 @@ KCalculator::KCalculator(TQWidget *parent, const char *name) TDEAcceleratorManager::setNoAccel( central ); // Detect color change - connect(kapp,TQ_SIGNAL(tdedisplayPaletteChanged()), TQ_SLOT(set_colors())); + connect(tdeApp,TQ_SIGNAL(tdedisplayPaletteChanged()), TQ_SLOT(set_colors())); calc_display = new DispLogic(central, "display", actionCollection()); @@ -2113,7 +2113,7 @@ void KCalculator::updateSettings() // // 1999-10-31 Espen Sand: Don't ask me why ;) // - kapp->processOneEvent(); + tdeApp->processOneEvent(); setFixedHeight(minimumHeight()); } diff --git a/kcalc/kcalc.kcfg b/kcalc/kcalc.kcfg index f098654..e04ac56 100644 --- a/kcalc/kcalc.kcfg +++ b/kcalc/kcalc.kcfg @@ -18,7 +18,7 @@ </entry> <entry name="NumberButtonsColor" type="Color"> <label>The color of number buttons.</label> - <code>TQColor defaultButtonColor = kapp->palette().active().background();</code> + <code>TQColor defaultButtonColor = tdeApp->palette().active().background();</code> <default code="true">defaultButtonColor</default> </entry> <entry name="FunctionButtonsColor" type="Color"> |