MythTV  0.26-pre
Classes | Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Slots | Private Attributes
RecordingProfile Class Reference

#include <recordingprofile.h>

Inheritance diagram for RecordingProfile:
ConfigurationWizard ConfigurationDialog Storage

List of all members.

Classes

class  ID
class  Name

Public Member Functions

 RecordingProfile (QString profName=QString())
virtual void loadByID (int id)
virtual bool loadByType (const QString &name, const QString &cardtype)
virtual bool loadByGroup (const QString &name, const QString &group)
virtual void CompleteLoad (int profileId, const QString &type, const QString &name)
virtual DialogCode exec (void)
void setCodecTypes ()
void setName (const QString &newName)
const ImageSizegetImageSize (void) const
int getProfileNum (void) const
QString getName (void) const
QString groupType (void) const

Static Public Member Functions

static QString getName (int id)
static QMap< int, QString > listProfiles (int group)
static void fillSelections (SelectSetting *setting, int group, bool foldautodetect=false)

Static Public Attributes

static const uint TranscoderAutodetect = 0
 sentinel value
static const int TranscoderGroup = 6
 hard-coded DB value

Private Slots

void ResizeTranscode (bool resize)
void SetLosslessTranscode (bool lossless)
void FiltersChanged (const QString &val)

Private Attributes

IDid
Namename
ImageSizeimageSize
TranscodeResizetr_resize
TranscodeLosslesstr_lossless
TranscodeFilterstr_filters
VideoCompressionSettingsvideoSettings
AudioCompressionSettingsaudioSettings
QString profileName
bool isEncoder

Detailed Description

Definition at line 39 of file recordingprofile.h.


Constructor & Destructor Documentation

RecordingProfile::RecordingProfile ( QString  profName = QString())

Definition at line 1190 of file recordingprofile.cpp.


Member Function Documentation

void RecordingProfile::loadByID ( int  id) [virtual]

Definition at line 1268 of file recordingprofile.cpp.

Referenced by Transcode::GetProfile(), and RecordingProfileEditor::open().

bool RecordingProfile::loadByType ( const QString &  name,
const QString &  cardtype 
) [virtual]

Definition at line 1310 of file recordingprofile.cpp.

Referenced by load_profile().

bool RecordingProfile::loadByGroup ( const QString &  name,
const QString &  group 
) [virtual]

Definition at line 1354 of file recordingprofile.cpp.

Referenced by Transcode::GetProfile().

void RecordingProfile::CompleteLoad ( int  profileId,
const QString &  type,
const QString &  name 
) [virtual]

Definition at line 1384 of file recordingprofile.cpp.

Referenced by loadByGroup(), loadByID(), and loadByType().

Definition at line 1435 of file recordingprofile.cpp.

Referenced by RecordingProfileEditor::open().

Definition at line 1427 of file recordingprofile.cpp.

Referenced by RecordingProfileEditor::open().

void RecordingProfile::setName ( const QString &  newName) [inline]

Definition at line 96 of file recordingprofile.h.

const ImageSize& RecordingProfile::getImageSize ( void  ) const [inline]

Definition at line 100 of file recordingprofile.h.

QString RecordingProfile::getName ( void  ) const [inline]

Definition at line 102 of file recordingprofile.h.

Referenced by RecordingProfileEditor::open().

QString RecordingProfile::groupType ( void  ) const

Definition at line 1664 of file recordingprofile.cpp.

Referenced by setCodecTypes().

QString RecordingProfile::getName ( int  id) [static]

Definition at line 1682 of file recordingprofile.cpp.

QMap< int, QString > RecordingProfile::listProfiles ( int  group) [static]

Definition at line 1603 of file recordingprofile.cpp.

Referenced by StoreOptMixin::Load(), and PostProcMixin::Load().

void RecordingProfile::fillSelections ( SelectSetting setting,
int  group,
bool  foldautodetect = false 
) [static]

Definition at line 1542 of file recordingprofile.cpp.

Referenced by RecordingProfileEditor::Load().

void RecordingProfile::ResizeTranscode ( bool  resize) [private, slot]

Definition at line 1240 of file recordingprofile.cpp.

Referenced by CompleteLoad(), and exec().

void RecordingProfile::SetLosslessTranscode ( bool  lossless) [private, slot]

Definition at line 1250 of file recordingprofile.cpp.

Referenced by CompleteLoad(), and exec().

void RecordingProfile::FiltersChanged ( const QString &  val) [private, slot]

Definition at line 1293 of file recordingprofile.cpp.

Referenced by CompleteLoad(), and exec().


Member Data Documentation

sentinel value

Definition at line 112 of file recordingprofile.h.

Referenced by JobQueue::DoTranscodeThread(), fillSelections(), JobQueue::GetJobCommand(), and listProfiles().

hard-coded DB value

Definition at line 113 of file recordingprofile.h.

Referenced by fillSelections(), listProfiles(), and PostProcMixin::Load().

Definition at line 121 of file recordingprofile.h.

Referenced by listProfiles().

Definition at line 122 of file recordingprofile.h.

Referenced by fillSelections(), listProfiles(), loadByID(), and RecordingProfile().

Definition at line 123 of file recordingprofile.h.

Definition at line 124 of file recordingprofile.h.

Referenced by CompleteLoad(), exec(), RecordingProfile(), and SetLosslessTranscode().

Definition at line 125 of file recordingprofile.h.

Referenced by CompleteLoad(), exec(), FiltersChanged(), and RecordingProfile().

Definition at line 127 of file recordingprofile.h.

Referenced by CompleteLoad(), and setCodecTypes().

Definition at line 128 of file recordingprofile.h.

Referenced by CompleteLoad(), and setCodecTypes().

QString RecordingProfile::profileName [private]

Definition at line 129 of file recordingprofile.h.

Referenced by CompleteLoad().

Definition at line 130 of file recordingprofile.h.

Referenced by CompleteLoad().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends