summaryrefslogtreecommitdiffstats
path: root/tdelirc/kcmlirc
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-07-12 11:38:31 +0900
committerMichele Calgaro <[email protected]>2023-07-13 09:58:51 +0900
commit793159b9690c22c00b6dd78ed24f56c620cd0db8 (patch)
tree27f7cb8d3819879af63967d05771af6326551c27 /tdelirc/kcmlirc
parent8a349b7e9ea3f9692976c988090294c78ce35d53 (diff)
downloadtdeutils-793159b9690c22c00b6dd78ed24f56c620cd0db8.tar.gz
tdeutils-793159b9690c22c00b6dd78ed24f56c620cd0db8.zip
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 53c180e71c2d6bc90bb777b4bd304d5f235040e3)
Diffstat (limited to 'tdelirc/kcmlirc')
-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 8a87775..b43879b 100644
--- a/tdelirc/kcmlirc/addaction.cpp
+++ b/tdelirc/kcmlirc/addaction.cpp
@@ -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();