ArnLib  4.0.x
Active Registry Network
Arn::QmlMFileIO Class Reference

#include <ArnQmlMSystem.hpp>

Inheritance diagram for Arn::QmlMFileIO:
Collaboration diagram for Arn::QmlMFileIO:

Public Slots

void setPath (const QString &path)
 

Signals

void pathChanged (const QString &path)
 
void error (const QString &msg)
 

Public Member Functions

 QmlMFileIO (QObject *parent=arnNullptr)
 
Q_INVOKABLE QString read ()
 
Q_INVOKABLE bool write (const QString &data)
 
Q_INVOKABLE QByteArray readBytes ()
 
Q_INVOKABLE bool writeBytes (const QByteArray &data)
 
QString path ()
 

Properties

QString path
 

Detailed Description

Definition at line 41 of file ArnQmlMSystem.hpp.

Constructor & Destructor Documentation

◆ QmlMFileIO()

Arn::QmlMFileIO::QmlMFileIO ( QObject *  parent = arnNullptr)
explicit

Definition at line 41 of file ArnQmlMSystem.cpp.

Member Function Documentation

◆ error

void Arn::QmlMFileIO::error ( const QString &  msg)
signal

◆ path()

QString Arn::QmlMFileIO::path ( )

◆ pathChanged

void Arn::QmlMFileIO::pathChanged ( const QString &  path)
signal

◆ read()

QString Arn::QmlMFileIO::read ( )

Definition at line 47 of file ArnQmlMSystem.cpp.

◆ readBytes()

QByteArray Arn::QmlMFileIO::readBytes ( )

Definition at line 95 of file ArnQmlMSystem.cpp.

◆ setPath

void Arn::QmlMFileIO::setPath ( const QString &  path)
slot

Definition at line 141 of file ArnQmlMSystem.cpp.

◆ write()

bool Arn::QmlMFileIO::write ( const QString &  data)

Definition at line 77 of file ArnQmlMSystem.cpp.

◆ writeBytes()

bool Arn::QmlMFileIO::writeBytes ( const QByteArray &  data)

Definition at line 118 of file ArnQmlMSystem.cpp.

Property Documentation

◆ path

QString Arn::QmlMFileIO::path
readwrite

Definition at line 46 of file ArnQmlMSystem.hpp.


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