summaryrefslogtreecommitdiffstats
path: root/tdelirc/kcmlirc/addaction.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-01-20 17:21:59 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-02-03 21:40:22 +0900
commit2f64e55b006125b1110fcdb05df19909159cee71 (patch)
tree113f02dbb3164ef83f2b7cec5e26adb6b5dc97f3 /tdelirc/kcmlirc/addaction.cpp
parent1feaed7cc0457e3cdafe0c0ce8119ae6ec618cb8 (diff)
downloadtdeutils-2f64e55b006125b1110fcdb05df19909159cee71.tar.gz
tdeutils-2f64e55b006125b1110fcdb05df19909159cee71.zip
Use tdeApp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdelirc/kcmlirc/addaction.cpp')
-rw-r--r--tdelirc/kcmlirc/addaction.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdelirc/kcmlirc/addaction.cpp b/tdelirc/kcmlirc/addaction.cpp
index 3a3e6bd..0ebf472 100644
--- a/tdelirc/kcmlirc/addaction.cpp
+++ b/tdelirc/kcmlirc/addaction.cpp
@@ -143,7 +143,7 @@ void AddAction::updateButtonStates()
const TQStringList AddAction::getFunctions(const TQString app, const TQString obj)
{
TQStringList ret;
- DCOPClient *theClient = TDEApplication::kApplication()->dcopClient();
+ DCOPClient *theClient = tdeApp->dcopClient();
QCStringList theApps = theClient->remoteFunctions(app.utf8(), obj.utf8());
for(QCStringList::iterator i = theApps.begin(); i != theApps.end(); ++i)
if( *i != "QCStringList interfaces()" &&
@@ -335,7 +335,7 @@ void AddAction::updateObjects()
uniqueProgramMap.clear();
nameProgramMap.clear();
- DCOPClient *theClient = TDEApplication::kApplication()->dcopClient();
+ DCOPClient *theClient = tdeApp->dcopClient();
QCStringList theApps = theClient->registeredApplications();
for(QCStringList::iterator i = theApps.begin(); i != theApps.end(); ++i)
{