diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:54:39 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:54:39 +0900 |
commit | 88de09b6cc82c3c1592f1a71415cb962e39eb60b (patch) | |
tree | e2603a3f5cd63520f55e0461e3b06a988f17635c /kdevdesigner/designer/formwindow.cpp | |
parent | 942d671706374179f6dd95e1dc2b514634ea1c39 (diff) | |
download | tdevelop-88de09b6cc82c3c1592f1a71415cb962e39eb60b.tar.gz tdevelop-88de09b6cc82c3c1592f1a71415cb962e39eb60b.zip |
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kdevdesigner/designer/formwindow.cpp')
-rw-r--r-- | kdevdesigner/designer/formwindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kdevdesigner/designer/formwindow.cpp b/kdevdesigner/designer/formwindow.cpp index 8e3aa416..8bc3ed27 100644 --- a/kdevdesigner/designer/formwindow.cpp +++ b/kdevdesigner/designer/formwindow.cpp @@ -169,7 +169,7 @@ void FormWindow::init() unclippedPainter = 0; widgetPressed = FALSE; drawRubber = FALSE; - setFocusPolicy( TQ_ClickFocus ); + setFocusPolicy( TQWidget::ClickFocus ); sizePreviewLabel = 0; checkSelectionsTimer = new TQTimer( this, "checkSelectionsTimer" ); connect( checkSelectionsTimer, TQT_SIGNAL( timeout() ), @@ -1779,7 +1779,7 @@ void FormWindow::showOrderIndicators() TQWidget* w = (TQWidget*) o; if ( w->isShown() && insertedWidgets[ (void*)w ] && - w->focusPolicy() != TQ_NoFocus ) { + w->focusPolicy() != TQWidget::NoFocus ) { OrderIndicator* ind = new OrderIndicator( order++, w, this ); orderIndicators.append( ind ); if ( stackedWidgets.findRef( w ) == -1 ) @@ -2758,7 +2758,7 @@ void FormWindow::setFormFile( FormFile *f ) bool FormWindow::canBeBuddy( const TQWidget *w ) const { - return w->focusPolicy() != TQ_NoFocus; + return w->focusPolicy() != TQWidget::NoFocus; } bool FormWindow::event( TQEvent *e ) |