summaryrefslogtreecommitdiffstats
path: root/tdelirc/kcmlirc/editaction.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/editaction.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/editaction.cpp')
-rw-r--r--tdelirc/kcmlirc/editaction.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdelirc/kcmlirc/editaction.cpp b/tdelirc/kcmlirc/editaction.cpp
index 8d8a0cb..1b44eb7 100644
--- a/tdelirc/kcmlirc/editaction.cpp
+++ b/tdelirc/kcmlirc/editaction.cpp
@@ -315,7 +315,7 @@ void EditAction::updateDCOPApplications()
TQStringList names;
theDCOPApplications->clear();
- DCOPClient *theClient = TDEApplication::kApplication()->dcopClient();
+ DCOPClient *theClient = tdeApp->dcopClient();
QCStringList theApps = theClient->registeredApplications();
for(QCStringList::iterator i = theApps.begin(); i != theApps.end(); ++i)
{
@@ -337,7 +337,7 @@ void EditAction::updateDCOPApplications()
void EditAction::updateDCOPObjects()
{
theDCOPObjects->clear();
- DCOPClient *theClient = TDEApplication::kApplication()->dcopClient();
+ DCOPClient *theClient = tdeApp->dcopClient();
if(theDCOPApplications->currentText().isNull() || theDCOPApplications->currentText().isEmpty()) return;
QCStringList theObjects = theClient->remoteObjects(nameProgramMap[theDCOPApplications->currentText()].utf8());
if(!theObjects.size() && theDCOPApplications->currentText() == (*theAction).program()) theDCOPObjects->insertItem((*theAction).object());