Replace TQ_*Focus* and TQ_Scale* defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/11/head
Michele Calgaro 1 year ago
parent 2ec11ba03e
commit 49df580e12
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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);

@ -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);

@ -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)

Loading…
Cancel
Save