diff options
Diffstat (limited to 'tdelirc/kcmlirc/addaction.cpp')
-rw-r--r-- | tdelirc/kcmlirc/addaction.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tdelirc/kcmlirc/addaction.cpp b/tdelirc/kcmlirc/addaction.cpp index 8a87775..0ebf472 100644 --- a/tdelirc/kcmlirc/addaction.cpp +++ b/tdelirc/kcmlirc/addaction.cpp @@ -34,8 +34,8 @@ AddAction::AddAction(TQWidget *parent, const char *name, const Mode &mode): AddActionBase(parent, name), theMode(mode) { - connect(this, TQT_SIGNAL( selected(const TQString &) ), TQT_SLOT( updateForPageChange() )); - connect(this, TQT_SIGNAL( selected(const TQString &) ), TQT_SLOT( slotCorrectPage() )); + connect(this, TQ_SIGNAL( selected(const TQString &) ), TQ_SLOT( updateForPageChange() )); + connect(this, TQ_SIGNAL( selected(const TQString &) ), TQ_SLOT( slotCorrectPage() )); curPage = 0; updateProfiles(); updateButtons(); @@ -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()" && @@ -274,7 +274,7 @@ void AddAction::updateParameter() { theValue->raiseWidget(1); theValueCheckBox->setChecked(theArguments[index].toBool()); } - else if(type.find(TQSTRINGLIST_OBJECT_NAME_STRING) != -1) + else if(type.find("TQStringList") != -1) { theValue->raiseWidget(4); TQStringList backup = theArguments[index].toStringList(); // backup needed because calling clear will kill what ever has been saved. @@ -313,7 +313,7 @@ void AddAction::slotParameterChanged() theArguments[index].asDouble() = theValueDoubleNumInput->value(); else if(type.find("bool") != -1) theArguments[index].asBool() = theValueCheckBox->isChecked(); - else if(type.find(TQSTRINGLIST_OBJECT_NAME_STRING) != -1) + else if(type.find("TQStringList") != -1) theArguments[index].asStringList() = theValueEditListBox->items(); else theArguments[index].asString() = theValueLineEdit->text(); @@ -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) { |