summaryrefslogtreecommitdiffstats
path: root/knode
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:54:01 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-04 10:33:10 +0900
commit91d0481e3bd0d37fa1a746b117fe04fff8221164 (patch)
tree07b9c448d5a66a07bd1ee71bd838373044c3d3a5 /knode
parentc5f2c57c55beb8d9ac2b5596bb7d75601ed9d2af (diff)
downloadtdepim-91d0481e3bd0d37fa1a746b117fe04fff8221164.tar.gz
tdepim-91d0481e3bd0d37fa1a746b117fe04fff8221164.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 84129a6fadb049acceb743bd6cf1dea0c513522a)
Diffstat (limited to 'knode')
-rw-r--r--knode/articlewidget.cpp4
-rw-r--r--knode/knode_part.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/knode/articlewidget.cpp b/knode/articlewidget.cpp
index 1b5b3b9a3..73b755141 100644
--- a/knode/articlewidget.cpp
+++ b/knode/articlewidget.cpp
@@ -98,13 +98,13 @@ ArticleWidget::ArticleWidget( TQWidget *parent,
TQHBoxLayout *box = new TQHBoxLayout( this );
mViewer = new TDEHTMLPart( this, "mViewer" );
box->addWidget( mViewer->widget() );
- mViewer->widget()->setFocusPolicy( TQ_WheelFocus );
+ mViewer->widget()->setFocusPolicy( TQWidget::WheelFocus );
mViewer->setPluginsEnabled( false );
mViewer->setJScriptEnabled( false );
mViewer->setJavaEnabled( false );
mViewer->setMetaRefreshEnabled( false );
mViewer->setOnlyLocalReferences( true );
- mViewer->view()->setFocusPolicy( TQ_WheelFocus );
+ mViewer->view()->setFocusPolicy( TQWidget::WheelFocus );
connect( mViewer->browserExtension(), TQT_SIGNAL(openURLRequestDelayed(const KURL&, const KParts::URLArgs&)),
TQT_SLOT(slotURLClicked(const KURL&)) );
connect( mViewer, TQT_SIGNAL(popupMenu(const TQString&, const TQPoint&)),
diff --git a/knode/knode_part.cpp b/knode/knode_part.cpp
index c5169a5b3..028a267d3 100644
--- a/knode/knode_part.cpp
+++ b/knode/knode_part.cpp
@@ -68,13 +68,13 @@ KNodePart::KNodePart(TQWidget *parentWidget, const char *widgetName,
// create a canvas to insert our widget
TQWidget *canvas = new TQWidget(parentWidget, widgetName);
- canvas->setFocusPolicy(TQ_ClickFocus);
+ canvas->setFocusPolicy(TQWidget::ClickFocus);
setWidget(canvas);
mainWidget = new KNMainWidget( this, false, canvas, "knode_widget" );
TQVBoxLayout *topLayout = new TQVBoxLayout(canvas);
topLayout->addWidget(mainWidget);
- mainWidget->setFocusPolicy(TQ_ClickFocus);
+ mainWidget->setFocusPolicy(TQWidget::ClickFocus);
kapp->dcopClient()->resume(); // Ok. We are ready for DCOP requests.