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-02 15:49:26 +0900 |
commit | 49df580e122b7b7e42d0c2668cdd8159fbc62648 (patch) | |
tree | 7f65a09f31471bb22bdab0991c6b3af646571296 | |
parent | 2ec11ba03e87e734e3fa95f59385049feb82098b (diff) | |
download | rosegarden-49df580e122b7b7e42d0c2668cdd8159fbc62648.tar.gz rosegarden-49df580e122b7b7e42d0c2668cdd8159fbc62648.zip |
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-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) |