summaryrefslogtreecommitdiffstats
path: root/src/kmplayerbroadcast.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kmplayerbroadcast.cpp')
-rw-r--r--src/kmplayerbroadcast.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kmplayerbroadcast.cpp b/src/kmplayerbroadcast.cpp
index 197d7e5..845a47c 100644
--- a/src/kmplayerbroadcast.cpp
+++ b/src/kmplayerbroadcast.cpp
@@ -412,7 +412,7 @@ KDE_NO_CDTOR_EXPORT KMPlayerBroadcastConfig::~KMPlayerBroadcastConfig () {
stopServer ();
}
-KDE_NO_EXPORT void KMPlayerBroadcastConfig::write (KConfig * config) {
+KDE_NO_EXPORT void KMPlayerBroadcastConfig::write (TDEConfig * config) {
config->setGroup (strBroadcast);
config->writeEntry (strFFServerCustomSetting, ffserversettings.list (), ';');
TQStringList sl;
@@ -423,7 +423,7 @@ KDE_NO_EXPORT void KMPlayerBroadcastConfig::write (KConfig * config) {
config->writeEntry (strFFServerProfiles, sl, ';');
}
-KDE_NO_EXPORT void KMPlayerBroadcastConfig::read (KConfig * config) {
+KDE_NO_EXPORT void KMPlayerBroadcastConfig::read (TDEConfig * config) {
std::for_each (ffserversettingprofiles.begin (), ffserversettingprofiles.end (), KMPlayer::Deleter<FFServerSetting>());
ffserversettingprofiles.clear ();
config->setGroup (strBroadcast);
@@ -612,7 +612,7 @@ KDE_NO_EXPORT void KMPlayerBroadcastConfig::sourceChanged (KMPlayer::Source *, K
KDE_NO_CDTOR_EXPORT KMPlayerFFServerConfig::KMPlayerFFServerConfig () {
}
-KDE_NO_EXPORT void KMPlayerFFServerConfig::write (KConfig * config) {
+KDE_NO_EXPORT void KMPlayerFFServerConfig::write (TDEConfig * config) {
config->setGroup (strBroadcast);
config->writeEntry (strBindAddress, bindaddress);
config->writeEntry (strFFServerPort, ffserverport);
@@ -622,7 +622,7 @@ KDE_NO_EXPORT void KMPlayerFFServerConfig::write (KConfig * config) {
config->writeEntry (strFeedFileSize, feedfilesize);
}
-KDE_NO_EXPORT void KMPlayerFFServerConfig::read (KConfig * config) {
+KDE_NO_EXPORT void KMPlayerFFServerConfig::read (TDEConfig * config) {
config->setGroup (strBroadcast);
bindaddress = config->readEntry (strBindAddress, "0.0.0.0");
ffserverport = config->readNumEntry (strFFServerPort, 8090);