summaryrefslogtreecommitdiffstats
path: root/kspy
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-25 18:15:15 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-31 09:47:02 +0900
commit4a1cc838f1df08deb28074f7c161e7b59ac3f3a5 (patch)
tree1d6344c2c2454e32a8f76cc761d812ea9794e503 /kspy
parent3c1e2ceb3aac4f825a4774f05dc7316ac85b92f2 (diff)
downloadtdesdk-4a1cc838f1df08deb28074f7c161e7b59ac3f3a5.tar.gz
tdesdk-4a1cc838f1df08deb28074f7c161e7b59ac3f3a5.zip
Drop USE_TQT4 code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 0fc9d37b2bd1bd32f3b975af0859e9dd248dc57b)
Diffstat (limited to 'kspy')
-rw-r--r--kspy/propsview.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/kspy/propsview.cpp b/kspy/propsview.cpp
index 2b625c6a..12beae7b 100644
--- a/kspy/propsview.cpp
+++ b/kspy/propsview.cpp
@@ -114,13 +114,8 @@ void PropsView::buildList( TQObject *o )
case TQVariant::Int:
val.setNum( v.toInt() );
if (mp->isEnumType()) {
-#ifdef USE_QT4
-// TQMetaObject * metaObject = *(mp->meta); // FIXME
- val = TQString("%1::%2").arg("QT4_CANNOT_FIND_TQMETAOBJECT_FOR_TQMETAPROPERTY").arg(mp->valueToKey(val.toInt())); // FIXME
-#else // USE_QT4
TQMetaObject * metaObject = *(mp->meta);
val = TQString("%1::%2").arg(metaObject->className()).arg(mp->valueToKey(val.toInt()));
-#endif // USE_QT4
}
break;
case TQVariant::Point: