From fcc14dce86af147d34c708c29eedf8df05b99a86 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 11 Jul 2023 21:34:27 +0900 Subject: Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3. Signed-off-by: Michele Calgaro (cherry picked from commit 415e188c1fd971167396a1da80d5661bb28aea03) --- src/k9mencodercmdgen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/k9mencodercmdgen.cpp b/src/k9mencodercmdgen.cpp index 656b00d..7961b11 100644 --- a/src/k9mencodercmdgen.cpp +++ b/src/k9mencodercmdgen.cpp @@ -482,7 +482,7 @@ const TQString & k9MencoderCmdGen::getCmd(const TQString &_root) { sCmd2+=sTmp+sPrefix+isb->text().replace(",",".").stripWhiteSpace(); sTmp=""; } else if(aSType.value()=="string" && Sck->isChecked()) { - TQComboBox *cb=(TQComboBox*) this->child(aSWidget.value().latin1(),TQCOMBOBOX_OBJECT_NAME_STRING); + TQComboBox *cb=(TQComboBox*) this->child(aSWidget.value().latin1(),"TQComboBox"); if (!sCmd2.isEmpty() ) sCmd2 +=m_sepValues; // sCmd2+= cb->text(cb->currentItem()); @@ -511,7 +511,7 @@ const TQString & k9MencoderCmdGen::getCmd(const TQString &_root) { sCmd +=m_sepOpt; sCmd+= eOpt.attributeNode("name").value() + "=" + isb->text().replace(",","."); } else if(aType.value()=="string") { - TQComboBox *cb=(TQComboBox*) this->child(aWidget.value().latin1(),TQCOMBOBOX_OBJECT_NAME_STRING); + TQComboBox *cb=(TQComboBox*) this->child(aWidget.value().latin1(),"TQComboBox"); if (!sCmd.isEmpty()) sCmd +=m_sepOpt; sCmd+= eOpt.attributeNode("name").value() + "=" + cb->currentText(); -- cgit v1.2.1