diff options
Diffstat (limited to 'knode/knode_part.cpp')
-rw-r--r-- | knode/knode_part.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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. |