diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:54:01 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-04 10:33:10 +0900 |
commit | 91d0481e3bd0d37fa1a746b117fe04fff8221164 (patch) | |
tree | 07b9c448d5a66a07bd1ee71bd838373044c3d3a5 /kontact | |
parent | c5f2c57c55beb8d9ac2b5596bb7d75601ed9d2af (diff) | |
download | tdepim-91d0481e3bd0d37fa1a746b117fe04fff8221164.tar.gz tdepim-91d0481e3bd0d37fa1a746b117fe04fff8221164.zip |
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 84129a6fadb049acceb743bd6cf1dea0c513522a)
Diffstat (limited to 'kontact')
-rw-r--r-- | kontact/interfaces/summary.cpp | 2 | ||||
-rw-r--r-- | kontact/plugins/summary/summaryview_part.cpp | 2 | ||||
-rw-r--r-- | kontact/src/iconsidepane.cpp | 2 | ||||
-rw-r--r-- | kontact/src/mainwindow.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/kontact/interfaces/summary.cpp b/kontact/interfaces/summary.cpp index 6192dd4c4..0238647e4 100644 --- a/kontact/interfaces/summary.cpp +++ b/kontact/interfaces/summary.cpp @@ -89,7 +89,7 @@ void Summary::mouseMoveEvent( TQMouseEvent *event ) TQPixmap pm = TQPixmap::grabWidget( this ); if ( pm.width() > 300 ) - pm = pm.convertToImage().smoothScale( 300, 300, TQ_ScaleMin ); + pm = pm.convertToImage().smoothScale( 300, 300, TQImage::ScaleMin ); TQPainter painter; painter.begin( &pm ); diff --git a/kontact/plugins/summary/summaryview_part.cpp b/kontact/plugins/summary/summaryview_part.cpp index 94474c55f..ddb43d71a 100644 --- a/kontact/plugins/summary/summaryview_part.cpp +++ b/kontact/plugins/summary/summaryview_part.cpp @@ -364,7 +364,7 @@ void SummaryViewPart::initGUI( Kontact::Core *core ) mMainWidget = new TQFrame( sv->viewport() ); sv->addChild( mMainWidget ); mMainWidget->setFrameStyle( TQFrame::Panel | TQFrame::Sunken ); - sv->setFocusPolicy( TQ_StrongFocus ); + sv->setFocusPolicy( TQWidget::StrongFocus ); setWidget( sv ); mMainLayout = new TQVBoxLayout( mMainWidget,KDialog::marginHint(), diff --git a/kontact/src/iconsidepane.cpp b/kontact/src/iconsidepane.cpp index 338aeb8d6..e3560ed74 100644 --- a/kontact/src/iconsidepane.cpp +++ b/kontact/src/iconsidepane.cpp @@ -265,7 +265,7 @@ Navigator::Navigator( IconSidePane *parent, const char *name ) setHScrollBarMode( TQScrollView::AlwaysOff ); setAcceptDrops( true ); - setFocusPolicy( TQ_NoFocus ); + setFocusPolicy( TQWidget::NoFocus ); connect( this, TQT_SIGNAL( selectionChanged( TQListBoxItem* ) ), TQT_SLOT( slotExecuted( TQListBoxItem* ) ) ); diff --git a/kontact/src/mainwindow.cpp b/kontact/src/mainwindow.cpp index 1fd7ab881..f89d5e450 100644 --- a/kontact/src/mainwindow.cpp +++ b/kontact/src/mainwindow.cpp @@ -313,7 +313,7 @@ void MainWindow::initAboutScreen() mPartsStack->addWidget( introbox ); mPartsStack->raiseWidget( introbox ); mIntroPart = new TDEHTMLPart( introbox ); - mIntroPart->widget()->setFocusPolicy( TQ_WheelFocus ); + mIntroPart->widget()->setFocusPolicy( TQWidget::WheelFocus ); // Let's better be paranoid and disable plugins (it defaults to enabled): mIntroPart->setPluginsEnabled( false ); mIntroPart->setJScriptEnabled( false ); // just make this explicit |