summaryrefslogtreecommitdiffstats
path: root/kspy/spy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kspy/spy.cpp')
-rw-r--r--kspy/spy.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kspy/spy.cpp b/kspy/spy.cpp
index 3aa18be4..6607e484 100644
--- a/kspy/spy.cpp
+++ b/kspy/spy.cpp
@@ -44,13 +44,13 @@ extern "C"
}
}
-Spy::Spy( TQWidget *parent, const char *name )
- : TQWidget( parent, name )
+Spy::Spy( TQWidget *tqparent, const char *name )
+ : TQWidget( tqparent, name )
{
- TQVBoxLayout *layout = new TQVBoxLayout( this, 11, 6 );
+ TQVBoxLayout *tqlayout = new TQVBoxLayout( this, 11, 6 );
TQSplitter *div = new TQSplitter( this );
- layout->addWidget( div );
+ tqlayout->addWidget( div );
TQVBox *leftPane = new TQVBox( div );
@@ -66,7 +66,7 @@ Spy::Spy( TQWidget *parent, const char *name )
mSigSlotView = new SigSlotView( tabs, "signals and slots view" );
tabs->addTab( mSigSlotView, i18n( "Signals && Slots" ) );
- mReceiversView = new ReceiversView( tabs, "receivers view" );
+ mReceiversView = new ReceiversView( tabs, "tqreceivers view" );
tabs->addTab( mReceiversView, i18n( "Receivers" ) );
mClassInfoView = new ClassInfoView( tabs, "class info view" );
@@ -92,21 +92,21 @@ Spy::~Spy()
void Spy::setTarget( TQWidget *target )
{
mTarget = target;
- mPropsView->buildList( mTarget );
- mSigSlotView->buildList( mTarget );
- mReceiversView->buildList( mTarget );
- mClassInfoView->buildList( mTarget );
+ mPropsView->buildList( TQT_TQOBJECT(mTarget) );
+ mSigSlotView->buildList( TQT_TQOBJECT(mTarget) );
+ mReceiversView->buildList( TQT_TQOBJECT(mTarget) );
+ mClassInfoView->buildList( TQT_TQOBJECT(mTarget) );
}
void Spy::keyPressEvent( TQKeyEvent *event )
{
- if ( event->key() == Qt::Key_Up ) {
+ if ( event->key() == TQt::Key_Up ) {
event->accept();
- TQApplication::postEvent( mNavView, new TQKeyEvent( TQEvent::KeyPress, Qt::Key_Up, 0, 0 ) );
- } else if ( event->key() == Qt::Key_Down ) {
+ TQApplication::postEvent( mNavView, new TQKeyEvent( TQEvent::KeyPress, TQt::Key_Up, 0, 0 ) );
+ } else if ( event->key() == TQt::Key_Down ) {
event->accept();
- TQApplication::postEvent( mNavView, new TQKeyEvent( TQEvent::KeyPress, Qt::Key_Down, 0, 0 ) );
- } else if ( event->key() == Qt::Key_Return ) {
+ TQApplication::postEvent( mNavView, new TQKeyEvent( TQEvent::KeyPress, TQt::Key_Down, 0, 0 ) );
+ } else if ( event->key() == TQt::Key_Return ) {
event->accept();
mNavView->expandVisibleTree();
}