00001 #ifndef FOLDERCONTENT_H 00002 #define FOLDERCONTENT_H 00003 00004 #include <QVector> 00005 #include <QString> 00006 00007 class FolderContent 00008 { 00009 private: 00010 QVector<QString> *folderListAbsolutePaths; 00011 QVector<QString> *folderListFolderNames; 00012 QVector<QString> *fileListAbsolutePaths; 00013 QVector<QString> *fileListFileNames; 00014 00015 public: 00016 FolderContent(); 00017 00018 void updateFolderContent(QString path); 00019 QVector<QString> &getFolderListAbsolutePaths(); 00020 QVector<QString> &getFolderListFolderNames(); 00021 QVector<QString> &getFileListAbsolutePaths(); 00022 QVector<QString> &getFileListFileNames(); 00023 QString getFolderAbsolutePathAt(int index); 00024 }; 00025 00026 #endif // FOLDERCONTENT_H