summaryrefslogtreecommitdiffstats
path: root/kspy/receiversview.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
commit4ae0c208b66e0f7954e194384464fe2d0a2c56dd (patch)
treeb0a7cd1c184f0003c0292eb416ed27f674f9cc43 /kspy/receiversview.cpp
parent1964ea0fb4ab57493ca2ebb709c8d3b5395fd653 (diff)
downloadtdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.tar.gz
tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kspy/receiversview.cpp')
-rw-r--r--kspy/receiversview.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/kspy/receiversview.cpp b/kspy/receiversview.cpp
index e1da1127..36582640 100644
--- a/kspy/receiversview.cpp
+++ b/kspy/receiversview.cpp
@@ -15,23 +15,23 @@
* *
***************************************************************************/
-#include <qobjectdict.h>
-#include <qobjectlist.h>
-#include <qmetaobject.h>
-#include <qstrlist.h>
-#include <qvariant.h>
-#include <qsignalslotimp.h>
+#include <tqobjectdict.h>
+#include <tqobjectlist.h>
+#include <tqmetaobject.h>
+#include <tqstrlist.h>
+#include <tqvariant.h>
+#include <tqsignalslotimp.h>
#include <klocale.h>
#include "receiversview.h"
-class UnencapsulatedQObject : public QObject {
+class UnencapsulatedQObject : public TQObject {
public:
- QConnectionList *public_receivers(int signal) const { return receivers(signal); }
+ TQConnectionList *public_receivers(int signal) const { return receivers(signal); }
};
-ReceiversView::ReceiversView(QWidget *parent, const char *name ) : KListView(parent,name)
+ReceiversView::ReceiversView(TQWidget *parent, const char *name ) : KListView(parent,name)
{
addColumn( i18n( "Object" ) );
addColumn( i18n( "Type" ) );
@@ -46,19 +46,19 @@ ReceiversView::~ReceiversView()
{
}
-void ReceiversView::buildList( QObject *o )
+void ReceiversView::buildList( TQObject *o )
{
- QMetaObject *mo = o->metaObject();
+ TQMetaObject *mo = o->metaObject();
UnencapsulatedQObject * qobject = (UnencapsulatedQObject *) o;
- QStrList signalNames = mo->signalNames(true);
+ TQStrList signalNames = mo->signalNames(true);
for (int sig = 0; sig < mo->numSignals(true); sig++) {
- QConnectionList * clist = qobject->public_receivers(sig);
+ TQConnectionList * clist = qobject->public_receivers(sig);
if (clist != 0) {
KListViewItem *conn = new KListViewItem( this, signalNames.at(sig) );
- for ( QConnection * connection = clist->first();
+ for ( TQConnection * connection = clist->first();
connection != 0;
connection = clist->next() )
{
@@ -71,7 +71,7 @@ void ReceiversView::buildList( QObject *o )
}
}
-void ReceiversView::setTarget( QObject *o )
+void ReceiversView::setTarget( TQObject *o )
{
clear();
buildList( o );