summaryrefslogtreecommitdiffstats
path: root/twin/clients/test/test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'twin/clients/test/test.cpp')
-rw-r--r--twin/clients/test/test.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/twin/clients/test/test.cpp b/twin/clients/test/test.cpp
index ebfb00df1..113254f98 100644
--- a/twin/clients/test/test.cpp
+++ b/twin/clients/test/test.cpp
@@ -22,9 +22,9 @@ void Decoration::init()
{
button = new TQPushButton( widget());
button->show();
- button->setCursor( tqarrowCursor );
+ button->setCursor( TQt::arrowCursor );
button->move( 0, 0 );
- connect( button, TQT_SIGNAL( clicked()), TQT_SLOT( closeWindow()));
+ connect( button, TQ_SIGNAL( clicked()), TQ_SLOT( closeWindow()));
TQToolTip::add( button, "Zelva Mana" );
}
}
@@ -106,7 +106,7 @@ bool Decoration::eventFilter( TQObject* o, TQEvent* e )
{
case TQEvent::MouseButtonPress:
{ // FRAME
- processMousePressEvent( TQT_TQMOUSEEVENT( e ));
+ processMousePressEvent( static_cast<TQMouseEvent*>( e ));
return true;
}
case TQEvent::Show:
@@ -333,7 +333,7 @@ bool Factory::reset( unsigned long changed )
extern "C"
{
-KDE_EXPORT KDecorationFactory *create_factory()
+TDE_EXPORT KDecorationFactory *create_factory()
{
return new KWinTest::Factory();
}