Lomiri
Loading...
Searching...
No Matches
FileIo Class Reference

The FileIo class. More...

#include <plugins/Utils/fileio.h>

Public Slots

bool remove (const QString path)

Public Member Functions

 FileIo (QObject *parent=0)

Detailed Description

The FileIo class.

This singleton class exposes file helpers to Qml

Definition at line 28 of file fileio.h.

Constructor & Destructor Documentation

◆ FileIo()

FileIo::FileIo ( QObject * parent = 0)

Definition at line 21 of file fileio.cpp.

22 : QObject(parent)
23{
24}

Member Function Documentation

◆ remove

bool FileIo::remove ( const QString path)
slot

Definition at line 26 of file fileio.cpp.

27{
28 if (!QFile::exists(path))
29 return true;
30
31 return QFile::remove(path);
32}

The documentation for this class was generated from the following files: