LogDirectoryPicker Class Reference
+ Inheritance diagram for LogDirectoryPicker:

Public Member Functions

 LogDirectoryPicker (QWidget *parent)
 
const QString & currentPath () const
 
const bool & isLoggingEnabled () const
 
void setLoggingEnabled (const bool &enabled)
 
void setPathAndUpdate (const QString &path)
 Sets the Path, and calls updateLoggingEnabled. More...
 
const QString validatedCurrentPath () const
 returns a sanitized path. In case logging is disabled by the user, or the path inserted does not exist, returns an empty string. More...
 

Detailed Description

Definition at line 30 of file logdirectorypicker.h.

Member Function Documentation

void LogDirectoryPicker::setPathAndUpdate ( const QString &  path)

Sets the Path, and calls updateLoggingEnabled.

Definition at line 94 of file logdirectorypicker.cpp.

const QString LogDirectoryPicker::validatedCurrentPath ( ) const

returns a sanitized path. In case logging is disabled by the user, or the path inserted does not exist, returns an empty string.

Returns
QString path where the log has to be placed.

Definition at line 118 of file logdirectorypicker.cpp.


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