summaryrefslogtreecommitdiffstats
path: root/juk/playlistsplitter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'juk/playlistsplitter.cpp')
-rw-r--r--juk/playlistsplitter.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/juk/playlistsplitter.cpp b/juk/playlistsplitter.cpp
index 613ee2cc..e4042ae8 100644
--- a/juk/playlistsplitter.cpp
+++ b/juk/playlistsplitter.cpp
@@ -85,7 +85,7 @@ void PlaylistSplitter::slotFocusCurrentPlaylist()
if(playlist) {
playlist->setFocus();
- playlist->KListView::selectAll(false);
+ playlist->TDEListView::selectAll(false);
// Select the top visible (and matching) item.
@@ -117,11 +117,11 @@ Playlist *PlaylistSplitter::visiblePlaylist() const
void PlaylistSplitter::setupActions()
{
- KToggleAction *showSearch =
- new KToggleAction(i18n("Show &Search Bar"), "filefind", 0, ActionCollection::actions(), "showSearch");
+ TDEToggleAction *showSearch =
+ new TDEToggleAction(i18n("Show &Search Bar"), "filefind", 0, ActionCollection::actions(), "showSearch");
showSearch->setCheckedState(i18n("Hide &Search Bar"));
- new KAction(i18n("Edit Track Search"), "edit_clear", "F6", TQT_TQOBJECT(this), TQT_SLOT(setFocus()), ActionCollection::actions(), "editTrackSearch");
+ new TDEAction(i18n("Edit Track Search"), "edit_clear", "F6", TQT_TQOBJECT(this), TQT_SLOT(setFocus()), ActionCollection::actions(), "editTrackSearch");
}
void PlaylistSplitter::setupLayout()
@@ -175,7 +175,7 @@ void PlaylistSplitter::setupLayout()
m_playlistBox->object(), TQT_SLOT(slotCreateSearchPlaylist()));
connect(m_searchWidget, TQT_SIGNAL(signalShown(bool)),
m_playlistBox->object(), TQT_SLOT(slotSetSearchEnabled(bool)));
- connect(action<KToggleAction>("showSearch"), TQT_SIGNAL(toggled(bool)),
+ connect(action<TDEToggleAction>("showSearch"), TQT_SIGNAL(toggled(bool)),
m_searchWidget, TQT_SLOT(setEnabled(bool)));
topLayout->addWidget(nowPlaying);
@@ -198,7 +198,7 @@ void PlaylistSplitter::readConfig()
setSizes(splitterSizes);
bool showSearch = config.readBoolEntry("ShowSearch", true);
- action<KToggleAction>("showSearch")->setChecked(showSearch);
+ action<TDEToggleAction>("showSearch")->setChecked(showSearch);
m_searchWidget->setShown(showSearch);
}
@@ -206,7 +206,7 @@ void PlaylistSplitter::saveConfig()
{
TDEConfigGroup config(TDEGlobal::config(), "Splitter");
config.writeEntry("PlaylistSplitterSizes", sizes());
- config.writeEntry("ShowSearch", action<KToggleAction>("showSearch")->isChecked());
+ config.writeEntry("ShowSearch", action<TDEToggleAction>("showSearch")->isChecked());
}
void PlaylistSplitter::slotShowSearchResults()