summaryrefslogtreecommitdiffstats
path: root/twin-styles/glow/config
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:29:42 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:29:42 -0600
commit159f7e147ac33c924b3ce9050c8f03cbc54916ee (patch)
tree38565fca708177609da9ddd523d49b9480b10de5 /twin-styles/glow/config
parentb1b005cf854aad925c2e64c3fc3ece582d4bffcf (diff)
downloadtdeartwork-159f7e147ac33c924b3ce9050c8f03cbc54916ee.tar.gz
tdeartwork-159f7e147ac33c924b3ce9050c8f03cbc54916ee.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'twin-styles/glow/config')
-rw-r--r--twin-styles/glow/config/glowconfigdialog.cpp16
-rw-r--r--twin-styles/glow/config/glowconfigdialog.h10
2 files changed, 13 insertions, 13 deletions
diff --git a/twin-styles/glow/config/glowconfigdialog.cpp b/twin-styles/glow/config/glowconfigdialog.cpp
index 312af343..31b34c5e 100644
--- a/twin-styles/glow/config/glowconfigdialog.cpp
+++ b/twin-styles/glow/config/glowconfigdialog.cpp
@@ -45,16 +45,16 @@
extern "C"
{
- KDE_EXPORT TQObject* allocate_config( KConfig* conf, TQWidget* parent )
+ KDE_EXPORT TQObject* allocate_config( TDEConfig* conf, TQWidget* parent )
{
return(new GlowConfigDialog(conf, parent));
}
}
-GlowConfigDialog::GlowConfigDialog( KConfig * conf, TQWidget * parent )
+GlowConfigDialog::GlowConfigDialog( TDEConfig * conf, TQWidget * parent )
: TQObject(parent)
{
- _glowConfig = new KConfig("twinglowrc");
+ _glowConfig = new TDEConfig("twinglowrc");
TDEGlobal::locale()->insertCatalogue("twin_glow_config");
_main_group_box = new TQWidget(parent);
@@ -138,8 +138,8 @@ GlowConfigDialog::GlowConfigDialog( KConfig * conf, TQWidget * parent )
TQHBoxLayout *titlebarGradientTypeLayout = new TQHBoxLayout();
_titlebarGradientTypeComboBox = new TQComboBox(_main_group_box);
- KConfig *c = TDEGlobal::config();
- KConfigGroupSaver cgs( c, TQString::fromLatin1("WM") );
+ TDEConfig *c = TDEGlobal::config();
+ TDEConfigGroupSaver cgs( c, TQString::fromLatin1("WM") );
TQColor activeBackground = c->readColorEntry("activeBackground");
TQColor activeBlend = c->readColorEntry("activeBlend");
@@ -183,7 +183,7 @@ GlowConfigDialog::~GlowConfigDialog()
delete[] _buttonConfigMap;
}
-void GlowConfigDialog::load( KConfig* /* conf */ )
+void GlowConfigDialog::load( TDEConfig* /* conf */ )
{
TQColor color;
const TQColor defaultCloseButtonColor(DEFAULT_CLOSE_BUTTON_COLOR);
@@ -229,7 +229,7 @@ void GlowConfigDialog::load( KConfig* /* conf */ )
slotTitleButtonClicked(0);
}
-void GlowConfigDialog::save( KConfig* /* conf */ )
+void GlowConfigDialog::save( TDEConfig* /* conf */ )
{
_glowConfig->setGroup("General");
@@ -298,7 +298,7 @@ void GlowConfigDialog::slotLoadThemeList ()
if (! _theme_list_view->findItem (finfo->fileName(), 0))
{
- KConfig conf (dir.path() + "/" + finfo->fileName() + "/" +
+ TDEConfig conf (dir.path() + "/" + finfo->fileName() + "/" +
finfo->fileName() + ".theme");
TQSize button_size = conf.readSizeEntry (
"buttonSize", new TQSize (-1, -1));
diff --git a/twin-styles/glow/config/glowconfigdialog.h b/twin-styles/glow/config/glowconfigdialog.h
index 81ab91b2..f86dfbc6 100644
--- a/twin-styles/glow/config/glowconfigdialog.h
+++ b/twin-styles/glow/config/glowconfigdialog.h
@@ -26,7 +26,7 @@ class TQPushButton;
class TQSignalMapper;
class TQCheckBox;
class TQComboBox;
-class KConfig;
+class TDEConfig;
class KColorButton;
class GlowConfigDialog : public TQObject
@@ -35,15 +35,15 @@ class GlowConfigDialog : public TQObject
public:
- GlowConfigDialog( KConfig* conf, TQWidget* parent );
+ GlowConfigDialog( TDEConfig* conf, TQWidget* parent );
~GlowConfigDialog();
signals:
void changed();
public slots:
- void load( KConfig* conf );
- void save( KConfig* conf );
+ void load( TDEConfig* conf );
+ void save( TDEConfig* conf );
void defaults();
protected slots:
@@ -60,7 +60,7 @@ private:
enum ButtonType{stickyButton, helpButton, iconifyButton,
maximizeButton, closeButton };
- KConfig *_glowConfig;
+ TDEConfig *_glowConfig;
bool _showResizeHandle;
KPixmapEffect::GradientType _titlebarGradientType;