diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:52:18 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:52:18 +0900 |
commit | dedeb493d225084b3e7d477b4ebfc3894b3330a2 (patch) | |
tree | b0fbbb3d0c78367f4f7d816f571cddab027f1ad2 | |
parent | ebb204be62fcfced4a20f6a908ab3bd6003a09d6 (diff) | |
download | tdeaddons-dedeb493d225084b3e7d477b4ebfc3894b3330a2.tar.gz tdeaddons-dedeb493d225084b3e7d477b4ebfc3894b3330a2.zip |
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | kate/make/plugin_katemake.cpp | 2 | ||||
-rw-r--r-- | kate/tabbarextension/plugin_katetabbarextension.cpp | 2 | ||||
-rw-r--r-- | kate/xmlcheck/plugin_katexmlcheck.cpp | 2 | ||||
-rw-r--r-- | konq-plugins/fsview/treemap.cpp | 2 | ||||
-rw-r--r-- | konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp | 2 | ||||
-rw-r--r-- | 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(); |