QStringList QDir::entryList ( const QStringList & nameFilters, Filters filters = NoFilter, SortFlags sort = NoSort ) const
qDebug() << dir.entryList(QStringList() << "*.txt");