summaryrefslogtreecommitdiffstats
path: root/kontact
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:54:01 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:54:01 +0900
commit84129a6fadb049acceb743bd6cf1dea0c513522a (patch)
tree959a986f95c87092b1aefb8a0def491284409985 /kontact
parent6e5a971f6ba86df21b9f6cfae07d7d4dac355806 (diff)
downloadtdepim-84129a6fadb049acceb743bd6cf1dea0c513522a.tar.gz
tdepim-84129a6fadb049acceb743bd6cf1dea0c513522a.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kontact')
-rw-r--r--kontact/interfaces/summary.cpp2
-rw-r--r--kontact/plugins/summary/summaryview_part.cpp2
-rw-r--r--kontact/src/iconsidepane.cpp2
-rw-r--r--kontact/src/mainwindow.cpp2
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 8278d2c8b..43d7ca54c 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