Changeset 14196 for trunk/qt/file-tree.h
- Timestamp:
- Sep 8, 2013, 7:03:25 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/qt/file-tree.h
r14185 r14196 69 69 int fileIndex () const { return myFileIndex; } 70 70 uint64_t totalSize () const { return myTotalSize; } 71 QString path () const; 72 bool isComplete () const; 71 73 72 74 private: … … 116 118 void wantedChanged (const QSet<int>& fileIndices, bool); 117 119 void pathEdited (const QString& oldpath, const QString& newname); 120 void openRequested (const QString& path); 118 121 119 122 public: … … 139 142 public slots: 140 143 void clicked (const QModelIndex & index); 144 void doubleClicked (const QModelIndex & index); 141 145 }; 142 146 … … 168 172 void wantedChanged (const QSet<int>& fileIndices, bool wanted); 169 173 void pathEdited (const QString& oldpath, const QString& newname); 174 void openRequested (const QString& path); 170 175 171 176 protected: … … 179 184 public slots: 180 185 void onClicked (const QModelIndex& index); 186 void onDoubleClicked (const QModelIndex& index); 187 void onOpenRequested (const QString& path); 181 188 }; 182 189
Note: See TracChangeset
for help on using the changeset viewer.