diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:49:26 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-03 22:43:40 +0900 |
commit | 6be0f33ee516e0289e75604982ead3784dacec87 (patch) | |
tree | 7f65a09f31471bb22bdab0991c6b3af646571296 | |
parent | 45016a2fba12ee4dc9ff29854504ae79a24fda11 (diff) | |
download | rosegarden-6be0f33ee516e0289e75604982ead3784dacec87.tar.gz rosegarden-6be0f33ee516e0289e75604982ead3784dacec87.zip |
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 49df580e122b7b7e42d0c2668cdd8159fbc62648)
-rw-r--r-- | src/gui/application/RosegardenGUIApp.cpp | 2 | ||||
-rw-r--r-- | src/gui/editors/matrix/MatrixView.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/QDeferScrollView.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/application/RosegardenGUIApp.cpp b/src/gui/application/RosegardenGUIApp.cpp index 29d2bc2..467d176 100644 --- a/src/gui/application/RosegardenGUIApp.cpp +++ b/src/gui/application/RosegardenGUIApp.cpp @@ -1297,7 +1297,7 @@ void RosegardenGUIApp::initZoomToolbar() m_zoomSlider = new ZoomSlider<double> (zoomSizes, -1, Qt::Horizontal, zoomToolbar, "tde toolbar widget"); m_zoomSlider->setTracking(true); - m_zoomSlider->setFocusPolicy(TQ_NoFocus); + m_zoomSlider->setFocusPolicy(TQWidget::NoFocus); m_zoomLabel = new TQLabel(minZoom, zoomToolbar, "tde toolbar widget"); m_zoomLabel->setIndent(10); diff --git a/src/gui/editors/matrix/MatrixView.cpp b/src/gui/editors/matrix/MatrixView.cpp index 972ed08..f91d69b 100644 --- a/src/gui/editors/matrix/MatrixView.cpp +++ b/src/gui/editors/matrix/MatrixView.cpp @@ -2217,7 +2217,7 @@ MatrixView::initZoomToolbar() m_hZoomSlider = new ZoomSlider<double> (zoomSizes, -1, Qt::Horizontal, zoomToolbar, "tde toolbar widget"); m_hZoomSlider->setTracking(true); - m_hZoomSlider->setFocusPolicy(TQ_NoFocus); + m_hZoomSlider->setFocusPolicy(TQWidget::NoFocus); m_zoomLabel = new TQLabel(zoomToolbar, "tde toolbar widget"); m_zoomLabel->setIndent(10); diff --git a/src/gui/widgets/QDeferScrollView.cpp b/src/gui/widgets/QDeferScrollView.cpp index e0b70ed..be651ff 100644 --- a/src/gui/widgets/QDeferScrollView.cpp +++ b/src/gui/widgets/QDeferScrollView.cpp @@ -33,7 +33,7 @@ namespace Rosegarden QDeferScrollView::QDeferScrollView(TQWidget* parent, const char *name, WFlags f) : TQScrollView(parent, name, f) { - setFocusPolicy(TQ_WheelFocus); + setFocusPolicy(TQWidget::WheelFocus); } void QDeferScrollView::setBottomMargin(int m) |