summaryrefslogtreecommitdiffstats
path: root/kcontrol/screensaver/kswidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/screensaver/kswidget.cpp')
-rw-r--r--kcontrol/screensaver/kswidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kcontrol/screensaver/kswidget.cpp b/kcontrol/screensaver/kswidget.cpp
index d13d131dc..66ba882d0 100644
--- a/kcontrol/screensaver/kswidget.cpp
+++ b/kcontrol/screensaver/kswidget.cpp
@@ -8,7 +8,7 @@
#endif
KSWidget::KSWidget( TQWidget* parent, const char* name, int f )
- : QXEmbed( parent, name, f ), colormap( None )
+ : QXEmbed( parent, name, (WFlags)f ), colormap( None )
{
// use visual with support for double-buffering, for opengl
// this code is duplicated in kdebase/kdesktop/lock/
@@ -54,7 +54,7 @@ KSWidget::KSWidget( TQWidget* parent, const char* name, int f )
}
}
}
- Window w = XCreateWindow( x11Display(), parentWidget() ? parentWidget()->winId() : RootWindow( x11Display(), x11Screen()),
+ Window w = XCreateWindow( x11Display(), tqparentWidget() ? tqparentWidget()->winId() : RootWindow( x11Display(), x11Screen()),
x(), y(), width(), height(), 0, x11Depth(), InputOutput, visual, flags, &attrs );
create( w );
#endif