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-04 10:29:39 +0900
commit4396343fcc0f4dfd74042cbee01e311f6601f3ac (patch)
tree09ed426853fb47f0e0c0d24bdf2d27200c447ece /ksvg
parent3eed571e596d6f96c676abc5cda6dd2f16756bc2 (diff)
downloadtdegraphics-4396343fcc0f4dfd74042cbee01e311f6601f3ac.tar.gz
tdegraphics-4396343fcc0f4dfd74042cbee01e311f6601f3ac.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 0e051a3c83fc5e121be7a0497c823ed9546157eb)
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)