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 --- tdelirc/kcmlirc/editaction.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tdelirc/kcmlirc/editaction.cpp') 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()); -- cgit v1.2.3