diff options
author | Michele Calgaro <[email protected]> | 2023-09-02 15:54:01 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-09-04 10:33:10 +0900 |
commit | 91d0481e3bd0d37fa1a746b117fe04fff8221164 (patch) | |
tree | 07b9c448d5a66a07bd1ee71bd838373044c3d3a5 /kaddressbook | |
parent | c5f2c57c55beb8d9ac2b5596bb7d75601ed9d2af (diff) | |
download | tdepim-91d0481e3bd0d37fa1a746b117fe04fff8221164.tar.gz tdepim-91d0481e3bd0d37fa1a746b117fe04fff8221164.zip |
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 84129a6fadb049acceb743bd6cf1dea0c513522a)
Diffstat (limited to 'kaddressbook')
-rw-r--r-- | kaddressbook/kaddressbook_part.cpp | 2 | ||||
-rw-r--r-- | kaddressbook/views/cardview.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kaddressbook/kaddressbook_part.cpp b/kaddressbook/kaddressbook_part.cpp index 566ffd713..ec815ff67 100644 --- a/kaddressbook/kaddressbook_part.cpp +++ b/kaddressbook/kaddressbook_part.cpp @@ -51,7 +51,7 @@ KAddressbookPart::KAddressbookPart( TQWidget *parentWidget, const char *widgetNa // create a canvas to insert our widget TQWidget *canvas = new TQWidget( parentWidget, widgetName ); - canvas->setFocusPolicy( TQ_ClickFocus ); + canvas->setFocusPolicy( TQWidget::ClickFocus ); setWidget( canvas ); TQVBoxLayout *topLayout = new TQVBoxLayout( canvas ); diff --git a/kaddressbook/views/cardview.cpp b/kaddressbook/views/cardview.cpp index 9b1ef52a6..ecff84143 100644 --- a/kaddressbook/views/cardview.cpp +++ b/kaddressbook/views/cardview.cpp @@ -587,7 +587,7 @@ CardView::CardView( TQWidget *parent, const char *name ) viewport()->setMouseTracking( true ); viewport()->setFocusProxy( this ); - viewport()->setFocusPolicy(TQ_WheelFocus ); + viewport()->setFocusPolicy(TQWidget::WheelFocus ); viewport()->setBackgroundMode( PaletteBase ); connect( d->mTimer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( tryShowFullText() ) ); |