summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-11 21:47:49 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-11 21:47:49 +0900
commitc7f2ea3d7c05c466ba00bf576dac54b26482bc17 (patch)
treeb3838247d7349463d1befc69df771f58b248fbdc
parentc800d114bf78f9526834ddafa8ef5a1c2e063d8e (diff)
downloadtellico-c7f2ea3d7c05c466ba00bf576dac54b26482bc17.tar.gz
tellico-c7f2ea3d7c05c466ba00bf576dac54b26482bc17.zip
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>
-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) {