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 /korganizer/korgac/alarmdockwindow.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 'korganizer/korgac/alarmdockwindow.cpp')
-rw-r--r-- | korganizer/korgac/alarmdockwindow.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/korganizer/korgac/alarmdockwindow.cpp b/korganizer/korgac/alarmdockwindow.cpp index 301f058a8..d5d8dddb9 100644 --- a/korganizer/korgac/alarmdockwindow.cpp +++ b/korganizer/korgac/alarmdockwindow.cpp @@ -48,7 +48,7 @@ AlarmDockWindow::AlarmDockWindow( const char *name ) : KSystemTray( 0, name ) { // Read the autostart status from the config file - KConfig *config = kapp->config(); + TDEConfig *config = kapp->config(); config->setGroup("General"); bool autostart = config->readBoolEntry( "Autostart", true ); bool alarmsEnabled = config->readBoolEntry( "Enabled", true ); @@ -110,7 +110,7 @@ void AlarmDockWindow::resizeEvent ( TQResizeEvent * ) mPixmapEnabled = loadSizedIcon( "korgac", width() ); mPixmapDisabled = loadSizedIcon( "korgac_disabled", width() ); - KConfig *config = kapp->config(); + TDEConfig *config = kapp->config(); bool alarmsEnabled = config->readBoolEntry( "Enabled", true ); setPixmap( alarmsEnabled ? mPixmapEnabled : mPixmapDisabled ); } @@ -137,7 +137,7 @@ void AlarmDockWindow::toggleAlarmsEnabled() { kdDebug(5890) << "AlarmDockWindow::toggleAlarmsEnabled()" << endl; - KConfig *config = kapp->config(); + TDEConfig *config = kapp->config(); config->setGroup( "General" ); bool enabled = !contextMenu()->isItemChecked( mAlarmsEnabledId ); @@ -167,7 +167,7 @@ void AlarmDockWindow::slotDismissAll() void AlarmDockWindow::enableAutostart( bool enable ) { - KConfig *config = kapp->config(); + TDEConfig *config = kapp->config(); config->setGroup( "General" ); config->writeEntry( "Autostart", enable ); config->sync(); |