diff options
Diffstat (limited to 'kpresenter')
-rw-r--r-- | kpresenter/KPrCanvas.cpp | 2 | ||||
-rw-r--r-- | kpresenter/KPrPicturePreview.cpp | 2 | ||||
-rw-r--r-- | kpresenter/KPrSideBar.cpp | 2 | ||||
-rw-r--r-- | kpresenter/KPrTransEffectDia.cpp | 2 | ||||
-rw-r--r-- | kpresenter/KPrView.cpp | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/kpresenter/KPrCanvas.cpp b/kpresenter/KPrCanvas.cpp index 0c119b80..7903e2b7 100644 --- a/kpresenter/KPrCanvas.cpp +++ b/kpresenter/KPrCanvas.cpp @@ -152,7 +152,7 @@ KPrCanvas::KPrCanvas( TQWidget *parent, const char *name, KPrView *_view ) hide(); } - setFocusPolicy( TQ_StrongFocus ); + setFocusPolicy( TQWidget::StrongFocus ); setFocus(); setKeyCompression( true ); setInputMethodEnabled( true ); // ensure using the InputMethod diff --git a/kpresenter/KPrPicturePreview.cpp b/kpresenter/KPrPicturePreview.cpp index 95114726..97467e7a 100644 --- a/kpresenter/KPrPicturePreview.cpp +++ b/kpresenter/KPrPicturePreview.cpp @@ -44,7 +44,7 @@ void KPrPicturePreview::drawContents( TQPainter *painter ) TQSize ext = contentsRect().size(); TQPixmap _pix = origPixmap; - TQImage img( _pix.convertToImage().smoothScale( ext.width(),ext.height(), TQ_ScaleMin ) ); + TQImage img( _pix.convertToImage().smoothScale( ext.width(),ext.height(), TQImage::ScaleMin ) ); bool _horizontal = false; bool _vertical = false; diff --git a/kpresenter/KPrSideBar.cpp b/kpresenter/KPrSideBar.cpp index e201fecb..5d2a6e75 100644 --- a/kpresenter/KPrSideBar.cpp +++ b/kpresenter/KPrSideBar.cpp @@ -545,7 +545,7 @@ TQPixmap KPrThumbBar::getSlideThumb(int slideNr) const h = 130; } - const TQImage img(pix.convertToImage().smoothScale( w, h, TQ_ScaleMin )); + const TQImage img(pix.convertToImage().smoothScale( w, h, TQImage::ScaleMin )); pix.convertFromImage(img); // draw a frame around the thumb to show its size diff --git a/kpresenter/KPrTransEffectDia.cpp b/kpresenter/KPrTransEffectDia.cpp index 0a276a5a..7d5c4eae 100644 --- a/kpresenter/KPrTransEffectDia.cpp +++ b/kpresenter/KPrTransEffectDia.cpp @@ -83,7 +83,7 @@ void KPrEffectPreview::setPixmap( const TQPixmap& pixmap ) setMinimumSize( w, h ); // create smaller pixmap for preview - const TQImage img( pixmap.convertToImage().smoothScale( w, h, TQ_ScaleFree ) ); + const TQImage img( pixmap.convertToImage().smoothScale( w, h, TQImage::ScaleFree ) ); m_pixmap.convertFromImage( img ); TQLabel::setPixmap( m_pixmap ); diff --git a/kpresenter/KPrView.cpp b/kpresenter/KPrView.cpp index 67a2596f..59da1ddd 100644 --- a/kpresenter/KPrView.cpp +++ b/kpresenter/KPrView.cpp @@ -1575,7 +1575,7 @@ void KPrView::startScreenPres( int pgNum /*1-based*/ ) m_canvas->reparent( ( TQWidget* )0L, 0, TQPoint( 0, 0 ), FALSE ); m_canvas->setPaletteBackgroundColor( TQt::white ); m_canvas->showFullScreen(); - m_canvas->setFocusPolicy( TQ_StrongFocus ); + m_canvas->setFocusPolicy( TQWidget::StrongFocus ); if ( !kPresenterDoc()->spManualSwitch() ) { |