summaryrefslogtreecommitdiffstats
path: root/kexi/widget/tableview/kexitableview.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:50:12 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:50:12 +0900
commit04e50e547f8ed2d6db996bc4816179fa962bd6b1 (patch)
tree5880f13b288d79e13e1a10f99c54b27bbe1fc942 /kexi/widget/tableview/kexitableview.cpp
parentd1e35d25fca82e1d86a41895446f7aca8cdc3035 (diff)
downloadkoffice-04e50e547f8ed2d6db996bc4816179fa962bd6b1.tar.gz
koffice-04e50e547f8ed2d6db996bc4816179fa962bd6b1.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kexi/widget/tableview/kexitableview.cpp')
-rw-r--r--kexi/widget/tableview/kexitableview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kexi/widget/tableview/kexitableview.cpp b/kexi/widget/tableview/kexitableview.cpp
index ab76fa95..39e397ea 100644
--- a/kexi/widget/tableview/kexitableview.cpp
+++ b/kexi/widget/tableview/kexitableview.cpp
@@ -192,9 +192,9 @@ KexiTableView::KexiTableView(KexiTableViewData* data, TQWidget* parent, const ch
setResizePolicy(Manual);
viewport()->setBackgroundMode(TQt::NoBackground);
-// viewport()->setFocusPolicy(TQ_StrongFocus);
- viewport()->setFocusPolicy(TQ_WheelFocus);
- setFocusPolicy(TQ_WheelFocus); //<--- !!!!! important (was NoFocus),
+// viewport()->setFocusPolicy(TQWidget::StrongFocus);
+ viewport()->setFocusPolicy(TQWidget::WheelFocus);
+ setFocusPolicy(TQWidget::WheelFocus); //<--- !!!!! important (was NoFocus),
// otherwise TQApplication::setActiveWindow() won't activate
// this widget when needed!
// setFocusProxy(viewport());