Commit 7a4c75ee authored by Michel Hermier's avatar Michel Hermier

Workaround GCC-3.3 bug of -fexceptions with templates and visibility.

svn path=/trunk/KDE/kdemultimedia/juk/; revision=434275
parent 69465954
......@@ -102,6 +102,26 @@ bool PlaylistSearch::checkItem(PlaylistItem *item)
return match;
}
void PlaylistSearch::addComponent(const Component &c)
{
m_components.append(c);
}
void PlaylistSearch::clearComponents()
{
m_components.clear();
}
PlaylistSearch::ComponentList PlaylistSearch::components() const
{
return m_components;
}
bool PlaylistSearch::isNull() const
{
return m_components.isEmpty();
}
bool PlaylistSearch::isEmpty() const
{
if(isNull())
......
......@@ -51,14 +51,14 @@ public:
void clearPlaylists() { m_playlists.clear(); }
PlaylistList playlists() const { return m_playlists; }
void addComponent(const Component &c) { m_components.append(c); }
void clearComponents() { m_components.clear(); }
ComponentList components() const { return m_components; }
void addComponent(const Component &c);
void clearComponents();
ComponentList components() const;
void setSearchMode(SearchMode m) { m_mode = m; }
SearchMode searchMode() const { return m_mode; }
bool isNull() const { return m_components.isEmpty(); }
bool isNull() const;
bool isEmpty() const;
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment