summaryrefslogtreecommitdiffstats
path: root/kdecore/kconfigbase.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-10 01:35:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-10 01:35:50 +0000
commit5e49bbb1e8d7761d1c8cdff83184035f59dd5abe (patch)
treefa1382c6347c96905232e51b2acf949b148c68fc /kdecore/kconfigbase.cpp
parentfe082a00283cee09d8529449e86d21a45d80a671 (diff)
downloadtdelibs-5e49bbb1e8d7761d1c8cdff83184035f59dd5abe.tar.gz
tdelibs-5e49bbb1e8d7761d1c8cdff83184035f59dd5abe.zip
Additional fixes
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1161223 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/kconfigbase.cpp')
-rw-r--r--kdecore/kconfigbase.cpp48
1 files changed, 48 insertions, 0 deletions
diff --git a/kdecore/kconfigbase.cpp b/kdecore/kconfigbase.cpp
index 771e9b643..56f5292ae 100644
--- a/kdecore/kconfigbase.cpp
+++ b/kdecore/kconfigbase.cpp
@@ -421,10 +421,34 @@ TQVariant KConfigBase::readPropertyEntry( const char *pKey,
case TQVariant::Cursor:
case TQVariant::SizePolicy:
case TQVariant::Time:
+#ifdef USE_QT3
case TQVariant::ByteArray:
+#endif // USE_QT3
case TQVariant::BitArray:
case TQVariant::KeySequence:
case TQVariant::Pen:
+#ifdef USE_QT4
+ case TQVariant::Char:
+ case TQVariant::Url:
+ case TQVariant::Locale:
+ case TQVariant::RectF:
+ case TQVariant::SizeF:
+ case TQVariant::Line:
+ case TQVariant::LineF:
+ case TQVariant::PointF:
+ case TQVariant::RegExp:
+ case TQVariant::Hash:
+ case TQVariant::TextLength:
+ case TQVariant::TextFormat:
+ case TQVariant::Matrix:
+ case TQVariant::Transform:
+ case TQVariant::Matrix4x4:
+ case TQVariant::Vector2D:
+ case TQVariant::Vector3D:
+ case TQVariant::Vector4D:
+ case TQVariant::Quaternion:
+ case TQVariant::UserType:
+#endif // USE_QT4
break;
}
@@ -1313,10 +1337,34 @@ void KConfigBase::writeEntry ( const char *pKey, const TQVariant &prop,
case TQVariant::Cursor:
case TQVariant::SizePolicy:
case TQVariant::Time:
+#ifdef USE_QT3
case TQVariant::ByteArray:
+#endif // USE_QT3
case TQVariant::BitArray:
case TQVariant::KeySequence:
case TQVariant::Pen:
+#ifdef USE_QT4
+ case TQVariant::Char:
+ case TQVariant::Url:
+ case TQVariant::Locale:
+ case TQVariant::RectF:
+ case TQVariant::SizeF:
+ case TQVariant::Line:
+ case TQVariant::LineF:
+ case TQVariant::PointF:
+ case TQVariant::RegExp:
+ case TQVariant::Hash:
+ case TQVariant::TextLength:
+ case TQVariant::TextFormat:
+ case TQVariant::Matrix:
+ case TQVariant::Transform:
+ case TQVariant::Matrix4x4:
+ case TQVariant::Vector2D:
+ case TQVariant::Vector3D:
+ case TQVariant::Vector4D:
+ case TQVariant::Quaternion:
+ case TQVariant::UserType:
+#endif // USE_QT4
break;
}