Replaced various '#define' with actual strings - part 4

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/9/head
Michele Calgaro 3 months ago
parent 00c30437bd
commit dfc17c5190
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -238,7 +238,7 @@ static const TQString getFilters(TQFileDialog *dlg, bool scribusSave=false)
end(children.end());
for(; it!=end; ++it)
if(::tqqt_cast<TQComboBox *>(*it) && 0==qstrcmp((*it)->name(), "file types"))
if(::tqt_cast<TQComboBox *>(*it) && 0==qstrcmp((*it)->name(), "file types"))
{
TQComboBox *types=(TQComboBox *)(*it);
TQTextOStream str(&filter);
@ -275,7 +275,7 @@ static TQString getCurrentFileName(TQFileDialog *dlg)
end(children.end());
for(; it!=end; ++it)
if(::tqqt_cast<TQLineEdit *>(*it)) // && 0==qstrcmp((*it)->name(), "name/filter editor"))
if(::tqt_cast<TQLineEdit *>(*it)) // && 0==qstrcmp((*it)->name(), "name/filter editor"))
return ((TQLineEdit *)(*it))->text();
}
}

Loading…
Cancel
Save