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 c7f2ea3d7c)
r14.1.x
Michele Calgaro 1 year ago
parent c800d114bf
commit 2aa8f8fcbf
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -32,7 +32,7 @@ void TabControl::setFocusToFirstChild() {
if(!page) {
return;
}
TQObjectList* list = page->queryList(TQWIDGET_OBJECT_NAME_STRING);
TQObjectList* list = page->queryList("TQWidget");
for(TQObjectListIt it(*list); it.current(); ++it) {
TQWidget* w = TQT_TQWIDGET(it.current());
if(w->isFocusEnabled()) {

@ -62,7 +62,7 @@ void StatusBar::polish() {
KStatusBar::polish();
int h = 0;
TQObjectList* list = queryList(TQWIDGET_OBJECT_NAME_STRING, 0, false, false);
TQObjectList* list = queryList("TQWidget", 0, false, false);
for(TQObject* o = list->first(); o; o = list->next()) {
int _h = TQT_TQWIDGET(o)->minimumSizeHint().height();
if(_h > h) {

Loading…
Cancel
Save