diff options
Diffstat (limited to 'karm/mainwindow.cpp')
-rw-r--r-- | karm/mainwindow.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/karm/mainwindow.cpp b/karm/mainwindow.cpp index 738924429..c7e717e45 100644 --- a/karm/mainwindow.cpp +++ b/karm/mainwindow.cpp @@ -214,14 +214,14 @@ void MainWindow::starStatusBar() statusBar()->insertItem( i18n("Total" ), 1, 0, true ); } -void MainWindow::saveProperties( KConfig* cfg ) +void MainWindow::saveProperties( TDEConfig* cfg ) { _taskView->stopAllTimers(); _taskView->save(); cfg->writeEntry( "WindowShown", isVisible()); } -void MainWindow::readProperties( KConfig* cfg ) +void MainWindow::readProperties( TDEConfig* cfg ) { if( cfg->readBoolEntry( "WindowShown", true )) show(); @@ -440,7 +440,7 @@ void MainWindow::loadGeometry() if (initialGeometrySet()) setAutoSaveSettings(); else { - KConfig &config = *kapp->config(); + TDEConfig &config = *kapp->config(); config.setGroup( TQString::fromLatin1("Main Window Geometry") ); int w = config.readNumEntry( TQString::fromLatin1("Width"), 100 ); @@ -454,7 +454,7 @@ void MainWindow::loadGeometry() void MainWindow::saveGeometry() { - KConfig &config = *TDEGlobal::config(); + TDEConfig &config = *TDEGlobal::config(); config.setGroup( TQString::fromLatin1("Main Window Geometry")); config.writeEntry( TQString::fromLatin1("Width"), width()); config.writeEntry( TQString::fromLatin1("Height"), height()); |