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/6/head
Michele Calgaro 10 months ago
parent c800d114bf
commit c7f2ea3d7c
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