diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 04:12:51 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 04:12:51 +0000 |
commit | 560378aaca1784ba19806a0414a32b20c744de39 (patch) | |
tree | ce0dfd7c3febf2a1adc7603d1019a8be2083c415 /kdecore/kconfigskeleton.cpp | |
parent | d4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff) | |
download | tdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip |
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/kconfigskeleton.cpp')
-rw-r--r-- | kdecore/kconfigskeleton.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/kdecore/kconfigskeleton.cpp b/kdecore/kconfigskeleton.cpp index 9e6070d6a..3e0f220b6 100644 --- a/kdecore/kconfigskeleton.cpp +++ b/kdecore/kconfigskeleton.cpp @@ -223,8 +223,8 @@ void KConfigSkeleton::ItemInt::setMaxValue(int v) KConfigSkeleton::ItemInt64::ItemInt64( const TQString &group, const TQString &key, - Q_INT64 &reference, Q_INT64 defaultValue ) - : KConfigSkeletonGenericItem<Q_INT64>( group, key, reference, defaultValue ) + TQ_INT64 &reference, TQ_INT64 defaultValue ) + : KConfigSkeletonGenericItem<TQ_INT64>( group, key, reference, defaultValue ) ,mHasMin(false), mHasMax(false) { } @@ -266,13 +266,13 @@ TQVariant KConfigSkeleton::ItemInt64::maxValue() const return TQVariant(); } -void KConfigSkeleton::ItemInt64::setMinValue(Q_INT64 v) +void KConfigSkeleton::ItemInt64::setMinValue(TQ_INT64 v) { mHasMin = true; mMin = v; } -void KConfigSkeleton::ItemInt64::setMaxValue(Q_INT64 v) +void KConfigSkeleton::ItemInt64::setMaxValue(TQ_INT64 v) { mHasMax = true; mMax = v; @@ -394,8 +394,8 @@ void KConfigSkeleton::ItemUInt::setMaxValue(unsigned int v) KConfigSkeleton::ItemUInt64::ItemUInt64( const TQString &group, const TQString &key, - Q_UINT64 &reference, Q_UINT64 defaultValue ) - : KConfigSkeletonGenericItem<Q_UINT64>( group, key, reference, defaultValue ) + TQ_UINT64 &reference, TQ_UINT64 defaultValue ) + : KConfigSkeletonGenericItem<TQ_UINT64>( group, key, reference, defaultValue ) ,mHasMin(false), mHasMax(false) { } @@ -437,13 +437,13 @@ TQVariant KConfigSkeleton::ItemUInt64::maxValue() const return TQVariant(); } -void KConfigSkeleton::ItemUInt64::setMinValue(Q_UINT64 v) +void KConfigSkeleton::ItemUInt64::setMinValue(TQ_UINT64 v) { mHasMin = true; mMin = v; } -void KConfigSkeleton::ItemUInt64::setMaxValue(Q_UINT64 v) +void KConfigSkeleton::ItemUInt64::setMaxValue(TQ_UINT64 v) { mHasMax = true; mMax = v; @@ -1065,8 +1065,8 @@ KConfigSkeleton::ItemUInt *KConfigSkeleton::addItemUInt( const TQString &name, u return item; } -KConfigSkeleton::ItemInt64 *KConfigSkeleton::addItemInt64( const TQString &name, Q_INT64 &reference, - Q_INT64 defaultValue, const TQString &key ) +KConfigSkeleton::ItemInt64 *KConfigSkeleton::addItemInt64( const TQString &name, TQ_INT64 &reference, + TQ_INT64 defaultValue, const TQString &key ) { KConfigSkeleton::ItemInt64 *item; item = new KConfigSkeleton::ItemInt64( mCurrentGroup, key.isNull() ? name : key, @@ -1075,8 +1075,8 @@ KConfigSkeleton::ItemInt64 *KConfigSkeleton::addItemInt64( const TQString &name, return item; } -KConfigSkeleton::ItemUInt64 *KConfigSkeleton::addItemUInt64( const TQString &name, Q_UINT64 &reference, - Q_UINT64 defaultValue, const TQString &key ) +KConfigSkeleton::ItemUInt64 *KConfigSkeleton::addItemUInt64( const TQString &name, TQ_UINT64 &reference, + TQ_UINT64 defaultValue, const TQString &key ) { KConfigSkeleton::ItemUInt64 *item; item = new KConfigSkeleton::ItemUInt64( mCurrentGroup, key.isNull() ? name : key, @@ -1197,11 +1197,11 @@ KConfigSkeleton::ItemIntList *KConfigSkeleton::addItemIntList( const TQString &n bool KConfigSkeleton::isImmutable(const TQString &name) { - KConfigSkeletonItem *item = findItem(name); + KConfigSkeletonItem *item = tqfindItem(name); return !item || item->isImmutable(); } -KConfigSkeletonItem *KConfigSkeleton::findItem(const TQString &name) +KConfigSkeletonItem *KConfigSkeleton::tqfindItem(const TQString &name) { - return mItemDict.find(name); + return mItemDict.tqfind(name); } |