summaryrefslogtreecommitdiffstats
path: root/kspy
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:35:10 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:35:10 -0600
commit1dd83e5f38d1c16d3e6da18d0caca0ee093ab58f (patch)
tree11037eed53e1cd90dad4e194f9dea542ad28607f /kspy
parent3b34e5cf56262c9f54a3bcf02ee5ad93ca0fb05b (diff)
downloadtdesdk-1dd83e5f38d1c16d3e6da18d0caca0ee093ab58f.zip
tdesdk-1dd83e5f38d1c16d3e6da18d0caca0ee093ab58f.tar.gz
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kspy')
-rw-r--r--kspy/classinfoview.cpp2
-rw-r--r--kspy/propsview.cpp8
-rw-r--r--kspy/receiversview.cpp2
-rw-r--r--kspy/sigslotview.cpp2
4 files changed, 7 insertions, 7 deletions
diff --git a/kspy/classinfoview.cpp b/kspy/classinfoview.cpp
index 0fa16c8..87f018b 100644
--- a/kspy/classinfoview.cpp
+++ b/kspy/classinfoview.cpp
@@ -41,7 +41,7 @@ ClassInfoView::~ClassInfoView()
void ClassInfoView::buildList( TQObject *o )
{
- TQMetaObject *mo = o->tqmetaObject();
+ TQMetaObject *mo = o->metaObject();
for (int index = 0; index < mo->numClassInfo(true); index++) {
const TQClassInfo * classInfo = mo->classInfo(index, true);
diff --git a/kspy/propsview.cpp b/kspy/propsview.cpp
index 93747c2..a432f17 100644
--- a/kspy/propsview.cpp
+++ b/kspy/propsview.cpp
@@ -69,7 +69,7 @@ PropsView::~PropsView()
void PropsView::buildList( TQObject *o )
{
- TQMetaObject *mo = o->tqmetaObject();
+ TQMetaObject *mo = o->metaObject();
TQStrList names = mo->propertyNames( true );
for ( uint i = 0; i < names.count(); i++ ) {
@@ -115,11 +115,11 @@ void PropsView::buildList( TQObject *o )
val.setNum( v.toInt() );
if (mp->isEnumType()) {
#ifdef USE_QT4
-// TQMetaObject * tqmetaObject = *(mp->meta); // FIXME
+// TQMetaObject * metaObject = *(mp->meta); // FIXME
val = TQString("%1::%2").tqarg("QT4_CANNOT_FIND_TQMETAOBJECT_FOR_TQMETAPROPERTY").tqarg(mp->valueToKey(val.toInt())); // FIXME
#else // USE_QT4
- TQMetaObject * tqmetaObject = *(mp->meta);
- val = TQString("%1::%2").tqarg(tqmetaObject->className()).tqarg(mp->valueToKey(val.toInt()));
+ TQMetaObject * metaObject = *(mp->meta);
+ val = TQString("%1::%2").tqarg(metaObject->className()).tqarg(mp->valueToKey(val.toInt()));
#endif // USE_QT4
}
break;
diff --git a/kspy/receiversview.cpp b/kspy/receiversview.cpp
index 36e06e6..0ad6f4c 100644
--- a/kspy/receiversview.cpp
+++ b/kspy/receiversview.cpp
@@ -48,7 +48,7 @@ ReceiversView::~ReceiversView()
void ReceiversView::buildList( TQObject *o )
{
- TQMetaObject *mo = o->tqmetaObject();
+ TQMetaObject *mo = o->metaObject();
UnencapsulatedTQObject * qobject = (UnencapsulatedTQObject *) o;
TQStrList signalNames = mo->signalNames(true);
diff --git a/kspy/sigslotview.cpp b/kspy/sigslotview.cpp
index 97d024f..d6fdba2 100644
--- a/kspy/sigslotview.cpp
+++ b/kspy/sigslotview.cpp
@@ -40,7 +40,7 @@ SigSlotView::~SigSlotView()
void SigSlotView::buildList( TQObject *o )
{
- TQMetaObject *mo = o->tqmetaObject();
+ TQMetaObject *mo = o->metaObject();
KListViewItem *sigs = new KListViewItem( this, "Signals" );
TQStrList sigList = mo->signalNames( true );