OTHER: static open method for diriterators and fix typo
This commit is contained in:
parent
e4b23447dc
commit
7d978a25bc
5 changed files with 26 additions and 14 deletions
|
|
@ -15,8 +15,9 @@
|
|||
*/
|
||||
|
||||
#ifndef __DIRITERATORBASE_H__
|
||||
#define __DIRITERATIRBASE_H__
|
||||
#define __DIRITERATORBASE_H__
|
||||
|
||||
#include <QDir>
|
||||
#include <QString>
|
||||
#include <QPointer>
|
||||
#include <QIODevice>
|
||||
|
|
@ -33,11 +34,12 @@ public:
|
|||
|
||||
virtual QPointer<QIODevice> entry () = 0;
|
||||
|
||||
static DirIteratorBase *open(const QString &path);
|
||||
|
||||
// Included because I'm lazy, returns a QPixmap for the current entry.
|
||||
// If no pixmap can be createt for the current entry, an empty pixmap is
|
||||
// returned
|
||||
QPixmap pixmapEntry ();
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue