From 4ae0c208b66e0f7954e194384464fe2d0a2c56dd Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:51:49 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kspy/sigslotview.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'kspy/sigslotview.cpp') diff --git a/kspy/sigslotview.cpp b/kspy/sigslotview.cpp index 2e04cfa7..d6fdba24 100644 --- a/kspy/sigslotview.cpp +++ b/kspy/sigslotview.cpp @@ -15,17 +15,17 @@ * * ***************************************************************************/ -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include #include #include "sigslotview.h" -SigSlotView::SigSlotView(QWidget *parent, const char *name ) : KListView(parent,name) +SigSlotView::SigSlotView(TQWidget *parent, const char *name ) : KListView(parent,name) { addColumn( i18n( "Signals/Slots" ) ); @@ -38,13 +38,13 @@ SigSlotView::~SigSlotView() { } -void SigSlotView::buildList( QObject *o ) +void SigSlotView::buildList( TQObject *o ) { - QMetaObject *mo = o->metaObject(); + TQMetaObject *mo = o->metaObject(); KListViewItem *sigs = new KListViewItem( this, "Signals" ); - QStrList sigList = mo->signalNames( true ); - QStrListIterator sigIt( sigList ); + TQStrList sigList = mo->signalNames( true ); + TQStrListIterator sigIt( sigList ); char *si; while ( (si=sigIt.current()) != 0 ) { ++sigIt; @@ -52,8 +52,8 @@ void SigSlotView::buildList( QObject *o ) } KListViewItem *slts = new KListViewItem( this, "Slots" ); - QStrList sltList = mo->slotNames( true ); - QStrListIterator sltIt( sltList ); + TQStrList sltList = mo->slotNames( true ); + TQStrListIterator sltIt( sltList ); char *sl; while ( (sl=sltIt.current()) != 0 ) { ++sltIt; @@ -64,7 +64,7 @@ void SigSlotView::buildList( QObject *o ) setOpen( slts, false ); } -void SigSlotView::setTarget( QObject *o ) +void SigSlotView::setTarget( TQObject *o ) { clear(); buildList( o ); -- cgit v1.2.1