summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:52:18 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-04 10:10:07 +0900
commit001ba9ea240b3951cd3ea41162d537abf2ab0cd0 (patch)
tree9bb1ec0e1cfbb17d6d1c926c8fe6ae21dd6775be
parentfee3c3fcc6673ccd466e81d199064b690c1d307e (diff)
downloadtdeaddons-001ba9ea240b3951cd3ea41162d537abf2ab0cd0.tar.gz
tdeaddons-001ba9ea240b3951cd3ea41162d537abf2ab0cd0.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit dedeb493d225084b3e7d477b4ebfc3894b3330a2)
-rw-r--r--kate/make/plugin_katemake.cpp2
-rw-r--r--kate/tabbarextension/plugin_katetabbarextension.cpp2
-rw-r--r--kate/xmlcheck/plugin_katexmlcheck.cpp2
-rw-r--r--konq-plugins/fsview/treemap.cpp2
-rw-r--r--konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp2
-rw-r--r--renamedlgplugins/images/imagevisualizer.cpp2
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();