summaryrefslogtreecommitdiffstats
path: root/src/kmplayerapp.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-25 00:08:09 -0600
committerTimothy Pearson <[email protected]>2013-01-25 00:08:09 -0600
commit75cf20e5d10de7b6ab506bd1ad6321c77ff1ad5c (patch)
treeeee3e440800d8fe8d3989b919dd349401cd37282 /src/kmplayerapp.cpp
parenta34aeb25a3006e5a708ec955159226e8b197dc27 (diff)
downloadkmplayer-75cf20e5d10de7b6ab506bd1ad6321c77ff1ad5c.tar.gz
kmplayer-75cf20e5d10de7b6ab506bd1ad6321c77ff1ad5c.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
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);
}