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>
pull/9/head
Michele Calgaro 1 year ago
parent 9482a3bd5b
commit 415e188c1f
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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();

Loading…
Cancel
Save