summaryrefslogtreecommitdiffstats
path: root/klaptopdaemon/xautolock.cc
diff options
context:
space:
mode:
Diffstat (limited to 'klaptopdaemon/xautolock.cc')
-rw-r--r--klaptopdaemon/xautolock.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/klaptopdaemon/xautolock.cc b/klaptopdaemon/xautolock.cc
index 4f856e1..630b175 100644
--- a/klaptopdaemon/xautolock.cc
+++ b/klaptopdaemon/xautolock.cc
@@ -165,7 +165,7 @@ void XAutoLock::setTrigger( time_t t )
//
// Process new windows and check the mouse.
//
-void XAutoLock::timerEvent(QTimerEvent *ev)
+void XAutoLock::timerEvent(TQTimerEvent *ev)
{
if (ev->timerId() != mTimerId)
{
@@ -246,14 +246,14 @@ bool XAutoLock::x11Event( XEvent* ev )
// don't futher process key events that were received only because XAutoLock wants them
if( ev->type == KeyPress && !ev->xkey.send_event
&& !xautolock_useXidle && !xautolock_useMit
- && !QWidget::find( ev->xkey.window ))
+ && !TQWidget::find( ev->xkey.window ))
return true;
return false;
}
bool XAutoLock::ignoreWindow( WId w )
{
- if( w != qt_xrootwin() && QWidget::find( w ))
+ if( w != qt_xrootwin() && TQWidget::find( w ))
return true;
return false;
}