Class: Dir
Prev
Next

Class: Dir

An object that represents a directory.

Constructors:

Methods:

Properties:

Dir ( string name )

  • string name - Name of the directory.

Constructs a dir in the given directory.

StringArray fileList ( string nameFilters )

  • string nameFilters - Specifies the name filters.

Returns a list of files in the directory that match the given name filters.

StringArray dirList ( string nameFilters )

  • string nameFilters - Specifies the name filters.

Returns a list of sub-directories in the directory that match the given name filters.

string path

The path of the folder.

Prev
Next
Home


Would you like to make a comment or contribute an update to this page?
Send feedback to the KDE Docs Team