diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-12 01:36:19 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-12 01:36:19 +0000 |
commit | 99a2774ca6f1cab334de5d43fe36fc44ae889a4c (patch) | |
tree | eff34cf0762227f6baf2a93e8fef48d4bed2651c /kspy/receiversview.cpp | |
parent | 1c104292188541106338d4940b0f04beeb4301a0 (diff) | |
download | tdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.tar.gz tdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.zip |
TQt4 convert kdesdk
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1236185 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kspy/receiversview.cpp')
-rw-r--r-- | kspy/receiversview.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kspy/receiversview.cpp b/kspy/receiversview.cpp index 36582640..2b04303a 100644 --- a/kspy/receiversview.cpp +++ b/kspy/receiversview.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - receiversview.cpp - description + tqreceiversview.cpp - description ------------------- begin : Tue Jan 11 2005 copyright : (C) 2005 by Richard Dale @@ -26,12 +26,12 @@ #include "receiversview.h" -class UnencapsulatedQObject : public TQObject { +class UnencapsulatedTQObject : public TQObject { public: - TQConnectionList *public_receivers(int signal) const { return receivers(signal); } + TQConnectionList *public_tqreceivers(int signal) const { return tqreceivers(signal); } }; -ReceiversView::ReceiversView(TQWidget *parent, const char *name ) : KListView(parent,name) +ReceiversView::ReceiversView(TQWidget *tqparent, const char *name ) : KListView(tqparent,name) { addColumn( i18n( "Object" ) ); addColumn( i18n( "Type" ) ); @@ -48,13 +48,13 @@ ReceiversView::~ReceiversView() void ReceiversView::buildList( TQObject *o ) { - TQMetaObject *mo = o->metaObject(); + TQMetaObject *mo = o->tqmetaObject(); - UnencapsulatedQObject * qobject = (UnencapsulatedQObject *) o; + UnencapsulatedTQObject * qobject = (UnencapsulatedTQObject *) o; TQStrList signalNames = mo->signalNames(true); for (int sig = 0; sig < mo->numSignals(true); sig++) { - TQConnectionList * clist = qobject->public_receivers(sig); + TQConnectionList * clist = qobject->public_tqreceivers(sig); if (clist != 0) { KListViewItem *conn = new KListViewItem( this, signalNames.at(sig) ); |