From 940c092f32d40263ad6b24f948eaf4c48b01e99a Mon Sep 17 00:00:00 2001 From: Timothy Pearson <kb9vqf@pearsoncomputing.net> Date: Fri, 1 Feb 2013 15:13:25 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- juk/playlistsplitter.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'juk/playlistsplitter.cpp') 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() -- cgit v1.2.1