summaryrefslogtreecommitdiffstats
path: root/kradio3/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'kradio3/src/include')
-rw-r--r--kradio3/src/include/kradioapp.h8
-rw-r--r--kradio3/src/include/plugin_configuration_dialog.h4
-rw-r--r--kradio3/src/include/pluginmanager.h6
-rw-r--r--kradio3/src/include/plugins.h6
-rw-r--r--kradio3/src/include/radiostation-listview.h4
-rw-r--r--kradio3/src/include/soundformat.h4
-rw-r--r--kradio3/src/include/stationselector.h4
-rw-r--r--kradio3/src/include/widgetplugins.h6
8 files changed, 21 insertions, 21 deletions
diff --git a/kradio3/src/include/kradioapp.h b/kradio3/src/include/kradioapp.h
index facecae..fabe04f 100644
--- a/kradio3/src/include/kradioapp.h
+++ b/kradio3/src/include/kradioapp.h
@@ -41,8 +41,8 @@ public:
virtual ConfigPageInfo createConfigurationPage () { return ConfigPageInfo(); }
virtual AboutPageInfo createAboutPage ();
- virtual void saveState (KConfig *) const {}
- virtual void restoreState (KConfig *) {}
+ virtual void saveState (TDEConfig *) const {}
+ virtual void restoreState (TDEConfig *) {}
};
@@ -88,8 +88,8 @@ public:
KRadioApp();
virtual ~KRadioApp();
- virtual void saveState (KConfig *c);
- virtual void restoreState (KConfig *c);
+ virtual void saveState (TDEConfig *c);
+ virtual void restoreState (TDEConfig *c);
virtual PluginManager *createNewInstance(const TQString &name);
diff --git a/kradio3/src/include/plugin_configuration_dialog.h b/kradio3/src/include/plugin_configuration_dialog.h
index 4f3f6c0..b273207 100644
--- a/kradio3/src/include/plugin_configuration_dialog.h
+++ b/kradio3/src/include/plugin_configuration_dialog.h
@@ -42,8 +42,8 @@ public:
virtual TQString pluginClassName() const { return "PluginConfigurationDialog"; }
- virtual void saveState (KConfig *) const;
- virtual void restoreState (KConfig *);
+ virtual void saveState (TDEConfig *) const;
+ virtual void restoreState (TDEConfig *);
protected :
diff --git a/kradio3/src/include/pluginmanager.h b/kradio3/src/include/pluginmanager.h
index 635a50c..e450284 100644
--- a/kradio3/src/include/pluginmanager.h
+++ b/kradio3/src/include/pluginmanager.h
@@ -32,7 +32,7 @@ class WidgetPluginBase;
class PluginConfigurationDialog;
class PluginManagerConfiguration;
class TQWidget;
-class KConfig;
+class TDEConfig;
class TQFrame;
class KAboutDialog;
class KDialogBase;
@@ -79,8 +79,8 @@ public :
// operations on all plugins
- virtual void saveState (KConfig *) const;
- virtual void restoreState (KConfig *);
+ virtual void saveState (TDEConfig *) const;
+ virtual void restoreState (TDEConfig *);
virtual void startPlugins();
// configuration dialog handling
diff --git a/kradio3/src/include/plugins.h b/kradio3/src/include/plugins.h
index 023e35d..808d0bb 100644
--- a/kradio3/src/include/plugins.h
+++ b/kradio3/src/include/plugins.h
@@ -34,7 +34,7 @@
class PluginManager;
class PluginBase;
class TQWidget;
-class KConfig;
+class TDEConfig;
typedef TQPtrList<PluginBase> PluginList;
typedef TQPtrListIterator<PluginBase> PluginIterator;
@@ -115,8 +115,8 @@ public:
// save/restore status, window position, etc...
- virtual void saveState (KConfig *) const = 0;
- virtual void restoreState (KConfig *) = 0;
+ virtual void saveState (TDEConfig *) const = 0;
+ virtual void restoreState (TDEConfig *) = 0;
virtual void startPlugin();
virtual void aboutToQuit();
diff --git a/kradio3/src/include/radiostation-listview.h b/kradio3/src/include/radiostation-listview.h
index 36ed7cf..d6210b9 100644
--- a/kradio3/src/include/radiostation-listview.h
+++ b/kradio3/src/include/radiostation-listview.h
@@ -52,8 +52,8 @@ public:
int count() const { return childCount(); }
- void saveState (KConfig *) const;
- void restoreState (KConfig *);
+ void saveState (TDEConfig *) const;
+ void restoreState (TDEConfig *);
protected:
diff --git a/kradio3/src/include/soundformat.h b/kradio3/src/include/soundformat.h
index ea11f09..0fcca24 100644
--- a/kradio3/src/include/soundformat.h
+++ b/kradio3/src/include/soundformat.h
@@ -60,8 +60,8 @@ struct SoundFormat {
int minValue() const;
int maxValue() const;
- void restoreConfig(const TQString &prefix, KConfig *c);
- void saveConfig(const TQString &prefix, KConfig *c) const;
+ void restoreConfig(const TQString &prefix, TDEConfig *c);
+ void saveConfig(const TQString &prefix, TDEConfig *c) const;
int convertSampleToInt(const char *sample, bool do_scale) const;
void convertIntToSample(int src, char *dst, bool is_scaled) const;
diff --git a/kradio3/src/include/stationselector.h b/kradio3/src/include/stationselector.h
index e18c87e..009293e 100644
--- a/kradio3/src/include/stationselector.h
+++ b/kradio3/src/include/stationselector.h
@@ -60,8 +60,8 @@ public :
bool noticeCurrentSoundStreamIDChanged(SoundStreamID) { return false; }
- void saveState (KConfig *) const;
- void restoreState (KConfig *);
+ void saveState (TDEConfig *) const;
+ void restoreState (TDEConfig *);
bool isDirty () const { return m_dirty; }
diff --git a/kradio3/src/include/widgetplugins.h b/kradio3/src/include/widgetplugins.h
index c3339c4..69bb0bf 100644
--- a/kradio3/src/include/widgetplugins.h
+++ b/kradio3/src/include/widgetplugins.h
@@ -31,9 +31,9 @@ class WidgetPluginBase : public PluginBase
public :
WidgetPluginBase(const TQString &name, const TQString &description);
- virtual void saveState (KConfig *) const;
- virtual void restoreState (KConfig *);
- virtual void restoreState (KConfig *, bool showByDefault);
+ virtual void saveState (TDEConfig *) const;
+ virtual void restoreState (TDEConfig *);
+ virtual void restoreState (TDEConfig *, bool showByDefault);
virtual void startPlugin();
virtual TQWidget *getWidget() = 0;