diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/MainWidget.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/MainWidget.cpp b/src/MainWidget.cpp index 7ce4432..516a23f 100644 --- a/src/MainWidget.cpp +++ b/src/MainWidget.cpp @@ -499,7 +499,7 @@ MainWidget::MainWidget ( TDEAboutData *about, bool tren, TQWidget *parent, const tray = new KbdTray ( this ); tray->setPixmap ( UserIcon ( "tray" ) ); - KConfig *cfg = TDEApplication::kApplication()->config(); + TDEConfig *cfg = TDEApplication::kApplication()->config(); KPopupMenu *m = tray->contextMenu(); m->setCheckable ( true ); @@ -560,7 +560,7 @@ MainWidget::MainWidget ( TDEAboutData *about, bool tren, TQWidget *parent, const void MainWidget::finishInit() { - KConfig *cfg = TDEApplication::kApplication()->config(); + TDEConfig *cfg = TDEApplication::kApplication()->config(); bool vis = cfg->readBoolEntry("visible",true); if (vis) { show(); @@ -585,7 +585,7 @@ void MainWidget::restorePosition() int d_height=235; TQRect dflt_geom(screen_geom.width()-d_width,screen_geom.height()-d_height,d_width,d_height); - KConfig *cfg = 0; + TDEConfig *cfg = 0; cfg = TDEApplication::kApplication()->config(); if (cfg){ TQRect geom = cfg->readRectEntry("geometry"); @@ -597,7 +597,7 @@ void MainWidget::restorePosition() } void MainWidget::saveState() { - KConfig *cfg = 0; + TDEConfig *cfg = 0; cfg = TDEApplication::kApplication()->config(); if (cfg){ cfg->writeEntry("visible",isShown()); @@ -607,7 +607,7 @@ void MainWidget::saveState() void MainWidget::hideEvent ( TQHideEvent * ) { - KConfig *cfg = 0; + TDEConfig *cfg = 0; cfg = TDEApplication::kApplication()->config(); if (cfg){ cfg->writeEntry("geometry",geometry()); @@ -715,7 +715,7 @@ void MainWidget::chooseFont() // value, in this case Helvetica [Cronyx], 10 } - KConfig *cfg = TDEApplication::kApplication()->config(); + TDEConfig *cfg = TDEApplication::kApplication()->config(); cfg->writeEntry ("KvkbdFont", this->font()); cfg->sync(); @@ -740,7 +740,7 @@ void MainWidget::showDock() tray->contextMenu()->setItemChecked ( mnu_dock, !c ); dock->show(); } - KConfig *cfg = TDEApplication::kApplication()->config(); + TDEConfig *cfg = TDEApplication::kApplication()->config(); cfg->writeEntry ("showdock", !c); cfg->sync(); @@ -749,7 +749,7 @@ void MainWidget::toggleFontAutoRes() { bool c = tray->contextMenu()->isItemChecked( mnu_autores); tray->contextMenu()->setItemChecked(mnu_autores, !c); - KConfig *cfg = TDEApplication::kApplication()->config(); + TDEConfig *cfg = TDEApplication::kApplication()->config(); cfg->writeEntry ("autoresfont", !c); cfg->sync(); } |