diff options
Diffstat (limited to 'kradio3/plugins/gui-standard-display')
5 files changed, 10 insertions, 10 deletions
diff --git a/kradio3/plugins/gui-standard-display/radioview.cpp b/kradio3/plugins/gui-standard-display/radioview.cpp index aaf630c..da54c23 100644 --- a/kradio3/plugins/gui-standard-display/radioview.cpp +++ b/kradio3/plugins/gui-standard-display/radioview.cpp @@ -506,7 +506,7 @@ bool RadioView::noticeCountdownZero() // WidgetPluginBase -void RadioView::saveState (KConfig *config) const +void RadioView::saveState (TDEConfig *config) const { config->setGroup(TQString("radioview-") + name()); @@ -520,7 +520,7 @@ void RadioView::saveState (KConfig *config) const } -void RadioView::restoreState (KConfig *config) +void RadioView::restoreState (TDEConfig *config) { config->setGroup(TQString("radioview-") + name()); diff --git a/kradio3/plugins/gui-standard-display/radioview.h b/kradio3/plugins/gui-standard-display/radioview.h index 1ad686f..f90df1b 100644 --- a/kradio3/plugins/gui-standard-display/radioview.h +++ b/kradio3/plugins/gui-standard-display/radioview.h @@ -61,8 +61,8 @@ public: // WidgetPluginBase public: - virtual void saveState (KConfig *) const; - virtual void restoreState (KConfig *); + virtual void saveState (TDEConfig *) const; + virtual void restoreState (TDEConfig *); virtual bool connectI(Interface *i); virtual bool disconnectI(Interface *i); diff --git a/kradio3/plugins/gui-standard-display/radioview_element.h b/kradio3/plugins/gui-standard-display/radioview_element.h index 22fa1c5..cab2c89 100644 --- a/kradio3/plugins/gui-standard-display/radioview_element.h +++ b/kradio3/plugins/gui-standard-display/radioview_element.h @@ -54,8 +54,8 @@ public: // Configuration ?? virtual ConfigPageInfo createConfigurationPage() { return ConfigPageInfo(); } - virtual void saveState (KConfig *) const {} - virtual void restoreState (KConfig *) {} + virtual void saveState (TDEConfig *) const {} + virtual void restoreState (TDEConfig *) {} protected : diff --git a/kradio3/plugins/gui-standard-display/radioview_frequencyradio.cpp b/kradio3/plugins/gui-standard-display/radioview_frequencyradio.cpp index baa69e3..e320102 100644 --- a/kradio3/plugins/gui-standard-display/radioview_frequencyradio.cpp +++ b/kradio3/plugins/gui-standard-display/radioview_frequencyradio.cpp @@ -61,7 +61,7 @@ float RadioViewFrequencyRadio::getUsability (Interface *i) const } -void RadioViewFrequencyRadio::saveState (KConfig *config) const +void RadioViewFrequencyRadio::saveState (TDEConfig *config) const { config->writeEntry("frequency-view-colorActiveText", m_colorActiveText); config->writeEntry("frequency-view-colorInactiveText", m_colorInactiveText); @@ -70,7 +70,7 @@ void RadioViewFrequencyRadio::saveState (KConfig *config) const } -void RadioViewFrequencyRadio::restoreState (KConfig *config) +void RadioViewFrequencyRadio::restoreState (TDEConfig *config) { TQColor defaultActive (20, 244, 20), defaultInactive(TQColor(10, 117, 10).light(75)), diff --git a/kradio3/plugins/gui-standard-display/radioview_frequencyradio.h b/kradio3/plugins/gui-standard-display/radioview_frequencyradio.h index a974ec5..b13db67 100644 --- a/kradio3/plugins/gui-standard-display/radioview_frequencyradio.h +++ b/kradio3/plugins/gui-standard-display/radioview_frequencyradio.h @@ -41,8 +41,8 @@ public: float getUsability (Interface *) const; - virtual void saveState (KConfig *) const; - virtual void restoreState (KConfig *); + virtual void saveState (TDEConfig *) const; + virtual void restoreState (TDEConfig *); ConfigPageInfo createConfigurationPage(); |