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/kima.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/kima.cpp')
-rw-r--r-- | src/kima.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/kima.cpp b/src/kima.cpp index aedc1f3..d4465e6 100644 --- a/src/kima.cpp +++ b/src/kima.cpp @@ -93,8 +93,8 @@ Kima::Kima(const TQString& inConfigFile, Type inType, int inActions, TQWidget* i mPrefs = 0; // the prefs ui is created in the preferences() method // Get the current application configuration handle - mKConfig = config(); - mKConfig->setGroup("Kima"); + mTDEConfig = config(); + mTDEConfig->setGroup("Kima"); // automatically delete pointers mSources.setAutoDelete(TRUE); @@ -128,7 +128,7 @@ Kima::Kima(const TQString& inConfigFile, Type inType, int inActions, TQWidget* i ++itSync; registerSource(source); } - mLayout->updatePositions(mKConfig); + mLayout->updatePositions(mTDEConfig); // create the menu mMenu = new KPopupMenu(this); @@ -292,14 +292,14 @@ void Kima::savePreferences(){ while((source = it.current()) != 0){ ++it; source->applyPrefs(); - source->savePrefs(mKConfig); + source->savePrefs(mTDEConfig); } // save the position of all sources because they might have changed. - mLayout->updatePositions(mKConfig); + mLayout->updatePositions(mTDEConfig); // update the source widgets updateSourceWidgets(); // write config - mKConfig->sync(); + mTDEConfig->sync(); // reset cached witdh for height to force recalculation of the applets width mCachedWFH = 0; } @@ -367,9 +367,9 @@ void Kima::mouseMoveEvent( TQMouseEvent* inEvent ) { TQRect crect = c->rect(); double relPos = c->mapFromGlobal(inEvent->globalPos()).y() * mDragFactor; if(mLayout->moveItem(mDraggedSourceItem, it.current(), crect.height()/2.0 > relPos ? FlowLayout::ABOVE : FlowLayout::BELOW)){ - mLayout->updatePositions(mKConfig); + mLayout->updatePositions(mTDEConfig); updateGeometry(); - mKConfig->sync(); // write config + mTDEConfig->sync(); // write config updateSourceWidgets(); } break; @@ -404,7 +404,7 @@ void Kima::registerSource(Source* source) { // load prefs from the configuration // this call also emits enabledChanged - source->loadPrefs(mKConfig); + source->loadPrefs(mTDEConfig); // add the source to the layout if necessary displaySource(source->isEnabled() && source->showOnApplet(), source); |