diff options
Diffstat (limited to 'kspy/navview.cpp')
-rw-r--r-- | kspy/navview.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kspy/navview.cpp b/kspy/navview.cpp index 8f6afc8e..338922d5 100644 --- a/kspy/navview.cpp +++ b/kspy/navview.cpp @@ -15,15 +15,15 @@ * * ***************************************************************************/ -#include <qobjectlist.h> -#include <qobjectdict.h> +#include <tqobjectlist.h> +#include <tqobjectdict.h> #include <klocale.h> #include "navview.h" #include "navviewitem.h" -NavView::NavView(QWidget *parent, const char *name ) : KListView(parent,name) +NavView::NavView(TQWidget *parent, const char *name ) : KListView(parent,name) { addColumn( i18n( "Name" ) ); addColumn( i18n( "Type" ) ); @@ -32,8 +32,8 @@ NavView::NavView(QWidget *parent, const char *name ) : KListView(parent,name) setAllColumnsShowFocus( true ); setFullWidth( true ); - connect( this, SIGNAL( selectionChanged( QListViewItem * ) ), - this, SLOT( selectItem( QListViewItem * ) ) ); + connect( this, TQT_SIGNAL( selectionChanged( TQListViewItem * ) ), + this, TQT_SLOT( selectItem( TQListViewItem * ) ) ); } NavView::~NavView(){ @@ -41,10 +41,10 @@ NavView::~NavView(){ void NavView::buildTree() { - const QObjectList *roots = QObject::objectTrees(); - QObjectListIt it( *roots ); + const TQObjectList *roots = TQObject::objectTrees(); + TQObjectListIt it( *roots ); - QObject * obj; + TQObject * obj; while ( (obj = it.current()) != 0 ) { ++it; NavViewItem *item = new NavViewItem( this, obj ); @@ -54,8 +54,8 @@ void NavView::buildTree() void NavView::expandVisibleTree() { - QListViewItemIterator it( this, QListViewItemIterator::Visible | - QListViewItemIterator::Expandable ); + TQListViewItemIterator it( this, TQListViewItemIterator::Visible | + TQListViewItemIterator::Expandable ); while ( it.current() ) { setOpen( *it, true ); @@ -63,7 +63,7 @@ void NavView::expandVisibleTree() } } -void NavView::selectItem( QListViewItem *item ) +void NavView::selectItem( TQListViewItem *item ) { NavViewItem *navItem = static_cast<NavViewItem*>( item ); @@ -72,12 +72,12 @@ void NavView::selectItem( QListViewItem *item ) void NavView::createSubTree( NavViewItem *parent ) { - const QObjectList *kids = parent->data->children(); + const TQObjectList *kids = parent->data->children(); if ( !kids ) return; - QObject * obj; - QObjectListIt it( *kids ); + TQObject * obj; + TQObjectListIt it( *kids ); while ( (obj=it.current()) != 0 ) { ++it; NavViewItem *item = new NavViewItem( parent, obj ); |