summaryrefslogtreecommitdiffstats
path: root/juk/playlistsplitter.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:13:25 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:13:25 -0600
commit940c092f32d40263ad6b24f948eaf4c48b01e99a (patch)
treef5235b5c44e8aaedd3484a00551e29993d548590 /juk/playlistsplitter.cpp
parentced2058eaf8e5af831ebc02812a18937ff7e1de3 (diff)
downloadtdemultimedia-940c092f32d40263ad6b24f948eaf4c48b01e99a.tar.gz
tdemultimedia-940c092f32d40263ad6b24f948eaf4c48b01e99a.zip
Rename a number of classes to enhance compatibility with KDE4
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()