diff options
author | Timothy Pearson <[email protected]> | 2013-01-25 00:07:58 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-25 00:07:58 -0600 |
commit | d1a1ded7630ef9c2a69894f62c837f06bf77cc85 (patch) | |
tree | 887745a198486f55a8fe21cfd1a936b683ef421c /src/sources/source.cpp | |
parent | 3f7edc4861d43739e97822be428197d23d81a979 (diff) | |
download | kima-d1a1ded7630ef9c2a69894f62c837f06bf77cc85.tar.gz kima-d1a1ded7630ef9c2a69894f62c837f06bf77cc85.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'src/sources/source.cpp')
-rw-r--r-- | src/sources/source.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/sources/source.cpp b/src/sources/source.cpp index b3cc680..89d0e9b 100644 --- a/src/sources/source.cpp +++ b/src/sources/source.cpp @@ -55,9 +55,9 @@ int Source::getPosition() const{ return mPosition; } -void Source::setPosition(int inPosition, KConfig* inKConfig){ +void Source::setPosition(int inPosition, TDEConfig* inTDEConfig){ mPosition = inPosition; - inKConfig->writeEntry(mID + "_position", mPosition); + inTDEConfig->writeEntry(mID + "_position", mPosition); } const TQString& Source::getName() const{ @@ -169,24 +169,24 @@ void Source::applyPrefs(){ mShowOnApplet = mMaybeShowOnApplet; } -void Source::savePrefs(KConfig* inKConfig){ - inKConfig->writeEntry(mID + "_position", mPosition); - inKConfig->writeEntry(mID + "_enabled", mEnabled); - inKConfig->writeEntry(mID + "_showOnApplet", mShowOnApplet); - inKConfig->writeEntry(mID + "_showName", mShowName); - inKConfig->writeEntry(mID + "_name", mName); - inKConfig->writeEntry(mID + "_toolTipEnabled", mToolTipEnabled); +void Source::savePrefs(TDEConfig* inTDEConfig){ + inTDEConfig->writeEntry(mID + "_position", mPosition); + inTDEConfig->writeEntry(mID + "_enabled", mEnabled); + inTDEConfig->writeEntry(mID + "_showOnApplet", mShowOnApplet); + inTDEConfig->writeEntry(mID + "_showName", mShowName); + inTDEConfig->writeEntry(mID + "_name", mName); + inTDEConfig->writeEntry(mID + "_toolTipEnabled", mToolTipEnabled); } -void Source::loadPrefs(KConfig* inKConfig){ - mPosition = inKConfig->readNumEntry(mID + "_position", mPosition); - mEnabled = inKConfig->readBoolEntry(mID + "_enabled", mEnabled); +void Source::loadPrefs(TDEConfig* inTDEConfig){ + mPosition = inTDEConfig->readNumEntry(mID + "_position", mPosition); + mEnabled = inTDEConfig->readBoolEntry(mID + "_enabled", mEnabled); mMaybeEnabled = mEnabled; - mShowOnApplet = inKConfig->readBoolEntry(mID + "_showOnApplet", mShowOnApplet); + mShowOnApplet = inTDEConfig->readBoolEntry(mID + "_showOnApplet", mShowOnApplet); mMaybeShowOnApplet = mShowOnApplet; - mShowName = inKConfig->readBoolEntry(mID + "_showName", mShowName); - mName = inKConfig->readEntry(mID + "_name", mName); - mToolTipEnabled = inKConfig->readBoolEntry(mID + "_toolTipEnabled", mToolTipEnabled); + mShowName = inTDEConfig->readBoolEntry(mID + "_showName", mShowName); + mName = inTDEConfig->readEntry(mID + "_name", mName); + mToolTipEnabled = inTDEConfig->readBoolEntry(mID + "_toolTipEnabled", mToolTipEnabled); // initializing // this signal is usually catched by the ThreadedTrigger who enables or disables the fetch loop |