diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-14 15:08:54 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-02-03 21:34:30 +0900 |
commit | 834496cf73084adeb3959b6e2c11f104955bb69a (patch) | |
tree | 4e9221c9c4bcaa2c2681f3e255b0c771379c379c /kicker/applets/clock/clock.cpp | |
parent | 1a5b54f42c0218aef7def4bc2d5cbcc0ed6cfadd (diff) | |
download | tdebase-834496cf73084adeb3959b6e2c11f104955bb69a.tar.gz tdebase-834496cf73084adeb3959b6e2c11f104955bb69a.zip |
Use tdeApp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kicker/applets/clock/clock.cpp')
-rw-r--r-- | kicker/applets/clock/clock.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kicker/applets/clock/clock.cpp b/kicker/applets/clock/clock.cpp index c8432f7e8..dab00ba20 100644 --- a/kicker/applets/clock/clock.cpp +++ b/kicker/applets/clock/clock.cpp @@ -919,12 +919,12 @@ ClockApplet::ClockApplet(const TQString& configFile, Type t, int actions, connect(m_layoutTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(fixupLayout())); connect(_timer, TQ_SIGNAL(timeout()), TQ_SLOT(slotUpdate())); - connect(kapp, TQ_SIGNAL(tdedisplayPaletteChanged()), TQ_SLOT(globalPaletteChange())); + connect(tdeApp, TQ_SIGNAL(tdedisplayPaletteChanged()), TQ_SLOT(globalPaletteChange())); reconfigure(); // initialize clock widget slotUpdate(); - if (kapp->authorizeTDEAction("kicker_rmb")) + if (tdeApp->authorizeTDEAction("kicker_rmb")) { menu = new TDEPopupMenu(); connect(menu, TQ_SIGNAL(aboutToShow()), TQ_SLOT(aboutToShowContextMenu())); @@ -1485,7 +1485,7 @@ void ClockApplet::toggleCalendar() void ClockApplet::openContextMenu() { - if (!menu || !kapp->authorizeTDEAction("kicker_rmb")) + if (!menu || !tdeApp->authorizeTDEAction("kicker_rmb")) return; menu->exec( TQCursor::pos() ); @@ -1585,7 +1585,7 @@ void ClockApplet::aboutToShowContextMenu() menu->insertItem(i18n("&Type"), type_menu, 101, 1); menu->insertItem(i18n("Show Time&zone"), zoneMenu, 110, 2); - if (kapp->authorize("user/root")) + if (tdeApp->authorize("user/root")) { menu->insertItem(SmallIcon("date"), i18n("&Adjust Date && Time..."), 103, 4); } |