diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:29:42 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:29:42 -0600 |
commit | 159f7e147ac33c924b3ce9050c8f03cbc54916ee (patch) | |
tree | 38565fca708177609da9ddd523d49b9480b10de5 /twin-styles/smooth-blend/client/config/smoothblendconfig.cc | |
parent | b1b005cf854aad925c2e64c3fc3ece582d4bffcf (diff) | |
download | tdeartwork-159f7e147ac33c924b3ce9050c8f03cbc54916ee.tar.gz tdeartwork-159f7e147ac33c924b3ce9050c8f03cbc54916ee.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'twin-styles/smooth-blend/client/config/smoothblendconfig.cc')
-rw-r--r-- | twin-styles/smooth-blend/client/config/smoothblendconfig.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/twin-styles/smooth-blend/client/config/smoothblendconfig.cc b/twin-styles/smooth-blend/client/config/smoothblendconfig.cc index a59e1c46..58574360 100644 --- a/twin-styles/smooth-blend/client/config/smoothblendconfig.cc +++ b/twin-styles/smooth-blend/client/config/smoothblendconfig.cc @@ -26,10 +26,10 @@ // ------------- // Constructor -smoothblendConfig::smoothblendConfig(KConfig* config, TQWidget* parent) +smoothblendConfig::smoothblendConfig(TDEConfig* config, TQWidget* parent) : TQObject(parent), config_(0), dialog_(0) { // create the configuration object - config_ = new KConfig("twinsmoothblendrc"); + config_ = new TDEConfig("twinsmoothblendrc"); TDEGlobal::locale()->insertCatalogue("twin_smoothblend_config"); // create and show the configuration dialog @@ -96,7 +96,7 @@ void smoothblendConfig::selectionChanged(int) { // ------ // Load configuration data -void smoothblendConfig::load(KConfig*) { +void smoothblendConfig::load(TDEConfig*) { config_->setGroup("General"); TQString value = config_->readEntry("TitleAlignment", "AlignHCenter"); @@ -126,7 +126,7 @@ void smoothblendConfig::load(KConfig*) { // ------ // Save configuration data -void smoothblendConfig::save(KConfig*) { +void smoothblendConfig::save(TDEConfig*) { config_->setGroup("General"); TQRadioButton *button = (TQRadioButton*)dialog_->titlealign->selected(); @@ -172,7 +172,7 @@ void smoothblendConfig::defaults() { ////////////////////////////////////////////////////////////////////////////// extern "C" { - TQObject* allocate_config(KConfig* config, TQWidget* parent) { + TQObject* allocate_config(TDEConfig* config, TQWidget* parent) { return (new smoothblendConfig(config, parent)); } } |