diff options
author | Michele Calgaro <[email protected]> | 2023-12-14 21:19:12 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-24 16:56:48 +0900 |
commit | 757d80a919132cf72773928d53d100d22358de34 (patch) | |
tree | 78f1145fbd227d1135514b40e66e2e4bcbe3fcce /kexi/formeditor/form.cpp | |
parent | 9abcf51de91242d1ab70230ba46abd2108416edf (diff) | |
download | koffice-757d80a919132cf72773928d53d100d22358de34.tar.gz koffice-757d80a919132cf72773928d53d100d22358de34.zip |
Remove various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 3aab8aa05b954b80e336517f93463a9b5f50f3d6)
Diffstat (limited to 'kexi/formeditor/form.cpp')
-rw-r--r-- | kexi/formeditor/form.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kexi/formeditor/form.cpp b/kexi/formeditor/form.cpp index 58fdf6c0..349210f1 100644 --- a/kexi/formeditor/form.cpp +++ b/kexi/formeditor/form.cpp @@ -536,15 +536,15 @@ Form::autoAssignTabStops() ++it; TQWidget *nextw = it.current(); TQObject *page_w = 0; - KFormDesigner::TabWidget *tab_w = KFormDesigner::findParent<KFormDesigner::TabWidget>(TQT_TQOBJECT(w), "KFormDesigner::TabWidget", page_w); + KFormDesigner::TabWidget *tab_w = KFormDesigner::findParent<KFormDesigner::TabWidget>(w, "KFormDesigner::TabWidget", page_w); while (nextw) { - if (KexiUtils::hasParent(TQT_TQOBJECT(w), TQT_TQOBJECT(nextw))) // do not group (sort) widgets where on is a child of another + if (KexiUtils::hasParent(w, nextw)) // do not group (sort) widgets where on is a child of another break; if (nextw->y() >= (w->y() + 20)) break; if (tab_w) { TQObject *page_nextw = 0; - KFormDesigner::TabWidget *tab_nextw = KFormDesigner::findParent<KFormDesigner::TabWidget>(TQT_TQOBJECT(nextw), "KFormDesigner::TabWidget", page_nextw); + KFormDesigner::TabWidget *tab_nextw = KFormDesigner::findParent<KFormDesigner::TabWidget>(nextw, "KFormDesigner::TabWidget", page_nextw); if (tab_w == tab_nextw) { if (page_w != page_nextw) // 'nextw' widget within different tab page break; |