Changeset 13810 for trunk/qt/file-tree.h


Ignore:
Timestamp:
Jan 20, 2013, 1:31:58 AM (10 years ago)
Author:
jordan
Message:

(trunk) #1220 'change top folder names' -- add file-renaming to the Qt client

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qt/file-tree.h

    r13384 r13810  
    102102        int rowCount( const QModelIndex& parent = QModelIndex( ) ) const;
    103103        int columnCount( const QModelIndex &parent = QModelIndex( ) ) const;
     104        virtual bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::EditRole );
    104105
    105106    signals:
    106107        void priorityChanged( const QSet<int>& fileIndices, int );
    107108        void wantedChanged( const QSet<int>& fileIndices, bool );
     109        void pathEdited (const QString& oldpath, const QString& newname);
    108110
    109111    public:
     
    155157        void priorityChanged( const QSet<int>& fileIndices, int );
    156158        void wantedChanged( const QSet<int>& fileIndices, bool );
     159        void pathEdited (const QString& oldpath, const QString& newname);
    157160
    158161    protected:
Note: See TracChangeset for help on using the changeset viewer.