summaryrefslogtreecommitdiffstats
path: root/src/kmplayerapp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kmplayerapp.cpp')
-rw-r--r--src/kmplayerapp.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kmplayerapp.cpp b/src/kmplayerapp.cpp
index 0b7ccde..a4b2ccf 100644
--- a/src/kmplayerapp.cpp
+++ b/src/kmplayerapp.cpp
@@ -1028,12 +1028,12 @@ KDE_NO_EXPORT void KMPlayerApp::addURL (const KURL& url) {
d->appendChild (new KMPlayer::GenericURL (d, url.url ()));
}
-KDE_NO_EXPORT void KMPlayerApp::saveProperties (KConfig * config) {
+KDE_NO_EXPORT void KMPlayerApp::saveProperties (TDEConfig * config) {
config->writeEntry ("URL", m_player->source ()->url ().url ());
config->writeEntry ("Visible", isVisible ());
}
-KDE_NO_EXPORT void KMPlayerApp::readProperties (KConfig * config) {
+KDE_NO_EXPORT void KMPlayerApp::readProperties (TDEConfig * config) {
KURL url (config->readEntry ("URL", TQString ()));
openDocumentFile (url);
if (!config->readBoolEntry ("Visible", true) && m_systray)
@@ -2019,12 +2019,12 @@ KDE_NO_EXPORT TQString KMPlayerDVDSource::prettyName () {
static const char * strPlayDVD = "Immediately Play DVD";
-KDE_NO_EXPORT void KMPlayerDVDSource::write (KConfig * config) {
+KDE_NO_EXPORT void KMPlayerDVDSource::write (TDEConfig * config) {
config->setGroup (strMPlayerGroup);
config->writeEntry (strPlayDVD, m_auto_play);
}
-KDE_NO_EXPORT void KMPlayerDVDSource::read (KConfig * config) {
+KDE_NO_EXPORT void KMPlayerDVDSource::read (TDEConfig * config) {
config->setGroup (strMPlayerGroup);
m_auto_play = config->readBoolEntry (strPlayDVD, true);
}
@@ -2195,12 +2195,12 @@ KDE_NO_EXPORT TQString KMPlayerVCDSource::prettyName () {
static const char * strPlayVCD = "Immediately Play VCD";
-KDE_NO_EXPORT void KMPlayerVCDSource::write (KConfig * config) {
+KDE_NO_EXPORT void KMPlayerVCDSource::write (TDEConfig * config) {
config->setGroup (strMPlayerGroup);
config->writeEntry (strPlayVCD, m_auto_play);
}
-KDE_NO_EXPORT void KMPlayerVCDSource::read (KConfig * config) {
+KDE_NO_EXPORT void KMPlayerVCDSource::read (TDEConfig * config) {
config->setGroup (strMPlayerGroup);
m_auto_play = config->readBoolEntry (strPlayVCD, true);
}