ResourcesItem: added isLocalResource() method

Added isLocalResource() method which returns whether it belongs to a
local ResourcesProvider or not.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
This commit is contained in:
Tobias Doerffel
2009-06-03 15:00:52 +02:00
parent 3eb96c418e
commit 39b489d522

View File

@@ -134,6 +134,11 @@ public:
return baseDir() == BaseDataDir;
}
bool isLocalResource( void ) const
{
return m_provider->isLocal();
}
const QString & tags( void ) const
{
return m_tags;