summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:54:39 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-04 10:31:12 +0900
commite8e8e54254ec3786edbbc149be5a7a7109e6541d (patch)
tree6684b76c8005878e39139bc706e1653cbf311fb9 /src
parentda6192de80b02052d30576401e06deb228ad84e6 (diff)
downloadtdevelop-e8e8e54254ec3786edbbc149be5a7a7109e6541d.tar.gz
tdevelop-e8e8e54254ec3786edbbc149be5a7a7109e6541d.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 88de09b6cc82c3c1592f1a71415cb962e39eb60b)
Diffstat (limited to 'src')
-rw-r--r--src/newui/button.cpp2
-rw-r--r--src/newui/dtabwidget.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/newui/button.cpp b/src/newui/button.cpp
index 930ce733..ef572a2e 100644
--- a/src/newui/button.cpp
+++ b/src/newui/button.cpp
@@ -47,7 +47,7 @@ Button::Button(ButtonBar *parent, const TQString text, const TQIconSet &icon,
hide();
setFlat(true);
setToggleButton(true);
- setFocusPolicy(TQ_NoFocus);
+ setFocusPolicy(TQWidget::NoFocus);
setDescription(m_description);
setSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Minimum);
resize(sizeHint());
diff --git a/src/newui/dtabwidget.cpp b/src/newui/dtabwidget.cpp
index 1480785a..becfb12c 100644
--- a/src/newui/dtabwidget.cpp
+++ b/src/newui/dtabwidget.cpp
@@ -29,7 +29,7 @@
DTabWidget::DTabWidget(TQWidget *parent, const char *name)
:KTabWidget(parent, name), m_closeButton(0)
{
- setFocusPolicy(TQ_NoFocus);
+ setFocusPolicy(TQWidget::NoFocus);
setMargin(0);
loadSettings();