diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:54:01 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:54:01 +0900 |
commit | 84129a6fadb049acceb743bd6cf1dea0c513522a (patch) | |
tree | 959a986f95c87092b1aefb8a0def491284409985 /knode | |
parent | 6e5a971f6ba86df21b9f6cfae07d7d4dac355806 (diff) | |
download | tdepim-84129a6fadb049acceb743bd6cf1dea0c513522a.tar.gz tdepim-84129a6fadb049acceb743bd6cf1dea0c513522a.zip |
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'knode')
-rw-r--r-- | knode/articlewidget.cpp | 4 | ||||
-rw-r--r-- | knode/knode_part.cpp | 4 |
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. |