~ubuntu-filemanager-dev/ubuntu-filemanager-app/trunk

« back to all changes in this revision

Viewing changes to src/plugin/folderlistmodel/diriteminfo.h

Improved DirItemInfo and descendant classes:
* added DirItemInfo::setFile(const QString& newUrl) to change the current Item information
* fixed operator =.

Approved by Jenkins Bot, Arto Jalkanen.

Show diffs side-by-side

added added

removed removed

Lines of Context:
108
108
    virtual bool      isBrowsable() const;
109
109
    virtual bool      needsAuthentication() const;
110
110
    virtual QString   authenticationPath() const;
111
 
    virtual void      setFile(const QString &dir, const QString & file);    
 
111
    virtual void      setFile(const QString &dir, const QString & file);
 
112
    virtual void      setFile(const QString &fullname);
112
113
    virtual bool      permission(QFile::Permissions permissions) const;
113
114
    void              fillFromStatBuf(const struct stat& statBuffer);
114
115
    void              setAsHost();
 
116
    void              setAsShare();
115
117
 
116
118
public:
117
119
    static QString    removeExtraSlashes(const QString &url, int firstSlashIndex = -1);