summaryrefslogtreecommitdiffstats
path: root/kspy/receiversview.cpp
diff options
context:
space:
mode:
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 );