summaryrefslogtreecommitdiffstats
path: root/kruler
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-25 00:33:36 -0600
committerTimothy Pearson <[email protected]>2013-01-25 00:33:36 -0600
commit3c5631f74d1c75204f950140331e10f739082ee9 (patch)
treea2811ff6c81d3c771745cde47734e65b1da3d806 /kruler
parent6adb71382c3d5277c3dcbc4ec24c5ff36b4c07ef (diff)
downloadtdegraphics-3c5631f74d1c75204f950140331e10f739082ee9.tar.gz
tdegraphics-3c5631f74d1c75204f950140331e10f739082ee9.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kruler')
-rw-r--r--kruler/klineal.cpp8
-rw-r--r--kruler/klineal.h4
2 files changed, 6 insertions, 6 deletions
diff --git a/kruler/klineal.cpp b/kruler/klineal.cpp
index b539f6e9..7123fe04 100644
--- a/kruler/klineal.cpp
+++ b/kruler/klineal.cpp
@@ -94,7 +94,7 @@ KLineal::KLineal(TQWidget*parent,const char* name):KMainWindow(parent,name){
mCurrentCursor = mNorthCursor;
setMinimumSize(60,60);
setMaximumSize(8000,8000);
- KConfig *cfg = kapp->config();
+ TDEConfig *cfg = kapp->config();
TQColor defaultColor = DEFAULT_RULER_COLOR;
TQFont defaultFont(TDEGlobalSettings::generalFont().family(), 8);
defaultFont.setPixelSize(8);
@@ -420,7 +420,7 @@ void KLineal::setColor(const TQColor &color) {
* save the ruler color to the config file
*/
void KLineal::saveSettings() {
- KConfig *cfg = kapp->config(); // new KConfig(locateLocal("config", kapp->name()+"rc"));
+ TDEConfig *cfg = kapp->config(); // new TDEConfig(locateLocal("config", kapp->name()+"rc"));
if (cfg) {
TQColor color = mColor;
cfg->setGroup(CFG_GROUP_SETTINGS);
@@ -747,14 +747,14 @@ void KLineal::paintEvent(TQPaintEvent * /*inEvent*/) {
painter.end();
}
-void KLineal::readProperties(KConfig *cfg) {
+void KLineal::readProperties(TDEConfig *cfg) {
mOrientation = cfg->readNumEntry("Orientation", South);
setupCursor();
setupBackground();
repaint();
}
-void KLineal::saveProperties(KConfig* cfg) {
+void KLineal::saveProperties(TDEConfig* cfg) {
cfg->writeEntry("Orientation", mOrientation);
}
diff --git a/kruler/klineal.h b/kruler/klineal.h
index 31c948ae..b2622e0a 100644
--- a/kruler/klineal.h
+++ b/kruler/klineal.h
@@ -56,8 +56,8 @@ protected:
void setupBackground();
// session management
- virtual void saveProperties( KConfig *config );
- virtual void readProperties( KConfig *config );
+ virtual void saveProperties( TDEConfig *config );
+ virtual void readProperties( TDEConfig *config );
private:
void drawScale(TQPainter &painter);