summaryrefslogtreecommitdiffstats
path: root/juk/playlist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'juk/playlist.cpp')
-rw-r--r--juk/playlist.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/juk/playlist.cpp b/juk/playlist.cpp
index 1edf7330..a60d0c05 100644
--- a/juk/playlist.cpp
+++ b/juk/playlist.cpp
@@ -235,7 +235,7 @@ void Playlist::SharedSettings::apply(Playlist *l) const
Playlist::SharedSettings::SharedSettings()
{
- KConfigGroup config(TDEGlobal::config(), "PlaylistShared");
+ TDEConfigGroup config(TDEGlobal::config(), "PlaylistShared");
bool resizeColumnsManually = config.readBoolEntry("ResizeColumnsManually", false);
action<KToggleAction>("resizeColumnsManually")->setChecked(resizeColumnsManually);
@@ -285,7 +285,7 @@ Playlist::SharedSettings::SharedSettings()
void Playlist::SharedSettings::writeConfig()
{
- KConfigGroup config(TDEGlobal::config(), "PlaylistShared");
+ TDEConfigGroup config(TDEGlobal::config(), "PlaylistShared");
config.writeEntry("ColumnOrder", m_columnOrder);
TQValueList<int> l;
@@ -992,7 +992,7 @@ void Playlist::removeFromDisk(const PlaylistItemList &items)
action("forward")->activate();
TQString removePath = (*it)->file().absFilePath();
- if((!shouldDelete && KIO::NetAccess::synchronousRun(KIO::trash(removePath), this)) ||
+ if((!shouldDelete && TDEIO::NetAccess::synchronousRun(TDEIO::trash(removePath), this)) ||
(shouldDelete && TQFile::remove(removePath)))
{
CollectionList::instance()->clearItem((*it)->collectionItem());
@@ -1087,7 +1087,7 @@ void Playlist::decode(TQMimeSource *s, PlaylistItem *item)
if(urls.front().isLocalFile())
file = urls.front().path();
else
- KIO::NetAccess::download(urls.front(), file, 0);
+ TDEIO::NetAccess::download(urls.front(), file, 0);
KMimeType::Ptr mimeType = KMimeType::findByPath(file);
@@ -1097,7 +1097,7 @@ void Playlist::decode(TQMimeSource *s, PlaylistItem *item)
item->file().tag()->album());
}
- KIO::NetAccess::removeTempFile(file);
+ TDEIO::NetAccess::removeTempFile(file);
}
TQStringList fileList;