Replace TQ_*Focus* and TQ_Scale* defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit dedeb493d2)
r14.1.x
Michele Calgaro 1 year ago
parent fee3c3fcc6
commit 001ba9ea24
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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);

@ -177,7 +177,7 @@ KateTabBarButton::KateTabBarButton(Kate::ViewManager* pViewManager,
{
setFlat(true);
setToggleButton(true);
setFocusPolicy(TQ_NoFocus);
setFocusPolicy(TQWidget::NoFocus);
setText(pDoc->docName());

@ -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);

@ -1140,7 +1140,7 @@ TreeMapWidget::TreeMapWidget(TreeMapItem* base,
_needsRefresh = _base;
setBackgroundMode(TQt::NoBackground);
setFocusPolicy(TQ_StrongFocus);
setFocusPolicy(TQWidget::StrongFocus);
_tip = new TreeMapTip(this);
}

@ -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);
}

@ -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();

Loading…
Cancel
Save