Replace TQ_*Focus* and TQ_Scale* defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 4419ae4879)
r14.1.x
Michele Calgaro 1 year ago
parent 854ae8e07b
commit d5e7a82195
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -133,10 +133,10 @@ CervisiaPart::CervisiaPart( TQWidget *parentWidget, const char *widgetName,
: Qt::Horizontal;
splitter = new TQSplitter(o, parentWidget, widgetName);
// avoid PartManager's warning that Part's window can't handle focus
splitter->setFocusPolicy( TQ_StrongFocus );
splitter->setFocusPolicy( TQWidget::StrongFocus );
update = new UpdateView(*config(), splitter);
update->setFocusPolicy( TQ_StrongFocus );
update->setFocusPolicy( TQWidget::StrongFocus );
update->setFocus();
connect( update, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
this, TQT_SLOT(popupRequested(TDEListView*, TQListViewItem*, const TQPoint&)) );
@ -144,7 +144,7 @@ CervisiaPart::CervisiaPart( TQWidget *parentWidget, const char *widgetName,
this, TQT_SLOT(openFile(TQString)) );
protocol = new ProtocolView(appId, splitter);
protocol->setFocusPolicy( TQ_StrongFocus );
protocol->setFocusPolicy( TQWidget::StrongFocus );
setWidget(splitter);
}

@ -82,7 +82,7 @@ LogTreeView::LogTreeView(TQWidget *parent, const char *name)
setLeftMargin(0);
setFrameStyle( TQFrame::WinPanel | TQFrame::Sunken );
setBackgroundMode(PaletteBase);
setFocusPolicy(TQ_NoFocus);
setFocusPolicy(TQWidget::NoFocus);
currentRow = -1;
currentCol = -1;

@ -1450,7 +1450,7 @@ TQScrollBar *QtTableView::verticalScrollBar() const
sb->resize( sb->sizeHint() ); // height is irrelevant
TQ_CHECK_PTR(sb);
sb->setTracking( FALSE );
sb->setFocusPolicy( TQ_NoFocus );
sb->setFocusPolicy( TQWidget::NoFocus );
connect( sb, TQT_SIGNAL(valueChanged(int)),
TQT_SLOT(verSbValue(int)));
connect( sb, TQT_SIGNAL(sliderMoved(int)),
@ -1479,7 +1479,7 @@ TQScrollBar *QtTableView::horizontalScrollBar() const
sb->setCursor( arrowCursor );
#endif
sb->resize( sb->sizeHint() ); // width is irrelevant
sb->setFocusPolicy( TQ_NoFocus );
sb->setFocusPolicy( TQWidget::NoFocus );
TQ_CHECK_PTR(sb);
sb->setTracking( FALSE );
connect( sb, TQT_SIGNAL(valueChanged(int)),

@ -17,7 +17,7 @@
PackageListView::PackageListView( TQWidget *parent ) :
TQListView( parent )
{
setFocusPolicy( TQ_StrongFocus );
setFocusPolicy( TQWidget::StrongFocus );
}
void PackageListView::resetTyped()

@ -122,7 +122,7 @@ KompareListView::KompareListView( bool isSource,
setFrameStyle( TQFrame::NoFrame );
setVScrollBarMode( TQScrollView::AlwaysOff );
setHScrollBarMode( TQScrollView::AlwaysOff );
setFocusPolicy( TQ_NoFocus );
setFocusPolicy( TQWidget::NoFocus );
setFont( m_settings->m_font );
setSpaces( m_settings->m_tabToNumberOfSpaces );
setFocusProxy( parent->parentWidget() );

@ -64,7 +64,7 @@ KompareSplitter::KompareSplitter( ViewSettings *settings, TQWidget * parent,
setFrameStyle( TQFrame::NoFrame );
setSizePolicy( TQSizePolicy (TQSizePolicy::Ignored, TQSizePolicy::Ignored ));
setOpaqueResize( true );
setFocusPolicy( TQ_WheelFocus );
setFocusPolicy( TQWidget::WheelFocus );
connect( this, TQT_SIGNAL(configChanged()), TQT_SLOT(slotConfigChanged()) );
connect( this, TQT_SIGNAL(configChanged()), TQT_SLOT(slotDelayedRepaintHandles()) );

@ -47,7 +47,7 @@ img)
if ( w )
{
TQPixmap p = TQPixmap::grabWidget(w);
img = p.convertToImage().smoothScale(width,height,TQ_ScaleMin);
img = p.convertToImage().smoothScale(width,height,TQImage::ScaleMin);
return true;
}
else

@ -1388,7 +1388,7 @@ CallGraphView::CallGraphView(TraceItemView* parentView,
_completeView->raise();
_completeView->hide();
setFocusPolicy(TQ_StrongFocus);
setFocusPolicy(TQWidget::StrongFocus);
setBackgroundMode(TQt::NoBackground);
connect(this, TQT_SIGNAL(contentsMoving(int,int)),

@ -232,7 +232,7 @@ TabView::TabView(TraceItemView* parentView,
TQWidget* parent, const char* name)
: TQWidget(parent, name), TraceItemView(parentView)
{
setFocusPolicy(TQ_StrongFocus);
setFocusPolicy(TQWidget::StrongFocus);
_isCollapsed = true;

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

@ -105,7 +105,7 @@ UMLListView::UMLListView(TQWidget *parent, const char *name)
setItemsMovable(true);
setItemsRenameable( true );
setSelectionModeExt(FileManager);
setFocusPolicy(TQ_StrongFocus);
setFocusPolicy(TQWidget::StrongFocus);
setDragEnabled(true);
setColumnWidthMode( 0, Manual );
setDefaultRenameAction( Accept );

Loading…
Cancel
Save