digiKam
Digikam::FileSaveOptionsDlg Class Reference
+ Inheritance diagram for Digikam::FileSaveOptionsDlg:

Public Member Functions

 FileSaveOptionsDlg (QWidget *const parent, FileSaveOptionsBox *const options)
 
 ~FileSaveOptionsDlg ()
 

Static Public Member Functions

static DImg::FORMAT discoverFormat (const QString &filename, DImg::FORMAT fallback=DImg::NONE)
 

Constructor & Destructor Documentation

◆ FileSaveOptionsDlg()

Digikam::FileSaveOptionsDlg::FileSaveOptionsDlg ( QWidget *const  parent,
FileSaveOptionsBox *const  options 
)

◆ ~FileSaveOptionsDlg()

Digikam::FileSaveOptionsDlg::~FileSaveOptionsDlg ( )

Member Function Documentation

◆ discoverFormat()

static DImg::FORMAT Digikam::FileSaveOptionsDlg::discoverFormat ( const QString &  filename,
DImg::FORMAT  fallback = DImg::NONE 
)
static

Tries to discover a file format that has options to change based on a filename.

Parameters
filenamefile name to discover the desired format from
fallbackthe fallback format to return if no format could be discovered based on the filename
Returns
file format guessed from the file name or the given fallback format if no format could be guessed based on the file name

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