summaryrefslogtreecommitdiffstats
path: root/ksvg
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-02 15:53:19 +0900
committerMichele Calgaro <[email protected]>2023-09-02 15:53:19 +0900
commit0e051a3c83fc5e121be7a0497c823ed9546157eb (patch)
tree4abc7ae86e2340444b68825ab42c091a5fc804fe /ksvg
parent7b285cb0c78cdcc0391930b83bb83377db50b80d (diff)
downloadtdegraphics-0e051a3c83fc5e121be7a0497c823ed9546157eb.tar.gz
tdegraphics-0e051a3c83fc5e121be7a0497c823ed9546157eb.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'ksvg')
-rw-r--r--ksvg/plugin/ksvg_widget.cpp2
-rw-r--r--ksvg/test/external/SVGTestWidget.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/ksvg/plugin/ksvg_widget.cpp b/ksvg/plugin/ksvg_widget.cpp
index 2e65f012..bd64899c 100644
--- a/ksvg/plugin/ksvg_widget.cpp
+++ b/ksvg/plugin/ksvg_widget.cpp
@@ -31,7 +31,7 @@ KSVGWidget::KSVGWidget(KSVGPlugin *part, TQWidget *parent, const char *name)
: TQWidget(parent, name), m_part(part)
{
setMouseTracking(true);
- setFocusPolicy(TQ_WheelFocus);
+ setFocusPolicy(TQWidget::WheelFocus);
setBackgroundMode(NoBackground);
diff --git a/ksvg/test/external/SVGTestWidget.cpp b/ksvg/test/external/SVGTestWidget.cpp
index 895b5357..db1d362b 100644
--- a/ksvg/test/external/SVGTestWidget.cpp
+++ b/ksvg/test/external/SVGTestWidget.cpp
@@ -18,7 +18,7 @@ SVGTestWidget::SVGTestWidget(const KURL &url)
{
setBackgroundColor(TQt::white);
setMouseTracking(true);
- setFocusPolicy(TQ_WheelFocus);
+ setFocusPolicy(TQWidget::WheelFocus);
m_doc = DocumentFactory::self()->requestDocument(TQT_TQOBJECT(this), TQT_SLOT(slotRenderingFinished()));
if(!m_doc)