diff options
Diffstat (limited to 'kdecore/kconfigskeleton.cpp')
-rw-r--r-- | kdecore/kconfigskeleton.cpp | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/kdecore/kconfigskeleton.cpp b/kdecore/kconfigskeleton.cpp index 9e6070d6a..58b889018 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; @@ -476,20 +476,20 @@ void KConfigSkeleton::ItemLong::setProperty(const TQVariant & p) TQVariant KConfigSkeleton::ItemLong::property() const { - return TQVariant((Q_LLONG) mReference); + return TQVariant((TQ_LLONG) mReference); } TQVariant KConfigSkeleton::ItemLong::minValue() const { if (mHasMin) - return TQVariant((Q_LLONG) mMin); + return TQVariant((TQ_LLONG) mMin); return TQVariant(); } TQVariant KConfigSkeleton::ItemLong::maxValue() const { if (mHasMax) - return TQVariant((Q_LLONG) mMax); + return TQVariant((TQ_LLONG) mMax); return TQVariant(); } @@ -534,20 +534,20 @@ void KConfigSkeleton::ItemULong::setProperty(const TQVariant & p) TQVariant KConfigSkeleton::ItemULong::property() const { - return TQVariant((Q_ULLONG) mReference); + return TQVariant((TQ_ULLONG) mReference); } TQVariant KConfigSkeleton::ItemULong::minValue() const { if (mHasMin) - return TQVariant((Q_ULLONG) mMin); + return TQVariant((TQ_ULLONG) mMin); return TQVariant(); } TQVariant KConfigSkeleton::ItemULong::maxValue() const { if (mHasMax) - return TQVariant((Q_ULLONG) mMax); + return TQVariant((TQ_ULLONG) mMax); return TQVariant(); } @@ -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, @@ -1203,5 +1203,5 @@ bool KConfigSkeleton::isImmutable(const TQString &name) KConfigSkeletonItem *KConfigSkeleton::findItem(const TQString &name) { - return mItemDict.find(name); + return mItemDict.tqfind(name); } |