LibEngsas
Public Member Functions | Private Attributes | List of all members
EMimeProgram Class Reference

An application, used by EMimeType. More...

#include <emimeprogram.h>

+ Inheritance diagram for EMimeProgram:
+ Collaboration diagram for EMimeProgram:

Public Member Functions

 EMimeProgram (QString newFilePath=QString(), EMimeType *newParent=0)
EMimeTypeparent () const
void setParent (EMimeType *newParent=0)
void setPath (QDir newPath)
void setPath (QString newPath)
QDir path () const
void setProgram (QString newFile)
void setProgram (QFileInfo newFile)
QString program () const
QFileInfo file () const
Q_DECL_DEPRECATED void setFilePath (QString newFilePath)
QString completePath () const
 Returns the complete path (e.g.: /usr/bin/kate).
bool operator== (const EMimeProgram &other) const
bool operator!= (const EMimeProgram &other) const
- Public Member Functions inherited from EMimeModelItem
 EMimeModelItem ()
virtual ~EMimeModelItem ()

Private Attributes

QFileInfo myFile
EMimeTypemyParent

Detailed Description

An application, used by EMimeType.

Constructor & Destructor Documentation

EMimeProgram::EMimeProgram ( QString  newFilePath = QString(),
EMimeType newParent = 0 
)

+ Here is the call graph for this function:

Member Function Documentation

QString EMimeProgram::completePath ( ) const

Returns the complete path (e.g.: /usr/bin/kate).

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

QFileInfo EMimeProgram::file ( ) const

all informations about the program filename

+ Here is the caller graph for this function:

bool EMimeProgram::operator!= ( const EMimeProgram other) const

+ Here is the call graph for this function:

bool EMimeProgram::operator== ( const EMimeProgram other) const

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

EMimeType * EMimeProgram::parent ( ) const

+ Here is the caller graph for this function:

QDir EMimeProgram::path ( ) const

path to program (e.g. /usr/bin is the path of /usr/bin/kate) can be set via

See Also
setPath(QDir newPath) and
setPath(QString newPath)

+ Here is the caller graph for this function:

QString EMimeProgram::program ( ) const

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void EMimeProgram::setFilePath ( QString  newFilePath)

set's path and filename at once (e.g. newFilePath = "/usr/bin/kate" for kate)

void EMimeProgram::setParent ( EMimeType newParent = 0)

+ Here is the caller graph for this function:

void EMimeProgram::setPath ( QDir  newPath)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void EMimeProgram::setPath ( QString  newPath)

+ Here is the call graph for this function:

void EMimeProgram::setProgram ( QString  newFile)

the filename of the program (e.g. kate from /usr/bin/kate)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void EMimeProgram::setProgram ( QFileInfo  newFile)

set's path and filename at once (e.g. newFile = "/usr/bin/kate" for kate)

Member Data Documentation

QFileInfo EMimeProgram::myFile
private
EMimeType* EMimeProgram::myParent
private

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