diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-12 11:38:31 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-13 09:58:51 +0900 |
commit | 793159b9690c22c00b6dd78ed24f56c620cd0db8 (patch) | |
tree | 27f7cb8d3819879af63967d05771af6326551c27 /tdelirc | |
parent | 8a349b7e9ea3f9692976c988090294c78ce35d53 (diff) | |
download | tdeutils-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 <michele.calgaro@yahoo.it>
(cherry picked from commit 53c180e71c2d6bc90bb777b4bd304d5f235040e3)
Diffstat (limited to 'tdelirc')
-rw-r--r-- | tdelirc/kcmlirc/addaction.cpp | 4 | ||||
-rw-r--r-- | tdelirc/profiles/konqueror.profile.xml | 2 | ||||
-rw-r--r-- | tdelirc/profiles/tdelauncher.profile.xml | 8 |
3 files changed, 7 insertions, 7 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(); diff --git a/tdelirc/profiles/konqueror.profile.xml b/tdelirc/profiles/konqueror.profile.xml index 0fdfdba..ab6ed8a 100644 --- a/tdelirc/profiles/konqueror.profile.xml +++ b/tdelirc/profiles/konqueror.profile.xml @@ -8,7 +8,7 @@ <action objid="KonquerorIface" prototype="void createNewWindow(QString)" repeat="0" autostart="0"> <name>Create New Window</name> <comment>Creates a new window and loads an arbitrary URL.</comment> - <argument type=TQSTRING_OBJECT_NAME_STRING><comment>The URL to load in the window initially.</comment></argument> + <argument type="TQString"><comment>The URL to load in the window initially.</comment></argument> </action> <action objid="MainApplication-Interface" prototype="void quit()" repeat="0" autostart="0"> <name>Quit</name> diff --git a/tdelirc/profiles/tdelauncher.profile.xml b/tdelirc/profiles/tdelauncher.profile.xml index 57eca31..88475f2 100644 --- a/tdelirc/profiles/tdelauncher.profile.xml +++ b/tdelirc/profiles/tdelauncher.profile.xml @@ -6,13 +6,13 @@ <action objid="default" prototype="void tdeinit_exec(QString, QStringList)" repeat="0" autostart="0"> <name>Execute</name> <comment>Runs a program or script</comment> - <argument type=TQSTRING_OBJECT_NAME_STRING><comment>The executable name and path of the program or script to run</comment></argument> - <argument type=TQSTRINGLIST_OBJECT_NAME_STRING><comment>Parameters for the program or script</comment></argument> + <argument type="TQString"><comment>The executable name and path of the program or script to run</comment></argument> + <argument type="TQStringList"><comment>Parameters for the program or script</comment></argument> </action> <action objid="default" prototype="void tdeinit_exec_wait(QString, QStringList)" repeat="0" autostart="0"> <name>Execute and Wait</name> <comment>Runs a program or script and waits for it to finish</comment> - <argument type=TQSTRING_OBJECT_NAME_STRING><comment>The executable name and path of the program or script to run</comment></argument> - <argument type=TQSTRINGLIST_OBJECT_NAME_STRING><comment>Parameters for the program or script</comment></argument> + <argument type="TQString"><comment>The executable name and path of the program or script to run</comment></argument> + <argument type="TQStringList"><comment>Parameters for the program or script</comment></argument> </action> </profile> |