|
|
@ -116,15 +116,12 @@ class UBFeature |
|
|
|
{ |
|
|
|
{ |
|
|
|
public: |
|
|
|
public: |
|
|
|
UBFeature() {;} |
|
|
|
UBFeature() {;} |
|
|
|
// UBFeature(const UBFeature &f);
|
|
|
|
|
|
|
|
UBFeature(const QString &url, const QImage &icon, const QString &name, const QUrl &realPath, UBFeatureElementType type = FEATURE_CATEGORY); |
|
|
|
UBFeature(const QString &url, const QImage &icon, const QString &name, const QUrl &realPath, UBFeatureElementType type = FEATURE_CATEGORY); |
|
|
|
// UBFeature();
|
|
|
|
|
|
|
|
virtual ~UBFeature(); |
|
|
|
virtual ~UBFeature(); |
|
|
|
QString getName() const { return mName; } |
|
|
|
QString getName() const { return mName; } |
|
|
|
QString getDisplayName() const {return mDisplayName;} |
|
|
|
QString getDisplayName() const {return mDisplayName;} |
|
|
|
QImage getThumbnail() const {return mThumbnail;} |
|
|
|
QImage getThumbnail() const {return mThumbnail;} |
|
|
|
QString getVirtualPath() const { return virtualDir; } |
|
|
|
QString getVirtualPath() const { return virtualDir; } |
|
|
|
//QString getPath() const { return mPath; };
|
|
|
|
|
|
|
|
QUrl getFullPath() const { return mPath; } |
|
|
|
QUrl getFullPath() const { return mPath; } |
|
|
|
QString getFullVirtualPath() const { return virtualDir + "/" + mName; } |
|
|
|
QString getFullVirtualPath() const { return virtualDir + "/" + mName; } |
|
|
|
QString getUrl() const; |
|
|
|
QString getUrl() const; |
|
|
@ -169,7 +166,7 @@ public: |
|
|
|
virtual ~UBFeaturesController(); |
|
|
|
virtual ~UBFeaturesController(); |
|
|
|
|
|
|
|
|
|
|
|
QList <UBFeature>* getFeatures() const {return featuresList;} |
|
|
|
QList <UBFeature>* getFeatures() const {return featuresList;} |
|
|
|
|
|
|
|
|
|
|
|
const QString& getRootPath()const {return rootPath;} |
|
|
|
const QString& getRootPath()const {return rootPath;} |
|
|
|
void scanFS(); |
|
|
|
void scanFS(); |
|
|
|
|
|
|
|
|
|
|
|