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/5/head
Michele Calgaro 1 year ago
parent 995e505a0a
commit 666848e9d8
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -51,7 +51,7 @@ void SQ_CodecSettingsSkeleton::recursivelyReadWrite(fmt_settings &settings, bool
{ {
t = settings.find((*it)->name()); t = settings.find((*it)->name());
if((*it)->inherits(TQCHECKBOX_OBJECT_NAME_STRING)) if((*it)->inherits("TQCheckBox"))
{ {
TQCheckBox *c = dynamic_cast<TQCheckBox *>(*it); TQCheckBox *c = dynamic_cast<TQCheckBox *>(*it);
@ -63,7 +63,7 @@ void SQ_CodecSettingsSkeleton::recursivelyReadWrite(fmt_settings &settings, bool
(*t).second.bVal = c->isChecked(); (*t).second.bVal = c->isChecked();
} }
} }
else if((*it)->inherits(TQBUTTONGROUP_OBJECT_NAME_STRING)) else if((*it)->inherits("TQButtonGroup"))
{ {
TQButtonGroup *c = dynamic_cast<TQButtonGroup *>(*it); TQButtonGroup *c = dynamic_cast<TQButtonGroup *>(*it);
@ -75,7 +75,7 @@ void SQ_CodecSettingsSkeleton::recursivelyReadWrite(fmt_settings &settings, bool
(*t).second.iVal = c->selectedId(); (*t).second.iVal = c->selectedId();
} }
} }
else if((*it)->inherits(TQSLIDER_OBJECT_NAME_STRING)) else if((*it)->inherits("TQSlider"))
{ {
TQSlider *c = dynamic_cast<TQSlider *>(*it); TQSlider *c = dynamic_cast<TQSlider *>(*it);
@ -115,7 +115,7 @@ void SQ_CodecSettingsSkeleton::recursivelyReadWrite(fmt_settings &settings, bool
} }
} }
// TQSpinBox should be checked after KDoubleSpinBox ! // TQSpinBox should be checked after KDoubleSpinBox !
else if((*it)->inherits(TQSPINBOX_OBJECT_NAME_STRING)) else if((*it)->inherits("TQSpinBox"))
{ {
TQSpinBox *c = dynamic_cast<TQSpinBox *>(*it); TQSpinBox *c = dynamic_cast<TQSpinBox *>(*it);

@ -118,7 +118,7 @@ void SQ_ImageProperties::setFileParams()
TQObjectList *ch = const_cast<TQObjectList *>(kew1->children()); TQObjectList *ch = const_cast<TQObjectList *>(kew1->children());
for(TQObjectList::iterator it = ch->begin();it != ch->end();++it) for(TQObjectList::iterator it = ch->begin();it != ch->end();++it)
{ {
if((*it)->inherits(TQLISTVIEW_OBJECT_NAME_STRING)) if((*it)->inherits("TQListView"))
{ {
TQListView *l = dynamic_cast<TQListView *>(*it); TQListView *l = dynamic_cast<TQListView *>(*it);
TQWidget *w = tabWidget->page(3); TQWidget *w = tabWidget->page(3);

@ -51,7 +51,7 @@ void SQ_CodecSettingsSkeleton::recursivelyReadWrite(fmt_settings &settings, bool
{ {
t = settings.find((*it)->name()); t = settings.find((*it)->name());
if((*it)->inherits(TQCHECKBOX_OBJECT_NAME_STRING)) if((*it)->inherits("TQCheckBox"))
{ {
TQCheckBox *c = dynamic_cast<TQCheckBox *>(*it); TQCheckBox *c = dynamic_cast<TQCheckBox *>(*it);
@ -63,7 +63,7 @@ void SQ_CodecSettingsSkeleton::recursivelyReadWrite(fmt_settings &settings, bool
(*t).second.bVal = c->isChecked(); (*t).second.bVal = c->isChecked();
} }
} }
else if((*it)->inherits(TQBUTTONGROUP_OBJECT_NAME_STRING)) else if((*it)->inherits("TQButtonGroup"))
{ {
TQButtonGroup *c = dynamic_cast<TQButtonGroup *>(*it); TQButtonGroup *c = dynamic_cast<TQButtonGroup *>(*it);
@ -75,7 +75,7 @@ void SQ_CodecSettingsSkeleton::recursivelyReadWrite(fmt_settings &settings, bool
(*t).second.iVal = c->selectedId(); (*t).second.iVal = c->selectedId();
} }
} }
else if((*it)->inherits(TQSLIDER_OBJECT_NAME_STRING)) else if((*it)->inherits("TQSlider"))
{ {
TQSlider *c = dynamic_cast<TQSlider *>(*it); TQSlider *c = dynamic_cast<TQSlider *>(*it);
@ -115,7 +115,7 @@ void SQ_CodecSettingsSkeleton::recursivelyReadWrite(fmt_settings &settings, bool
} }
} }
// TQSpinBox should be checked after KDoubleSpinBox ! // TQSpinBox should be checked after KDoubleSpinBox !
else if((*it)->inherits(TQSPINBOX_OBJECT_NAME_STRING)) else if((*it)->inherits("TQSpinBox"))
{ {
TQSpinBox *c = dynamic_cast<TQSpinBox *>(*it); TQSpinBox *c = dynamic_cast<TQSpinBox *>(*it);

@ -118,7 +118,7 @@ void SQ_ImageProperties::setFileParams()
TQObjectList *ch = const_cast<TQObjectList *>(kew1->children()); TQObjectList *ch = const_cast<TQObjectList *>(kew1->children());
for(TQObjectList::iterator it = ch->begin();it != ch->end();++it) for(TQObjectList::iterator it = ch->begin();it != ch->end();++it)
{ {
if((*it)->inherits(TQLISTVIEW_OBJECT_NAME_STRING)) if((*it)->inherits("TQListView"))
{ {
TQListView *l = dynamic_cast<TQListView *>(*it); TQListView *l = dynamic_cast<TQListView *>(*it);
TQWidget *w = tabWidget->page(3); TQWidget *w = tabWidget->page(3);

Loading…
Cancel
Save