summaryrefslogtreecommitdiffstats
path: root/kmail/kmail_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmail_part.cpp')
-rw-r--r--kmail/kmail_part.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kmail/kmail_part.cpp b/kmail/kmail_part.cpp
index 4d6654224..79eb175c7 100644
--- a/kmail/kmail_part.cpp
+++ b/kmail/kmail_part.cpp
@@ -99,7 +99,7 @@ KMailPart::KMailPart(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);
TDEGlobal::iconLoader()->addAppDir("kmail");
#if 0
@@ -124,7 +124,7 @@ KMailPart::KMailPart(TQWidget *parentWidget, const char *widgetName,
kapp->config());
TQVBoxLayout *topLayout = new TQVBoxLayout(canvas);
topLayout->addWidget(mainWidget);
- mainWidget->setFocusPolicy(TQ_ClickFocus);
+ mainWidget->setFocusPolicy(TQWidget::ClickFocus);
mStatusBar = new KMailStatusBarExtension(this);
mStatusBar->addStatusBarItem( mainWidget->vacationScriptIndicator(), 2, false );