summaryrefslogtreecommitdiffstats
path: root/kcontrol/access
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-01-14 15:08:54 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-02-03 21:34:30 +0900
commit834496cf73084adeb3959b6e2c11f104955bb69a (patch)
tree4e9221c9c4bcaa2c2681f3e255b0c771379c379c /kcontrol/access
parent1a5b54f42c0218aef7def4bc2d5cbcc0ed6cfadd (diff)
downloadtdebase-834496cf73084adeb3959b6e2c11f104955bb69a.tar.gz
tdebase-834496cf73084adeb3959b6e2c11f104955bb69a.zip
Use tdeApp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kcontrol/access')
-rw-r--r--kcontrol/access/kaccess.cpp4
-rw-r--r--kcontrol/access/kcmaccess.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/kcontrol/access/kaccess.cpp b/kcontrol/access/kaccess.cpp
index 4d989149b..874df3b67 100644
--- a/kcontrol/access/kaccess.cpp
+++ b/kcontrol/access/kaccess.cpp
@@ -574,7 +574,7 @@ void KAccessApp::createDialogContents() {
lay->setSpacing(KDialog::spacingHint());
TQLabel *label1 = new TQLabel( contents);
- TQPixmap pixmap = TDEApplication::kApplication()->iconLoader()->loadIcon("messagebox_warning", TDEIcon::NoGroup, TDEIcon::SizeMedium, TDEIcon::DefaultState, 0, true);
+ TQPixmap pixmap = tdeApp->iconLoader()->loadIcon("messagebox_warning", TDEIcon::NoGroup, TDEIcon::SizeMedium, TDEIcon::DefaultState, 0, true);
if (pixmap.isNull())
pixmap = TQMessageBox::standardIcon(TQMessageBox::Warning);
label1->setPixmap(pixmap);
@@ -751,7 +751,7 @@ void KAccessApp::xkbControlsNotify(XkbControlsNotifyEvent *event)
+" "+i18n("These AccessX settings are needed for some users with motion impairments and can be configured in the Trinity Control Center. You can also turn them on and off with standardized keyboard gestures.\n\nIf you do not need them, you can select \"Deactivate all AccessX features and gestures\".") );
KWin::setState( dialog->winId(), NET::KeepAbove );
- kapp->updateUserTimestamp();
+ tdeApp->updateUserTimestamp();
dialog->show();
}
}
diff --git a/kcontrol/access/kcmaccess.cpp b/kcontrol/access/kcmaccess.cpp
index e8c41accc..7346dd398 100644
--- a/kcontrol/access/kcmaccess.cpp
+++ b/kcontrol/access/kcmaccess.cpp
@@ -717,7 +717,7 @@ void KAccessConfig::save()
// When turning things off, it needs to be done by kaccess,
// so don't actually kill it *shrug*.
if ( true /*needToRunKAccessDaemon( config )*/ )
- kapp->startServiceByDesktopName("kaccess");
+ tdeApp->startServiceByDesktopName("kaccess");
else // don't need it -> kill it
{
@@ -814,7 +814,7 @@ extern "C"
delete config;
if (run)
- kapp->startServiceByDesktopName("kaccess");
+ tdeApp->startServiceByDesktopName("kaccess");
}
}