diff options
Diffstat (limited to 'kivio/kiviopart/kivio_view.cpp')
-rw-r--r-- | kivio/kiviopart/kivio_view.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kivio/kiviopart/kivio_view.cpp b/kivio/kiviopart/kivio_view.cpp index 0b20e35c..d06bc5f0 100644 --- a/kivio/kiviopart/kivio_view.cpp +++ b/kivio/kiviopart/kivio_view.cpp @@ -201,8 +201,8 @@ KivioView::KivioView( TQWidget *_parent, const char *_name, KivioDoc* doc ) m_pTabBar->setReverseLayout( TQApplication::reverseLayout() ); // Scroll Bar - m_vertScrollBar = new TQScrollBar(Qt::Vertical,pRightSide); - m_horzScrollBar = new TQScrollBar(Qt::Horizontal,tabSplit); + m_vertScrollBar = new TQScrollBar(TQt::Vertical,pRightSide); + m_horzScrollBar = new TQScrollBar(TQt::Horizontal,tabSplit); TQValueList<int> sizes; sizes << tabSplit->width() / 2 << tabSplit->width() / 2; @@ -218,11 +218,11 @@ KivioView::KivioView( TQWidget *_parent, const char *_name, KivioDoc* doc ) m_pCanvas->setFocusPolicy(TQWidget::StrongFocus); // Rulers - vRuler = new KoRuler(pRightSide, m_pCanvas, Qt::Vertical, Kivio::Config::defaultPageLayout(), + vRuler = new KoRuler(pRightSide, m_pCanvas, TQt::Vertical, Kivio::Config::defaultPageLayout(), KoRuler::F_HELPLINES, m_pDoc->unit()); vRuler->showMousePos(true); vRuler->setZoom(zoomHandler()->zoomedResolutionY()); - hRuler = new KoRuler(pRightSide, m_pCanvas, Qt::Horizontal, Kivio::Config::defaultPageLayout(), + hRuler = new KoRuler(pRightSide, m_pCanvas, TQt::Horizontal, Kivio::Config::defaultPageLayout(), KoRuler::F_HELPLINES, m_pDoc->unit()); hRuler->showMousePos(true); hRuler->setZoom(zoomHandler()->zoomedResolutionX()); |