summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kopete/libkopete/avdevice/qvideostream.cpp2
-rw-r--r--kpf/src/AppletItem.cpp4
-rw-r--r--ksirc/ahistlineedit.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/kopete/libkopete/avdevice/qvideostream.cpp b/kopete/libkopete/avdevice/qvideostream.cpp
index b1f821c9..63de80c8 100644
--- a/kopete/libkopete/avdevice/qvideostream.cpp
+++ b/kopete/libkopete/avdevice/qvideostream.cpp
@@ -563,7 +563,7 @@ bool QVideoStreamGLWidget::eventFilter(TQObject*, TQEvent* e)
// For some reason, KeyPress does not work (yields 2), TQEvent::KeyPress is unknown... What the f...????
// I am too lazy to scan the header files for the reason.
if(e->type() == 6) {
- TQKeyEvent* ke = TQT_TQKEYEVENT(e);
+ TQKeyEvent* ke = static_cast<TQKeyEvent*>(e);
if(ke->key() == TQt::Key_Pause) {
_glfunTimer->start(500, true);
} else if (_glfunTimer->isActive() && (ke->key() == TQt::Key_Escape)) {
diff --git a/kpf/src/AppletItem.cpp b/kpf/src/AppletItem.cpp
index 3a3b9021..e066200f 100644
--- a/kpf/src/AppletItem.cpp
+++ b/kpf/src/AppletItem.cpp
@@ -123,7 +123,7 @@ namespace KPF
case TQEvent::MouseButtonRelease:
{
- TQMouseEvent * e = TQT_TQMOUSEEVENT(ev);
+ TQMouseEvent * e = static_cast<TQMouseEvent*>(ev);
if (0 == e)
{
@@ -159,7 +159,7 @@ namespace KPF
case TQEvent::MouseButtonPress:
{
- TQMouseEvent * e = TQT_TQMOUSEEVENT(ev);
+ TQMouseEvent * e = static_cast<TQMouseEvent*>(ev);
if (0 == e)
{
diff --git a/ksirc/ahistlineedit.cpp b/ksirc/ahistlineedit.cpp
index 0e0be1c6..6f3b038e 100644
--- a/ksirc/ahistlineedit.cpp
+++ b/ksirc/ahistlineedit.cpp
@@ -363,7 +363,7 @@ void aHistLineEdit::mousePressEvent ( TQMouseEvent *e )
bool aHistLineEdit::eventFilter( TQObject *o, TQEvent *e )
{
if ( o == this && e->type() == TQEvent::AccelOverride )
- if(processKeyEvent( TQT_TQKEYEVENT( e ) ) == true)
+ if(processKeyEvent( static_cast<TQKeyEvent*>( e ) ) == true)
return true;
return TQTextEdit::eventFilter( o, e );