summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/tabcontrol.cpp2
-rw-r--r--src/statusbar.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/tabcontrol.cpp b/src/gui/tabcontrol.cpp
index 92afec6..cd68b97 100644
--- a/src/gui/tabcontrol.cpp
+++ b/src/gui/tabcontrol.cpp
@@ -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()) {
diff --git a/src/statusbar.cpp b/src/statusbar.cpp
index 5c7733c..70838e3 100644
--- a/src/statusbar.cpp
+++ b/src/statusbar.cpp
@@ -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) {