playlist: convert several function names to camelCase
This commit is contained in:
@@ -2213,7 +2213,7 @@ void SetSelectedItemsPriority::run()
|
||||
prio = fromString<unsigned>(wFooter->prompt());
|
||||
boundsCheck(prio, 0u, 255u);
|
||||
}
|
||||
myPlaylist->SetSelectedItemsPriority(prio);
|
||||
myPlaylist->setSelectedItemsPriority(prio);
|
||||
}
|
||||
|
||||
bool ToggleOutput::canBeRun()
|
||||
|
||||
@@ -234,7 +234,7 @@ int main(int argc, char **argv)
|
||||
}
|
||||
|
||||
if (myScreen == myPlaylist)
|
||||
myPlaylist->EnableHighlighting();
|
||||
myPlaylist->enableHighlighting();
|
||||
}
|
||||
catch (MPD::ClientError &e)
|
||||
{
|
||||
|
||||
@@ -197,7 +197,7 @@ MPD::Song Playlist::nowPlayingSong()
|
||||
return s;
|
||||
}
|
||||
|
||||
void Playlist::EnableHighlighting()
|
||||
void Playlist::enableHighlighting()
|
||||
{
|
||||
w.setHighlighting(true);
|
||||
m_timer = Global::Timer;
|
||||
@@ -238,7 +238,7 @@ std::string Playlist::getTotalLength()
|
||||
return result.str();
|
||||
}
|
||||
|
||||
void Playlist::SetSelectedItemsPriority(int prio)
|
||||
void Playlist::setSelectedItemsPriority(int prio)
|
||||
{
|
||||
auto list = getSelectedOrCurrent(w.begin(), w.end(), w.current());
|
||||
Mpd.StartCommandsList();
|
||||
|
||||
@@ -61,11 +61,10 @@ struct Playlist: Screen<SongMenu>, HasSongs, Searchable, Tabbable
|
||||
|
||||
// private members
|
||||
MPD::Song nowPlayingSong();
|
||||
|
||||
|
||||
void EnableHighlighting();
|
||||
void enableHighlighting();
|
||||
|
||||
void SetSelectedItemsPriority(int prio);
|
||||
void setSelectedItemsPriority(int prio);
|
||||
|
||||
bool checkForSong(const MPD::Song &s);
|
||||
void registerSong(const MPD::Song &s);
|
||||
|
||||
@@ -230,7 +230,7 @@ bool Statusbar::Helpers::FindImmediately::operator()(const char *s)
|
||||
m_w->setSearchConstraint(s);
|
||||
m_found = m_w->find(m_direction, Config.wrapped_search, false);
|
||||
if (myScreen == myPlaylist)
|
||||
myPlaylist->EnableHighlighting();
|
||||
myPlaylist->enableHighlighting();
|
||||
myScreen->refreshWindow();
|
||||
m_s = s;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user