diff options
Diffstat (limited to 'kpresenter/KPrView.cpp')
-rw-r--r-- | kpresenter/KPrView.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kpresenter/KPrView.cpp b/kpresenter/KPrView.cpp index 59da1ddd..dc746432 100644 --- a/kpresenter/KPrView.cpp +++ b/kpresenter/KPrView.cpp @@ -292,7 +292,7 @@ KPrView::KPrView( KPrDocument* _doc, TQWidget *_parent, const char *_name ) presDurationDia = 0; v_ruler = 0; h_ruler = 0; - pen = KoPen( black, 1.0, Qt::SolidLine ); + pen = KoPen( black, 1.0, TQt::SolidLine ); brush = TQBrush( white, SolidPattern ); lineBegin = L_NORMAL; lineEnd = L_NORMAL; @@ -1439,7 +1439,7 @@ void KPrView::extraUnGroup() void KPrView::extraPenStyle( int newStyle ) { m_canvas->setToolEditMode( TEM_MOUSE ); - setExtraPenStyle(static_cast<Qt::PenStyle>(newStyle)); + setExtraPenStyle(static_cast<TQt::PenStyle>(newStyle)); } void KPrView::extraPenWidth( double newWidth ) @@ -2106,7 +2106,7 @@ void KPrView::setExtraLineEnd(LineEnd le) lineEnd = le; } -void KPrView::setExtraPenStyle( Qt::PenStyle style ) +void KPrView::setExtraPenStyle( TQt::PenStyle style ) { KoPen tmpPen; tmpPen.setStyle( style ); @@ -2171,7 +2171,7 @@ void KPrView::createGUI() splitter->setResizeMode( sidebar, TQSplitter::KeepSize ); } - TQSplitter *splitterVertical = new TQSplitter( Qt::Vertical, splitter ); + TQSplitter *splitterVertical = new TQSplitter( TQt::Vertical, splitter ); // setup page pageBase = new PageBase( splitterVertical, this ); @@ -3744,8 +3744,8 @@ void KPrView::setupPopupMenus() void KPrView::setupScrollbars() { - vert = new TQScrollBar( Qt::Vertical, pageBase ); - horz = new TQScrollBar( Qt::Horizontal, pageBase ); + vert = new TQScrollBar( TQt::Vertical, pageBase ); + horz = new TQScrollBar( TQt::Horizontal, pageBase ); vert->show(); horz->show(); TQObject::connect( vert, TQT_SIGNAL( valueChanged( int ) ), TQT_TQOBJECT(this), TQT_SLOT( scrollV( int ) ) ); @@ -3770,12 +3770,12 @@ void KPrView::setupRulers() { tabChooser = new KoTabChooser( pageBase, KoTabChooser::TAB_ALL ); tabChooser->setReadWrite(kPresenterDoc()->isReadWrite()); - h_ruler = new KoRuler( pageBase, m_canvas, Qt::Horizontal, kPresenterDoc()->pageLayout(), + h_ruler = new KoRuler( pageBase, m_canvas, TQt::Horizontal, kPresenterDoc()->pageLayout(), KoRuler::F_INDENTS | KoRuler::F_TABS, kPresenterDoc()->unit(), tabChooser ); h_ruler->changeFlags(0); h_ruler->setReadWrite(kPresenterDoc()->isReadWrite()); - v_ruler = new KoRuler( pageBase, m_canvas, Qt::Vertical, kPresenterDoc()->pageLayout(), 0, kPresenterDoc()->unit() ); + v_ruler = new KoRuler( pageBase, m_canvas, TQt::Vertical, kPresenterDoc()->pageLayout(), 0, kPresenterDoc()->unit() ); v_ruler->setReadWrite(kPresenterDoc()->isReadWrite()); int hSpace = v_ruler->minimumSizeHint().width(); |