summaryrefslogtreecommitdiffstats
path: root/arts
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:53:40 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:53:40 +0900
commitb8cb47c3d328d373abefcff6ac2bd7b75020f8be (patch)
treeb664337a9597898a6c525a3e23b08041c6db927a /arts
parentbb002a39883ab44b11ef0d83536eccf36e9b1c71 (diff)
downloadtdemultimedia-b8cb47c3d328d373abefcff6ac2bd7b75020f8be.tar.gz
tdemultimedia-b8cb47c3d328d373abefcff6ac2bd7b75020f8be.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'arts')
-rw-r--r--arts/builder/mwidget.cpp2
-rw-r--r--arts/builder/qttableview.cpp4
-rw-r--r--arts/gui/kde/kpoti.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/arts/builder/mwidget.cpp b/arts/builder/mwidget.cpp
index 38a362e7..4b96a2ca 100644
--- a/arts/builder/mwidget.cpp
+++ b/arts/builder/mwidget.cpp
@@ -627,7 +627,7 @@ ModuleWidget::ModuleWidget(Structure *structure, TQWidget *parent, const char *n
setTableFlags(Tbl_autoScrollBars);
setZoom(100);
- setFocusPolicy( TQ_NoFocus );
+ setFocusPolicy( TQWidget::NoFocus );
arts_debug("PORT: mw; bgmode");
setBackgroundMode(NoBackground);
diff --git a/arts/builder/qttableview.cpp b/arts/builder/qttableview.cpp
index 9038d162..4b432e73 100644
--- a/arts/builder/qttableview.cpp
+++ b/arts/builder/qttableview.cpp
@@ -1446,7 +1446,7 @@ TQScrollBar *QtTableView::verticalScrollBar() const
sb->resize( sb->sizeHint() ); // height is irrelevant
TQ_CHECK_PTR(sb);
sb->setTracking( FALSE );
- sb->setFocusPolicy( TQ_NoFocus );
+ sb->setFocusPolicy( TQWidget::NoFocus );
connect( sb, TQT_SIGNAL(valueChanged(int)),
TQT_SLOT(verSbValue(int)));
connect( sb, TQT_SIGNAL(sliderMoved(int)),
@@ -1475,7 +1475,7 @@ TQScrollBar *QtTableView::horizontalScrollBar() const
sb->setCursor( arrowCursor );
#endif
sb->resize( sb->sizeHint() ); // width is irrelevant
- sb->setFocusPolicy( TQ_NoFocus );
+ sb->setFocusPolicy( TQWidget::NoFocus );
TQ_CHECK_PTR(sb);
sb->setTracking( FALSE );
connect( sb, TQT_SIGNAL(valueChanged(int)),
diff --git a/arts/gui/kde/kpoti.cpp b/arts/gui/kde/kpoti.cpp
index 538eb4ac..aefa80c1 100644
--- a/arts/gui/kde/kpoti.cpp
+++ b/arts/gui/kde/kpoti.cpp
@@ -223,7 +223,7 @@ void KPoti::init(int value)
m_bLabel = true;
tickInt = 0;
- setFocusPolicy( TQ_TabFocus );
+ setFocusPolicy( TQWidget::TabFocus );
initTicks();
}