summaryrefslogtreecommitdiffstats
path: root/kspy/classinfoview.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
commit99a2774ca6f1cab334de5d43fe36fc44ae889a4c (patch)
treeeff34cf0762227f6baf2a93e8fef48d4bed2651c /kspy/classinfoview.cpp
parent1c104292188541106338d4940b0f04beeb4301a0 (diff)
downloadtdesdk-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/classinfoview.cpp')
-rw-r--r--kspy/classinfoview.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kspy/classinfoview.cpp b/kspy/classinfoview.cpp
index b8b12167..02de2773 100644
--- a/kspy/classinfoview.cpp
+++ b/kspy/classinfoview.cpp
@@ -25,7 +25,7 @@
#include "classinfoview.h"
-ClassInfoView::ClassInfoView(TQWidget *parent, const char *name ) : KListView(parent,name)
+ClassInfoView::ClassInfoView(TQWidget *tqparent, const char *name ) : KListView(tqparent,name)
{
addColumn( i18n( "Name" ) );
addColumn( i18n( "Value" ) );
@@ -41,11 +41,11 @@ ClassInfoView::~ClassInfoView()
void ClassInfoView::buildList( TQObject *o )
{
- TQMetaObject *mo = o->metaObject();
+ TQMetaObject *mo = o->tqmetaObject();
for (int index = 0; index < mo->numClassInfo(true); index++) {
- const QClassInfo * classInfo = mo->classInfo(index, true);
- new KListViewItem( this, classInfo->name, classInfo->value );
+ const TQClassInfo * classInfo = mo->classInfo(index, true);
+ new KListViewItem( this, classInfo->tqt_mo_ci_name, classInfo->tqt_mo_ci_value );
}
}