summaryrefslogtreecommitdiffstats
path: root/konqueror/sidebar/trees/history_module/kcmhistory.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:30:47 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:30:47 -0600
commitcc74f360bb40da3d79f58048f8e8611804980aa6 (patch)
treec4385d2c16b904757b1c8bb998a4aec6993373f7 /konqueror/sidebar/trees/history_module/kcmhistory.cpp
parent79b21d47bce1ee428affc97534cd8b257232a871 (diff)
downloadtdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.tar.gz
tdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'konqueror/sidebar/trees/history_module/kcmhistory.cpp')
-rw-r--r--konqueror/sidebar/trees/history_module/kcmhistory.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/konqueror/sidebar/trees/history_module/kcmhistory.cpp b/konqueror/sidebar/trees/history_module/kcmhistory.cpp
index a1ef792d6..967616bd5 100644
--- a/konqueror/sidebar/trees/history_module/kcmhistory.cpp
+++ b/konqueror/sidebar/trees/history_module/kcmhistory.cpp
@@ -49,7 +49,7 @@ typedef KGenericFactory<HistorySidebarConfig, TQWidget > KCMHistoryFactory;
K_EXPORT_COMPONENT_FACTORY (kcm_history, KCMHistoryFactory("kcmhistory") )
HistorySidebarConfig::HistorySidebarConfig( TQWidget *parent, const char* name, const TQStringList & )
- : KCModule (KCMHistoryFactory::instance(), parent, name)
+ : TDECModule (KCMHistoryFactory::instance(), parent, name)
{
TDEGlobal::locale()->insertCatalogue("konqueror");
@@ -115,7 +115,7 @@ void HistorySidebarConfig::configChanged()
void HistorySidebarConfig::load()
{
- KConfig config("konquerorrc");
+ TDEConfig config("konquerorrc");
config.setGroup("HistorySettings");
dialog->spinExpire->setValue( config.readNumEntry( "Maximum age of History entries", 90) );
dialog->spinEntries->setValue( config.readNumEntry( "Maximum of History entries", 500 ) );
@@ -147,7 +147,7 @@ void HistorySidebarConfig::save()
TQ_UINT32 age = dialog->cbExpire->isChecked() ? dialog->spinExpire->value() : 0;
TQ_UINT32 count = dialog->spinEntries->value();
- KConfig config("konquerorrc");
+ TDEConfig config("konquerorrc");
config.setGroup("HistorySettings");
config.writeEntry( "Maximum of History entries", count );
config.writeEntry( "Maximum age of History entries", age );