Replace TQ_*Focus* and TQ_Scale* defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/10/head
Michele Calgaro 1 year ago
parent 64c147d64f
commit 992e8db5fd
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -73,7 +73,7 @@ KileTable::KileTable(TQWidget *dialog, TQWidget *parent, const char *name) : TQT
setLeftMargin(0);
setVScrollBarMode(TQScrollView::AlwaysOff);
setHScrollBarMode(TQScrollView::AlwaysOff);
setFocusPolicy(TQ_NoFocus);
setFocusPolicy(TQWidget::NoFocus);
horizontalHeader()->setResizeEnabled(false);
horizontalHeader()->setClickEnabled(false);

@ -134,7 +134,7 @@ Kile::Kile( bool allowRestore, TQWidget *parent, const char *name ) :
setupStatusBar();
m_topWidgetStack = new TQWidgetStack( this );
m_topWidgetStack->setFocusPolicy(TQ_NoFocus);
m_topWidgetStack->setFocusPolicy(TQWidget::NoFocus);
m_horizontalSplitter = new TQSplitter(Qt::Horizontal,m_topWidgetStack, "horizontalSplitter" );
@ -304,7 +304,7 @@ void Kile::setupStructureView()
{
m_kwStructure = new KileWidget::Structure(this, m_sideBar);
m_sideBar->addTab(m_kwStructure, SmallIcon("view_tree"), i18n("Structure"));
m_kwStructure->setFocusPolicy(TQ_ClickFocus);
m_kwStructure->setFocusPolicy(TQWidget::ClickFocus);
connect(TQT_TQOBJECT(this), TQT_SIGNAL(configChanged()), m_kwStructure, TQT_SIGNAL(configChanged()));
connect(m_kwStructure, TQT_SIGNAL(setCursor(const KURL &,int,int)), TQT_TQOBJECT(this), TQT_SLOT(setCursor(const KURL &,int,int)));
connect(m_kwStructure, TQT_SIGNAL(fileOpen(const KURL&, const TQString & )), docManager(), TQT_SLOT(fileOpen(const KURL&, const TQString& )));
@ -426,7 +426,7 @@ void Kile::setupAbbreviationView()
void Kile::setupBottomBar()
{
m_bottomBar = new KileBottomBar(KileConfig::bottomBarSize(), m_verticalSplitter);
m_bottomBar->setFocusPolicy(TQ_ClickFocus);
m_bottomBar->setFocusPolicy(TQWidget::ClickFocus);
m_logWidget = new KileWidget::LogMsg( this, m_bottomBar );
connect(m_logWidget, TQT_SIGNAL(showingErrorMessage(TQWidget* )), m_bottomBar, TQT_SLOT(showPage(TQWidget* )));
@ -434,13 +434,13 @@ void Kile::setupBottomBar()
connect(m_logWidget, TQT_SIGNAL(setLine(const TQString& )), TQT_TQOBJECT(this), TQT_SLOT(setLine(const TQString& )));
connect(m_docManager,TQT_SIGNAL(printMsg(int, const TQString &, const TQString &)),m_logWidget,TQT_SLOT(printMsg(int, const TQString &, const TQString &)));
m_logWidget->setFocusPolicy(TQ_ClickFocus);
m_logWidget->setFocusPolicy(TQWidget::ClickFocus);
m_logWidget->setMinimumHeight(40);
m_logWidget->setReadOnly(true);
m_bottomBar->addTab(m_logWidget, SmallIcon("viewlog"), i18n("Log and Messages"));
m_outputWidget = new KileWidget::Output(m_bottomBar);
m_outputWidget->setFocusPolicy(TQ_ClickFocus);
m_outputWidget->setFocusPolicy(TQWidget::ClickFocus);
m_outputWidget->setMinimumHeight(40);
m_outputWidget->setReadOnly(true);
m_bottomBar->addTab(m_outputWidget, SmallIcon("output_win"), i18n("Output"));

@ -106,7 +106,7 @@ KileProjectView::KileProjectView(TQWidget *parent, KileInfo *ki) : TDEListView(p
addColumn(i18n("Files & Projects"),-1);
addColumn(i18n("Include in Archive"),10);
setSorting(-1);
setFocusPolicy(TQ_ClickFocus);
setFocusPolicy(TQWidget::ClickFocus);
header()->hide();
setRootIsDecorated(true);
setAllColumnsShowFocus(true);

@ -93,7 +93,7 @@ void Manager::createTabs(TQWidget *parent)
connect(m_emptyDropWidget, TQT_SIGNAL(receivedDropEvent(TQDropEvent *)), m_ki->docManager(), TQT_SLOT(openDroppedURLs(TQDropEvent *)));
m_tabs = new KTabWidget(parent);
m_widgetStack->addWidget(m_tabs);
m_tabs->setFocusPolicy(TQ_ClickFocus);
m_tabs->setFocusPolicy(TQWidget::ClickFocus);
m_tabs->setTabReorderingEnabled(true);
m_tabs->setHoverCloseButton(true);
m_tabs->setHoverCloseButtonDelayed(true);
@ -165,7 +165,7 @@ Kate::View* Manager::createTextView(KileDocument::TextInfo *info, int index)
reflectDocumentStatus(view->getDoc(), false, 0);
view->setFocusPolicy(TQ_StrongFocus);
view->setFocusPolicy(TQWidget::StrongFocus);
view->setFocus();
emit(prepareForPart("Editor"));

Loading…
Cancel
Save