mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 15:45:46 +08:00
refs #787, utility functions for shared files
* get file name from URL * service and file names in CDbInfo * adjusted DB flags, allow to load headers only * set of entity flags
This commit is contained in:
@@ -124,6 +124,11 @@ namespace BlackMisc
|
||||
setQUrl(QUrl(fullUrl));
|
||||
}
|
||||
|
||||
QString CUrl::getFileName() const
|
||||
{
|
||||
return toQUrl().fileName();
|
||||
}
|
||||
|
||||
QUrl CUrl::toQUrl() const
|
||||
{
|
||||
return QUrl(getFullUrl());
|
||||
|
||||
Reference in New Issue
Block a user