FileAssociation Class Reference

List of all members.


Detailed Description

Definition at line 18 of file fileassoc.cpp.


Public Member Functions

 FileAssociation (const QString &new_extension)
 FileAssociation (int i, const QString &e, const QString &p, bool g, bool u)
int getID () const
QString getExtension () const
QString getCommand () const
bool getDefault () const
bool getIgnore () const
void saveYourself ()
void deleteYourselfFromDB ()
void setDefault (bool yes_or_no)
void setIgnore (bool yes_or_no)
void setCommand (const QString &new_command)

Private Member Functions

void setChanged ()

Private Attributes

int id
QString extension
QString player_command
bool ignore
bool use_default
bool changed
bool loaded_from_db

Constructor & Destructor Documentation

FileAssociation::FileAssociation ( const QString &  new_extension  )  [inline]

Definition at line 25 of file fileassoc.cpp.

FileAssociation::FileAssociation ( int  i,
const QString &  e,
const QString &  p,
bool  g,
bool  u 
) [inline]

Definition at line 28 of file fileassoc.cpp.


Member Function Documentation

int FileAssociation::getID ( void   )  const [inline]

Definition at line 32 of file fileassoc.cpp.

Referenced by FileAssocDialog::showCurrentFA().

QString FileAssociation::getExtension (  )  const [inline]

Definition at line 33 of file fileassoc.cpp.

QString FileAssociation::getCommand (  )  const [inline]

Definition at line 34 of file fileassoc.cpp.

Referenced by FileAssocDialog::showCurrentFA().

bool FileAssociation::getDefault (  )  const [inline]

Definition at line 35 of file fileassoc.cpp.

Referenced by FileAssocDialog::showCurrentFA().

bool FileAssociation::getIgnore (  )  const [inline]

Definition at line 36 of file fileassoc.cpp.

Referenced by FileAssocDialog::showCurrentFA().

void FileAssociation::saveYourself (  )  [inline]

Definition at line 38 of file fileassoc.cpp.

void FileAssociation::deleteYourselfFromDB (  )  [inline]

Definition at line 49 of file fileassoc.cpp.

Referenced by FileAssocDialog::deleteCurrent().

void FileAssociation::setDefault ( bool  yes_or_no  )  [inline]

Definition at line 59 of file fileassoc.cpp.

Referenced by FileAssocDialog::toggleDefault().

void FileAssociation::setIgnore ( bool  yes_or_no  )  [inline]

Definition at line 68 of file fileassoc.cpp.

Referenced by FileAssocDialog::toggleIgnore().

void FileAssociation::setCommand ( const QString &  new_command  )  [inline]

Definition at line 77 of file fileassoc.cpp.

Referenced by FileAssocDialog::setPlayerCommand().

void FileAssociation::setChanged ( void   )  [inline, private]

Definition at line 96 of file fileassoc.cpp.

Referenced by setCommand(), setDefault(), and setIgnore().


Member Data Documentation

int FileAssociation::id [private]

Definition at line 87 of file fileassoc.cpp.

Referenced by getID().

QString FileAssociation::extension [private]

Definition at line 88 of file fileassoc.cpp.

Referenced by getExtension(), and saveYourself().

Definition at line 89 of file fileassoc.cpp.

Referenced by getCommand(), saveYourself(), and setCommand().

Definition at line 90 of file fileassoc.cpp.

Referenced by getIgnore(), saveYourself(), and setIgnore().

Definition at line 91 of file fileassoc.cpp.

Referenced by getDefault(), saveYourself(), and setDefault().

Definition at line 92 of file fileassoc.cpp.

Referenced by saveYourself(), and setChanged().

Definition at line 93 of file fileassoc.cpp.

Referenced by deleteYourselfFromDB(), and saveYourself().


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

Generated on Sat Dec 18 05:16:03 2010 for MythTV by  doxygen 1.5.5