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:
@@ -134,6 +134,11 @@ public:
|
||||
return baseDir() == BaseDataDir;
|
||||
}
|
||||
|
||||
bool isLocalResource( void ) const
|
||||
{
|
||||
return m_provider->isLocal();
|
||||
}
|
||||
|
||||
const QString & tags( void ) const
|
||||
{
|
||||
return m_tags;
|
||||
|
||||
Reference in New Issue
Block a user