summaryrefslogtreecommitdiffstats
path: root/kspread
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-02 15:50:12 +0900
committerMichele Calgaro <[email protected]>2023-09-02 15:50:12 +0900
commit04e50e547f8ed2d6db996bc4816179fa962bd6b1 (patch)
tree5880f13b288d79e13e1a10f99c54b27bbe1fc942 /kspread
parentd1e35d25fca82e1d86a41895446f7aca8cdc3035 (diff)
downloadkoffice-04e50e547f8ed2d6db996bc4816179fa962bd6b1.tar.gz
koffice-04e50e547f8ed2d6db996bc4816179fa962bd6b1.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kspread')
-rw-r--r--kspread/kspread_canvas.cpp2
-rw-r--r--kspread/kspread_view.cpp6
-rw-r--r--kspread/plugins/calculator/kcalc.cpp2
3 files changed, 5 insertions, 5 deletions
diff --git a/kspread/kspread_canvas.cpp b/kspread/kspread_canvas.cpp
index 0518e274..511e5e0c 100644
--- a/kspread/kspread_canvas.cpp
+++ b/kspread/kspread_canvas.cpp
@@ -213,7 +213,7 @@ Canvas::Canvas (View *_view)
d->chooseCell = false;
d->validationInfo = 0L;
- TQWidget::setFocusPolicy( TQ_StrongFocus );
+ TQWidget::setFocusPolicy( TQWidget::StrongFocus );
d->dragStart = TQPoint( -1, -1 );
d->dragging = false;
diff --git a/kspread/kspread_view.cpp b/kspread/kspread_view.cpp
index 5561bb73..21420e12 100644
--- a/kspread/kspread_view.cpp
+++ b/kspread/kspread_view.cpp
@@ -1960,7 +1960,7 @@ void View::initView()
// The line-editor that appears above the sheet and allows to
// edit the cells content. It knows about the two buttons.
d->editWidget = new EditWidget( d->toolWidget, d->canvas, d->cancelButton, d->okButton );
- d->editWidget->setFocusPolicy( TQ_StrongFocus );
+ d->editWidget->setFocusPolicy( TQWidget::StrongFocus );
d->formulaBarLayout->addWidget( d->editWidget, 2 );
d->formulaBarLayout->addSpacing( 2 );
@@ -1971,8 +1971,8 @@ void View::initView()
d->hBorderWidget->setSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Minimum );
d->vBorderWidget->setSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Expanding );
- d->canvas->setFocusPolicy( TQ_StrongFocus );
- TQWidget::setFocusPolicy( TQ_StrongFocus );
+ d->canvas->setFocusPolicy( TQWidget::StrongFocus );
+ TQWidget::setFocusPolicy( TQWidget::StrongFocus );
setFocusProxy( d->canvas );
connect( this, TQT_SIGNAL( invalidated() ), d->canvas, TQT_SLOT( update() ) );
diff --git a/kspread/plugins/calculator/kcalc.cpp b/kspread/plugins/calculator/kcalc.cpp
index d7c0ce76..e0eb620a 100644
--- a/kspread/plugins/calculator/kcalc.cpp
+++ b/kspread/plugins/calculator/kcalc.cpp
@@ -82,7 +82,7 @@ TQtCalculator :: TQtCalculator( Calculator *_corba, TQWidget *parent, const char
calc_display->setFrameStyle( TQFrame::WinPanel | TQFrame::Sunken );
calc_display->setAlignment( AlignRight|AlignVCenter );
calc_display->setFocus();
- calc_display->setFocusPolicy( TQ_StrongFocus );
+ calc_display->setFocusPolicy( TQWidget::StrongFocus );
connect(calc_display,TQT_SIGNAL(clicked()),this,TQT_SLOT(display_selected()));