diff options
Diffstat (limited to 'kexi/widget/utils/kexirecordnavigator.cpp')
-rw-r--r-- | kexi/widget/utils/kexirecordnavigator.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kexi/widget/utils/kexirecordnavigator.cpp b/kexi/widget/utils/kexirecordnavigator.cpp index 2c4ef8cf..d61c7dc8 100644 --- a/kexi/widget/utils/kexirecordnavigator.cpp +++ b/kexi/widget/utils/kexirecordnavigator.cpp @@ -88,13 +88,13 @@ KexiRecordNavigator::KexiRecordNavigator(TQWidget *parent, int leftMargin, const d->lyr->addWidget( m_navBtnFirst = new TQToolButton(this) ); m_navBtnFirst->setFixedWidth(bw); - m_navBtnFirst->setFocusPolicy(TQ_NoFocus); + m_navBtnFirst->setFocusPolicy(TQWidget::NoFocus); m_navBtnFirst->setIconSet( SmallIconSet("navigator_first") ); TQToolTip::add(m_navBtnFirst, i18n("First row")); d->lyr->addWidget( m_navBtnPrev = new TQToolButton(this) ); m_navBtnPrev->setFixedWidth(bw); - m_navBtnPrev->setFocusPolicy(TQ_NoFocus); + m_navBtnPrev->setFocusPolicy(TQWidget::NoFocus); m_navBtnPrev->setIconSet( SmallIconSet("navigator_prev") ); m_navBtnPrev->setAutoRepeat(true); TQToolTip::add(m_navBtnPrev, i18n("Previous row")); @@ -103,7 +103,7 @@ KexiRecordNavigator::KexiRecordNavigator(TQWidget *parent, int leftMargin, const d->lyr->addWidget( m_navRecordNumber = new KLineEdit(this) ); m_navRecordNumber->setAlignment(AlignRight | AlignVCenter); - m_navRecordNumber->setFocusPolicy(TQ_ClickFocus); + m_navRecordNumber->setFocusPolicy(TQWidget::ClickFocus); m_navRecordNumber->installEventFilter(this); // m_navRowNumber->setFixedWidth(fw); m_navRecordNumberValidator = new TQIntValidator(1, INT_MAX, TQT_TQOBJECT(this)); @@ -116,7 +116,7 @@ KexiRecordNavigator::KexiRecordNavigator(TQWidget *parent, int leftMargin, const lbl_of->setMaximumWidth(fm.width(lbl_of->text())+8); lbl_of->setReadOnly(true); lbl_of->setLineWidth(0); - lbl_of->setFocusPolicy(TQ_NoFocus); + lbl_of->setFocusPolicy(TQWidget::NoFocus); lbl_of->setAlignment(AlignCenter); d->lyr->addWidget( lbl_of ); @@ -124,7 +124,7 @@ KexiRecordNavigator::KexiRecordNavigator(TQWidget *parent, int leftMargin, const m_navRecordCount->setSizePolicy(TQSizePolicy::Fixed,TQSizePolicy::Preferred); m_navRecordCount->setReadOnly(true); m_navRecordCount->setLineWidth(0); - m_navRecordCount->setFocusPolicy(TQ_NoFocus); + m_navRecordCount->setFocusPolicy(TQWidget::NoFocus); m_navRecordCount->setAlignment(AlignLeft | AlignVCenter); TQToolTip::add(m_navRecordCount, i18n("Number of rows")); @@ -135,21 +135,21 @@ KexiRecordNavigator::KexiRecordNavigator(TQWidget *parent, int leftMargin, const d->lyr->addWidget( m_navBtnNext = new TQToolButton(this) ); m_navBtnNext->setFixedWidth(bw); - m_navBtnNext->setFocusPolicy(TQ_NoFocus); + m_navBtnNext->setFocusPolicy(TQWidget::NoFocus); m_navBtnNext->setIconSet( SmallIconSet("navigator_next") ); m_navBtnNext->setAutoRepeat(true); TQToolTip::add(m_navBtnNext, i18n("Next row")); d->lyr->addWidget( m_navBtnLast = new TQToolButton(this) ); m_navBtnLast->setFixedWidth(bw); - m_navBtnLast->setFocusPolicy(TQ_NoFocus); + m_navBtnLast->setFocusPolicy(TQWidget::NoFocus); m_navBtnLast->setIconSet( SmallIconSet("navigator_last") ); TQToolTip::add(m_navBtnLast, i18n("Last row")); d->lyr->addSpacing( 6 ); d->lyr->addWidget( m_navBtnNew = new TQToolButton(this) ); m_navBtnNew->setFixedWidth(bw); - m_navBtnNew->setFocusPolicy(TQ_NoFocus); + m_navBtnNew->setFocusPolicy(TQWidget::NoFocus); m_navBtnNew->setIconSet( SmallIconSet("navigator_new") ); TQToolTip::add(m_navBtnNew, i18n("New row")); m_navBtnNext->setEnabled(isInsertingEnabled()); |