From 001ba9ea240b3951cd3ea41162d537abf2ab0cd0 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 2 Sep 2023 15:52:18 +0900 Subject: Replace TQ_*Focus* and TQ_Scale* defines Signed-off-by: Michele Calgaro (cherry picked from commit dedeb493d225084b3e7d477b4ebfc3894b3330a2) --- kate/make/plugin_katemake.cpp | 2 +- kate/tabbarextension/plugin_katetabbarextension.cpp | 2 +- kate/xmlcheck/plugin_katexmlcheck.cpp | 2 +- konq-plugins/fsview/treemap.cpp | 2 +- konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp | 2 +- renamedlgplugins/images/imagevisualizer.cpp | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/kate/make/plugin_katemake.cpp b/kate/make/plugin_katemake.cpp index c9fdc86..55f4a17 100644 --- a/kate/make/plugin_katemake.cpp +++ b/kate/make/plugin_katemake.cpp @@ -353,7 +353,7 @@ PluginKateMakeView::PluginKateMakeView(TQWidget *parent, setXMLFile(TQString::fromLatin1("plugins/katemake/ui.rc")); - setFocusPolicy(TQ_NoFocus); + setFocusPolicy(TQWidget::NoFocus); setSorting(COL_LINE); addColumn(i18n("File"), -1); diff --git a/kate/tabbarextension/plugin_katetabbarextension.cpp b/kate/tabbarextension/plugin_katetabbarextension.cpp index 4f0682c..51d675d 100644 --- a/kate/tabbarextension/plugin_katetabbarextension.cpp +++ b/kate/tabbarextension/plugin_katetabbarextension.cpp @@ -177,7 +177,7 @@ KateTabBarButton::KateTabBarButton(Kate::ViewManager* pViewManager, { setFlat(true); setToggleButton(true); - setFocusPolicy(TQ_NoFocus); + setFocusPolicy(TQWidget::NoFocus); setText(pDoc->docName()); diff --git a/kate/xmlcheck/plugin_katexmlcheck.cpp b/kate/xmlcheck/plugin_katexmlcheck.cpp index 65a8b7c..c314075 100644 --- a/kate/xmlcheck/plugin_katexmlcheck.cpp +++ b/kate/xmlcheck/plugin_katexmlcheck.cpp @@ -109,7 +109,7 @@ PluginKateXMLCheckView::PluginKateXMLCheckView(TQWidget *parent,Kate::MainWindow setXMLFile("plugins/katexmlcheck/ui.rc"); - setFocusPolicy(TQ_NoFocus); + setFocusPolicy(TQWidget::NoFocus); addColumn(i18n("#"), -1); addColumn(i18n("Line"), -1); setColumnAlignment(1, AlignRight); diff --git a/konq-plugins/fsview/treemap.cpp b/konq-plugins/fsview/treemap.cpp index 9c3d877..f56d1cd 100644 --- a/konq-plugins/fsview/treemap.cpp +++ b/konq-plugins/fsview/treemap.cpp @@ -1140,7 +1140,7 @@ TreeMapWidget::TreeMapWidget(TreeMapItem* base, _needsRefresh = _base; setBackgroundMode(TQt::NoBackground); - setFocusPolicy(TQ_StrongFocus); + setFocusPolicy(TQWidget::StrongFocus); _tip = new TreeMapTip(this); } diff --git a/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp b/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp index e70f3ce..52edae0 100644 --- a/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp +++ b/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp @@ -171,7 +171,7 @@ namespace KSB_News { TQPixmap pixmap = nsp->pixmap(); if ((pixmap.width() > 88) || (pixmap.height() > 31)) { TQImage image = pixmap.convertToImage(); - pixmap.convertFromImage(image.smoothScale(88, 31, TQ_ScaleMin)); + pixmap.convertFromImage(image.smoothScale(88, 31, TQImage::ScaleMin)); } pb->setPixmap(pixmap); } diff --git a/renamedlgplugins/images/imagevisualizer.cpp b/renamedlgplugins/images/imagevisualizer.cpp index fec7a37..9cbca24 100644 --- a/renamedlgplugins/images/imagevisualizer.cpp +++ b/renamedlgplugins/images/imagevisualizer.cpp @@ -58,7 +58,7 @@ ImageVisualizer::ImageVisualizer( TQWidget *parent, const char *name, const TQSt void ImageVisualizer::loadImage( const TQString& path ) { TQImage img(path); - TQPixmap pixmap(img.smoothScale(180,200, TQ_ScaleMin) ); + TQPixmap pixmap(img.smoothScale(180,200, TQImage::ScaleMin) ); pic->setText( TQString() ); pic->setPixmap(pixmap ); pic->adjustSize(); -- cgit v1.2.1