Replace TQ_*Focus* and TQ_Scale* defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 49df580e12)
r14.1.x
Michele Calgaro 1 year ago
parent 45016a2fba
commit 6be0f33ee5
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -1297,7 +1297,7 @@ void RosegardenGUIApp::initZoomToolbar()
m_zoomSlider = new ZoomSlider<double> m_zoomSlider = new ZoomSlider<double>
(zoomSizes, -1, Qt::Horizontal, zoomToolbar, "tde toolbar widget"); (zoomSizes, -1, Qt::Horizontal, zoomToolbar, "tde toolbar widget");
m_zoomSlider->setTracking(true); 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 = new TQLabel(minZoom, zoomToolbar, "tde toolbar widget");
m_zoomLabel->setIndent(10); m_zoomLabel->setIndent(10);

@ -2217,7 +2217,7 @@ MatrixView::initZoomToolbar()
m_hZoomSlider = new ZoomSlider<double> m_hZoomSlider = new ZoomSlider<double>
(zoomSizes, -1, Qt::Horizontal, zoomToolbar, "tde toolbar widget"); (zoomSizes, -1, Qt::Horizontal, zoomToolbar, "tde toolbar widget");
m_hZoomSlider->setTracking(true); m_hZoomSlider->setTracking(true);
m_hZoomSlider->setFocusPolicy(TQ_NoFocus); m_hZoomSlider->setFocusPolicy(TQWidget::NoFocus);
m_zoomLabel = new TQLabel(zoomToolbar, "tde toolbar widget"); m_zoomLabel = new TQLabel(zoomToolbar, "tde toolbar widget");
m_zoomLabel->setIndent(10); m_zoomLabel->setIndent(10);

@ -33,7 +33,7 @@ namespace Rosegarden
QDeferScrollView::QDeferScrollView(TQWidget* parent, const char *name, WFlags f) QDeferScrollView::QDeferScrollView(TQWidget* parent, const char *name, WFlags f)
: TQScrollView(parent, name, f) : TQScrollView(parent, name, f)
{ {
setFocusPolicy(TQ_WheelFocus); setFocusPolicy(TQWidget::WheelFocus);
} }
void QDeferScrollView::setBottomMargin(int m) void QDeferScrollView::setBottomMargin(int m)

Loading…
Cancel
Save