87 int sortSpec =
Name | IgnoreCase,
int filterSpec = All );
95 virtual void setPath(
const QString &path );
97 virtual QString absPath()
const;
98 virtual QString canonicalPath()
const;
100 virtual QString dirName()
const;
102 bool acceptAbsPath =
TRUE )
const;
104 bool acceptAbsPath =
TRUE )
const;
108 virtual bool cd(
const QString &dirName,
bool acceptAbsPath =
TRUE );
112 virtual void setNameFilter(
const QString &nameFilter );
114 virtual void setFilter(
int filterSpec );
116 virtual void setSorting(
int sortSpec );
118 bool matchAllDirs()
const;
119 virtual void setMatchAllDirs(
bool );
122 QString operator[](
int )
const;
124 virtual QStrList encodedEntryList(
int filterSpec = DefaultFilter,
125 int sortSpec = DefaultSort )
const;
127 int filterSpec = DefaultFilter,
128 int sortSpec = DefaultSort )
const;
129 virtual QStringList entryList(
int filterSpec = DefaultFilter,
130 int sortSpec = DefaultSort )
const;
132 int filterSpec = DefaultFilter,
133 int sortSpec = DefaultSort )
const;
135 virtual const QFileInfoList *entryInfoList(
int filterSpec = DefaultFilter,
136 int sortSpec = DefaultSort )
const;
138 int filterSpec = DefaultFilter,
139 int sortSpec = DefaultSort )
const;
144 bool acceptAbsPath =
TRUE )
const;
146 bool acceptAbsPath =
TRUE )
const;
148 virtual bool isReadable()
const;
149 virtual bool exists()
const;
150 virtual bool isRoot()
const;
152 virtual bool isRelative()
const;
153 virtual void convertToAbs();
159 bool acceptAbsPath =
TRUE );
161 bool acceptAbsPaths =
TRUE );
163 bool acceptAbsPath =
TRUE );
165 static char separator();
167 static bool setCurrent(
const QString &path );
171 static QString currentDirPath();
178 static bool isRelativePath(
const QString &path );
182 virtual bool readDirEntries(
const QString &nameFilter,
185 static void slashify (
QString &);
225 return !(*
this ==
d);
Traverses directory structures and contents in a platform-independent way.
QString nameFilter() const
def mkdir(path, mode=0o777)
FilterSpec filter() const
ChannelGroupService::Name Name
The QString class provides an abstraction of Unicode text and the classic C null-terminated char arra...
QInternalListIterator< QFileInfo > QFileInfoListIterator
bool operator!=(ModuleKeyAndType const &a, ModuleKeyAndType const &b) noexcept
bool exists(std::string path)
QInternalList< QFileInfo > QFileInfoList
virtual bool operator!=(const QDir &) const
bool matchAllDirs() const
virtual QString path() const
static unsigned filter(unsigned char *out, const unsigned char *in, unsigned w, unsigned h, const LodePNG_InfoColor *info)
The QFileInfo class provides system-independent file information.
def filters(nticks=9600, tick=0.5 *units.us, npitches=3000, pitch=1.0)
bool operator==(ModuleKeyAndType const &a, ModuleKeyAndType const &b) noexcept