summaryrefslogtreecommitdiffstats
path: root/src/newui
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-02 15:54:39 +0900
commit88de09b6cc82c3c1592f1a71415cb962e39eb60b (patch)
treee2603a3f5cd63520f55e0461e3b06a988f17635c /src/newui
parent942d671706374179f6dd95e1dc2b514634ea1c39 (diff)
downloadtdevelop-88de09b6cc82c3c1592f1a71415cb962e39eb60b.tar.gz
tdevelop-88de09b6cc82c3c1592f1a71415cb962e39eb60b.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/newui')
-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();