OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
FARFile Class Reference

#include "FAR.h"

Public Member Functions

 FARFile (const QString &_fullPath)
 
 FARFile (const FARFile &_other)
 
bool exists (void) const
 
bool readAll (void)
 
bool writeAll (void)
 
bool findText (const QString &_text, FARFilter::FilterFlags _textFilter, std::list< FARMatch > &_matches, int &_longestText, int &_longestPath) const
 
bool replaceText (const QString &_text, const QString &_newText, FARFilter::FilterFlags _textFilter, std::list< FARMatch > &_matches, int &_longestText, int &_longestPath)
 
void setFullPath (const QString &_fullPath)
 
const QString & fullPath (void) const
 
void setNameOnly (const QString &_name)
 
const QString & nameOnly (void) const
 
void setFileExtension (const QString &_extension)
 
const QString & fileExtension (void) const
 
void setTextLines (const QStringList &_lines)
 
const QStringList & textLines (void) const
 

Constructor & Destructor Documentation

◆ FARFile() [1/2]

FARFile::FARFile ( const QString & _fullPath)

◆ FARFile() [2/2]

FARFile::FARFile ( const FARFile & _other)

Member Function Documentation

◆ exists()

bool FARFile::exists ( void ) const

◆ fileExtension()

const QString & FARFile::fileExtension ( void ) const
inline

◆ findText()

bool FARFile::findText ( const QString & _text,
FARFilter::FilterFlags _textFilter,
std::list< FARMatch > & _matches,
int & _longestText,
int & _longestPath ) const

◆ fullPath()

const QString & FARFile::fullPath ( void ) const
inline

◆ nameOnly()

const QString & FARFile::nameOnly ( void ) const
inline

◆ readAll()

bool FARFile::readAll ( void )

◆ replaceText()

bool FARFile::replaceText ( const QString & _text,
const QString & _newText,
FARFilter::FilterFlags _textFilter,
std::list< FARMatch > & _matches,
int & _longestText,
int & _longestPath )

◆ setFileExtension()

void FARFile::setFileExtension ( const QString & _extension)
inline

◆ setFullPath()

void FARFile::setFullPath ( const QString & _fullPath)
inline

◆ setNameOnly()

void FARFile::setNameOnly ( const QString & _name)
inline

◆ setTextLines()

void FARFile::setTextLines ( const QStringList & _lines)
inline

◆ textLines()

const QStringList & FARFile::textLines ( void ) const
inline

◆ writeAll()

bool FARFile::writeAll ( void )

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