Replace TQ_*Focus* and TQ_Scale* defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/15/head
Michele Calgaro 1 year ago
parent 67a43ced38
commit 07ee42fec3
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -239,7 +239,7 @@ void tqt_leave_modal( TQWidget *widget );
void WebPriceQuote::enter_loop(void)
{
TQWidget dummy(0,0,WType_Dialog | WShowModal);
dummy.setFocusPolicy( TQ_NoFocus );
dummy.setFocusPolicy( TQWidget::NoFocus );
tqt_enter_modal(&dummy);
tqApp->enter_loop();
tqt_leave_modal(&dummy);

@ -412,7 +412,7 @@ bool KEditScheduleDlg::focusNextPrevChild(bool next)
}
if(w != currentWidget
&& ((w->focusPolicy() & TQ_TabFocus) == TQ_TabFocus)
&& ((w->focusPolicy() & TQWidget::TabFocus) == TQWidget::TabFocus)
&& w->isVisible() && w->isEnabled()) {
// tqDebug("Selecting '%s' as focus", w->className());
w->setFocus();

@ -308,7 +308,7 @@ bool KEnterScheduleDlg::focusNextPrevChild(bool next)
}
if(w != currentWidget
&& ((w->focusPolicy() & TQ_TabFocus) == TQ_TabFocus)
&& ((w->focusPolicy() & TQWidget::TabFocus) == TQWidget::TabFocus)
&& w->isVisible() && w->isEnabled()) {
// tqDebug("Selecting '%s' as focus", w->className());
w->setFocus();

@ -981,7 +981,7 @@ bool kMyMoneySplitTable::focusNextPrevChild(bool next)
}
if(w != currentWidget
&& ((w->focusPolicy() & TQ_TabFocus) == TQ_TabFocus)
&& ((w->focusPolicy() & TQWidget::TabFocus) == TQWidget::TabFocus)
&& w->isVisible() && w->isEnabled()) {
w->setFocus();
rc = true;

@ -94,9 +94,9 @@ KSplitTransactionDlg::KSplitTransactionDlg(const MyMoneyTransaction& t,
finishBtn->setDefault(true);
// setup the focus
cancelBtn->setFocusPolicy(TQ_NoFocus);
finishBtn->setFocusPolicy(TQ_NoFocus);
clearAllBtn->setFocusPolicy(TQ_NoFocus);
cancelBtn->setFocusPolicy(TQWidget::NoFocus);
finishBtn->setFocusPolicy(TQWidget::NoFocus);
clearAllBtn->setFocusPolicy(TQWidget::NoFocus);
// connect signals with slots
connect(transactionsTable, TQT_SIGNAL(transactionChanged(const MyMoneyTransaction&)),

@ -1230,7 +1230,7 @@ bool TDEGlobalLedgerView::focusNextPrevChild(bool next)
}
if(w != currentWidget
&& ((w->focusPolicy() & TQ_TabFocus) == TQ_TabFocus)
&& ((w->focusPolicy() & TQWidget::TabFocus) == TQWidget::TabFocus)
&& w->isVisible() && w->isEnabled()) {
// tqDebug(TQString("Selecting '%1' as focus").arg(w->className()));
w->setFocus();

@ -51,7 +51,7 @@ kMyMoneyCompletion::kMyMoneyCompletion(TQWidget *parent, const char *name ) :
m_selector->listView()->setFocusProxy(this);
m_parent = parent;
setFocusProxy((parent) ? parent : (TQWidget*) TQ_NoFocus);
setFocusProxy((parent) ? parent : (TQWidget*) TQWidget::NoFocus);
setFrameStyle(TQFrame::PopupPanel | TQFrame::Raised);
connectSignals(m_selector, m_selector->listView());
}

@ -86,7 +86,7 @@ kMyMoneyDateTbl::kMyMoneyDateTbl(TQWidget *parent, TQDate date_, const char* nam
kdDebug() << "kMyMoneyDateTbl ctor: WARNING: Given date is invalid, using current date." << endl;
date_=TQDate::currentDate();
}
setFocusPolicy( TQ_StrongFocus );
setFocusPolicy( TQWidget::StrongFocus );
viewport()->setEraseColor(TDEGlobalSettings::baseColor());

Loading…
Cancel
Save