diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:37:21 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:37:21 -0600 |
commit | 86d8364ac704bdc8ad2dfcf52307d9626cfac567 (patch) | |
tree | 97d3ac2c2f60780d9a1de4f82caac7cb27534501 /karm/mainwindow.cpp | |
parent | a9bde819f2b421dcc44741156e75eca4bb5fb4f4 (diff) | |
download | tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.tar.gz tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
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()); |