CFilePathesContainer.h
Go to the documentation of this file.
1 #ifndef ifileproc_CFilePathesContainer_included
2 #define ifileproc_CFilePathesContainer_included
3 
4 
5 // Qt includes
6 #include <QFileInfoList>
7 
8 // ACF includes
10 
11 #include "ifileproc/ifileproc.h"
12 
13 
14 namespace ifileproc
15 {
16 
17 
19 {
20 public:
21  void ResetFiles();
22 
27  virtual bool InsertFile(const QString& file, int index = -1, bool ignoreNonExistingFiles = false);
28 
29  // reimplemented (ifile::IFileListProvider)
30  virtual const QFileInfoList& GetFileList() const;
31 
32 private:
33  QFileInfoList m_fileList;
34 };
35 
36 
37 } // namespace ifileproc
38 
39 
40 #endif
41 
42 
virtual const QFileInfoList & GetFileList() const
virtual bool InsertFile(const QString &file, int index=-1, bool ignoreNonExistingFiles=false)
Insert a new file into the list.

© 2007-2011 Witold Gantzke and Kirill Lepskiy