|
gio-qt 0.0.16
|


Public Member Functions | |
| DGioFileInfo (Gio::FileInfo *gmmFileInfoInfoPtr, QObject *parent=nullptr) | |
| QString | displayName () const |
| Gets a display name for a file. | |
| DGioFileType | fileType () const |
| DGioFileInfo::fileType. | |
| quint64 | fileSize () const |
| DGioFileInfo::fileSize. | |
| QString | contentType () const |
| get the file content type (MimeType). | |
| QString | iconString () const |
| DGioFileInfo::iconString. | |
| QStringList | themedIconNames () const |
| bool | fsReadOnly () const |
| quint64 | fsTotalBytes () const |
| quint64 | fsUsedBytes () const |
| quint64 | fsFreeBytes () const |
| QString | fsType () const |
| QString DGioFileInfo::contentType | ( | ) | const |
get the file content type (MimeType).
Wrapper of Gio::FileInfo::get_content_type()
| QString DGioFileInfo::displayName | ( | ) | const |
Gets a display name for a file.
A display name is guaranteed to be in UTF8 and can thus be displayed in the UI.
Wrapper of Gio::FileInfo::get_display_name(), internally it returns the G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME attribute value.
| quint64 DGioFileInfo::fileSize | ( | ) | const |
| DGioFileType DGioFileInfo::fileType | ( | ) | const |
Wrapper of Gio::FileInfo::get_file_type(), internally it returns the G_FILE_ATTRIBUTE_STANDARD_TYPE attribute value.
| QString DGioFileInfo::iconString | ( | ) | const |
Wrapper of Gio::FileInfo::get_icon() and then Gio::Icon::to_string().
Notice the returned value can be in two different forms: