From 2f64e55b006125b1110fcdb05df19909159cee71 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 20 Jan 2025 17:21:59 +0900 Subject: Use tdeApp Signed-off-by: Michele Calgaro --- kcalc/kcalc.cpp | 4 ++-- kcalc/kcalc.kcfg | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'kcalc') 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 @@ - TQColor defaultButtonColor = kapp->palette().active().background(); + TQColor defaultButtonColor = tdeApp->palette().active().background(); defaultButtonColor -- cgit v1.2.3