diff options
| author | Ahmad Samir <a.samirh78@gmail.com> | 2023-12-17 18:29:00 +0200 |
|---|---|---|
| committer | Ahmad Samir <a.samirh78@gmail.com> | 2024-03-03 20:28:54 +0200 |
| commit | e9126fd3abd00ce38d491da3f8fef61c02620996 (patch) | |
| tree | 4b31709fbbfdb69364e3de2976ab8f1982a46dc0 /src/plugins/platforms/android/androidcontentfileengine.cpp | |
| parent | 94dfcaac8aac3b8e49f537f4051a032f6faccb27 (diff) | |
QAbstractFileEngineIterator: general code cleanup
- This is private API, no point having the d-pointer indirection; store
the members in QAbstractFileEngineIterator directly. In subsequent
commits sub-classes can use m_fileInfo from the base class, saving
some space in e.g. QFSFileEngineIterator
- Make setPath() public, it's a setter called by some QAFEI sub-classes
- Remove EntryInfoType enum, nothing uses it
This is a step towards remodeling QAFEIterator, and its subclasses,
after QFileSystemIterator, i.e. adding a `virtual bool advance()`
method, and dropping next()/hasNext(). This also is more inline with the
QDirListing class (which uses STL-style iterators).
Change-Id: I8ad774b854231e3cdce4935f04c8bf24031001dd
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/plugins/platforms/android/androidcontentfileengine.cpp')
0 files changed, 0 insertions, 0 deletions
