MythTV  master
Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
MSqlQuery Class Reference

QSqlQuery wrapper that fetches a DB connection from the connection pool. More...

#include <mythdbcon.h>

Inheritance diagram for MSqlQuery:
Inheritance graph
[legend]
Collaboration diagram for MSqlQuery:
Collaboration graph
[legend]

Public Types

enum  ConnectionReuse { kDedicatedConnection, kNormalConnection }
 

Public Member Functions

 MSqlQuery (const MSqlQueryInfo &qi)
 Get DB connection from pool. More...
 
 ~MSqlQuery ()
 Returns connection to pool. More...
 
bool isConnected (void) const
 Only updated once during object creation. More...
 
bool exec (void)
 Wrap QSqlQuery::exec() so we can display SQL. More...
 
bool next (void)
 Wrap QSqlQuery::next() so we can display the query results. More...
 
bool previous (void)
 Wrap QSqlQuery::previous() so we can display the query results. More...
 
bool first (void)
 Wrap QSqlQuery::first() so we can display the query results. More...
 
bool last (void)
 Wrap QSqlQuery::last() so we can display the query results. More...
 
bool seek (int where, bool relative=false)
 Wrap QSqlQuery::seek(int,bool) More...
 
bool exec (const QString &query)
 Wrap QSqlQuery::exec(const QString &query) so we can display SQL. More...
 
bool prepare (const QString &query)
 QSqlQuery::prepare() is not thread safe in Qt <= 3.3.2. More...
 
void bindValue (const QString &placeholder, const QVariant &val)
 Add a single binding. More...
 
void bindValueNoNull (const QString &placeholder, const QVariant &val)
 Add a single binding, taking care not to set a NULL value. More...
 
void bindValues (const MSqlBindings &bindings)
 Add all the bindings in the passed in bindings. More...
 
QVariant lastInsertId ()
 Return the id of the last inserted row. More...
 
bool Reconnect (void)
 Reconnects server and re-prepares and re-binds the last prepared query. More...
 
bool lostConnectionCheck (void)
 lostConnectionCheck tests for SQL error codes that indicate the connection to the server has been lost. More...
 
QVariant value (int i) const
 
QString executedQuery (void) const
 
QVariantList boundValues (void) const
 
QSqlError lastError (void) const
 
int size (void) const
 
bool isActive (void) const
 
QSqlRecord record (void) const
 
int numRowsAffected () const
 
void setForwardOnly (bool f)
 
bool isNull (int field) const
 
const QSqlDriver * driver (void) const
 
int at (void) const
 

Static Public Member Functions

static bool testDBConnection ()
 Checks DB connection + login (login info via Mythcontext) More...
 
static MSqlQueryInfo InitCon (ConnectionReuse _reuse=kNormalConnection)
 Only use this in combination with MSqlQuery constructor. More...
 
static MSqlQueryInfo SchedCon ()
 Returns dedicated connection. (Required for using temporary SQL tables.) More...
 
static MSqlQueryInfo ChannelCon ()
 Returns dedicated connection. (Required for using temporary SQL tables.) More...
 

Private Member Functions

void bindValue (const QString &, const QVariant &, QSql::ParamType)
 
void bindValue (int, const QVariant &, QSql::ParamType)
 
void addBindValue (const QVariant &, QSql::ParamType=QSql::In)
 
bool seekDebug (const char *type, bool result, int where, bool relative) const
 

Private Attributes

MSqlDatabasem_db {nullptr}
 
bool m_isConnected {false}
 
bool m_returnConnection {false}
 
QString m_lastPreparedQuery
 

Friends

MBASE_PUBLIC friend void MSqlEscapeAsAQuery (QString &query, MSqlBindings &bindings)
 

Detailed Description

QSqlQuery wrapper that fetches a DB connection from the connection pool.

Myth & database connections Rule #1: Never use QSqlQuery or QSqlDatabase directly. Rule #2: Never use QSqlQuery or QSqlDatabase directly. Rule #3: Use MSqlQuery for all DB stuff.

MSqlQuery is tied to a connection pool in MythContext. DB connections are automatically set up by creating an MSqlQuery object. Use the helper functions to create an MSqlQuery object e.g. MSqlQuery query(MSqlQuery::InitCon()); The MSqlQuery object gets exclusive access to the connection for its lifetime. The connection is automatically returned when the MSqlQuery object is destroyed.

Note: Due to a bug in some Qt/MySql combinations, QSqlDatabase connections will crash if closed and reopend - so we never close them and keep them in a pool.

Definition at line 127 of file mythdbcon.h.

Member Enumeration Documentation

◆ ConnectionReuse

Enumerator
kDedicatedConnection 
kNormalConnection 

Definition at line 226 of file mythdbcon.h.

Constructor & Destructor Documentation

◆ MSqlQuery()

MSqlQuery::MSqlQuery ( const MSqlQueryInfo qi)
explicit

Get DB connection from pool.

Definition at line 529 of file mythdbcon.cpp.

◆ ~MSqlQuery()

MSqlQuery::~MSqlQuery ( )

Returns connection to pool.

Definition at line 538 of file mythdbcon.cpp.

Member Function Documentation

◆ isConnected()

bool MSqlQuery::isConnected ( void  ) const
inline

Only updated once during object creation.

Definition at line 137 of file mythdbcon.h.

Referenced by Myth::AddStorageGroupDir(), V2Myth::AddStorageGroupDir(), DBUtil::BackupDB(), ChannelBase::CheckChannel(), DBUtil::CheckTableColumnExists(), DBUtil::CheckTables(), ClearEIT(), DBUtil::CountClients(), DatabaseSettings::DatabaseSettings(), Capture::GetCaptureCard(), V2Capture::GetCaptureCard(), Capture::GetCaptureCardList(), V2Capture::GetCaptureCardList(), V2Capture::GetDiseqcConfigList(), V2Capture::GetDiseqcTreeList(), getGlobalSetting(), Myth::GetHosts(), V2Myth::GetHosts(), MythMainWindow::GetKey(), Myth::GetKeys(), V2Myth::GetKeys(), Content::GetMusic(), V2Content::GetMusic(), LogViewer::getSetting(), MythDB::GetSetting(), Myth::GetSettingList(), V2Myth::GetSettingList(), MythDB::GetSettingOnHost(), Myth::GetStorageGroupDirs(), V2Myth::GetStorageGroupDirs(), DBUtil::GetTables(), V2Capture::GetUserInputGroupList(), Content::GetVideo(), V2Content::GetVideo(), Channel::GetVideoMultiplex(), V2Channel::GetVideoMultiplex(), Channel::GetVideoMultiplexList(), V2Channel::GetVideoMultiplexList(), Channel::GetVideoSource(), V2Channel::GetVideoSource(), Channel::GetVideoSourceList(), V2Channel::GetVideoSourceList(), Channel::GetXMLTVIdList(), V2Channel::GetXMLTVIdList(), MythMainWindow::RegisterJump(), MythMainWindow::RegisterKey(), Myth::RemoveStorageGroupDir(), V2Myth::RemoveStorageGroupDir(), DBUtil::RepairTables(), MythDB::SaveSettingOnHost(), setGlobalSetting(), TVRec::ShouldSwitchToAnotherInput(), and HouseKeeperTask::UpdateLastRun().

◆ exec() [1/2]

bool MSqlQuery::exec ( void  )

Wrap QSqlQuery::exec() so we can display SQL.

Definition at line 619 of file mythdbcon.cpp.

Referenced by SingleValueImp::add(), MultiValueImp::add(), FileAssociationsImp::add(), add_genres(), ChannelGroup::AddChannel(), AddChannelGroup(), CardUtil::AddChildInput(), MythSessionManager::AddDigestUser(), V2Capture::AddDiseqcConfig(), V2Capture::AddDiseqcTree(), MusicFileScanner::AddFileToDB(), AddFileType(), RecordingInfo::AddHistory(), ProfileGroup::addMissingDynamicProfiles(), Scheduler::AddNewRecords(), Scheduler::AddNotListed(), V2Capture::AddRecProfile(), Myth::AddStorageGroupDir(), V2Myth::AddStorageGroupDir(), HTTPLiveStream::AddStream(), AllStream::addStream(), ChannelScanSM::AddToList(), ProfileGroup::allowedGroupName(), LiveTVChain::AppendNewProgram(), ChannelRecPriority::applyChannelRecPriorityChange(), RecordingInfo::ApplyOriginalAirDateChange(), RecordingInfo::ApplyRecordPlayGroupChange(), RecordingInfo::ApplyRecordRecGroupChange(), RecordingInfo::ApplyRecordRecID(), RecordingInfo::ApplyRecordRecTitleChange(), RecordingInfo::ApplyStarsChange(), RecordingInfo::ApplyStorageGroupChange(), RecordingInfo::ApplyTranscoderProfileChange(), RecordingInfo::ApplyTranscoderProfileChangeById(), MainServer::BackendQueryDiskSpace(), DBUtil::BackupDB(), Scheduler::BuildNewRecordsQueries(), VideoSourceEditor::cardTypesInclude(), change_program(), change_record(), MythSessionManager::ChangeDigestUserPassword(), JobQueue::ChangeJobArgs(), JobQueue::ChangeJobCmds(), JobQueue::ChangeJobComment(), JobQueue::ChangeJobFlags(), JobQueue::ChangeJobHost(), JobQueue::ChangeJobStatus(), chanid_available(), ChannelEditor::channelIconImport(), ChannelOptionsCommon::ChannelOptionsCommon(), ChannelScanSM::ChannelScanSM(), check_cardsource(), StorageGroup::CheckAllStorageGroupDirs(), ImportIconsWizard::checkAndDownload(), ChannelBase::CheckChannel(), TVRec::CheckChannelPrefix(), checkChannelPresets(), checkHandlers(), checkImageStoragePaths(), checkInputDisplayNames(), checkMusicAvailable(), ProgramInfo::CheckProgramIDAuthorities(), HTTPLiveStream::CheckStop(), checkStorageGroup(), checkStoragePaths(), CustomPriority::checkSyntax(), CustomEdit::checkSyntax(), DBUtil::CheckTableColumnExists(), DBUtil::CheckTables(), DBUtil::CheckTimeZoneSupport(), ImportMusicDialog::chooseBackend(), Ripper::chooseBackend(), MusicFileScanner::cleanDB(), CleanupTask::CleanupChannelTables(), CleanupTask::CleanupInUsePrograms(), CleanupMyOldInUsePrograms(), JobQueue::CleanupOldJobsInQueue(), CleanupTask::CleanupOldRecordings(), CleanupTask::CleanupOrphanedLiveTV(), CleanupTask::CleanupProgramListings(), CleanupTask::CleanupRecordedTables(), clearAllKeys(), GameHandler::clearAllMetadata(), clearArchiveTable(), EITCache::ClearChannelLocks(), ProgramData::ClearDataByChannel(), ImageDb< ImageAdapterLocal >::ClearDb(), ClearEIT(), ProgramInfo::ClearMarkupMap(), ProgramInfo::ClearPositionMap(), clearRSSArticles(), clearTreeItems(), clone_capturecard(), KeyBindings::CommitAction(), KeyBindings::CommitJumppoint(), CompleteJob(), TV::ConfiguredTunerCards(), DBUtil::CountClients(), ChannelEditor::Create(), DiSEqCDevDevice::CreateById(), CardUtil::CreateCaptureCard(), CardUtil::CreateCardInput(), ChannelUtil::CreateChannel(), Scheduler::CreateConflictLists(), MusicMetadata::createFromFilename(), MusicMetadata::createFromID(), CardUtil::CreateInputGroup(), CardInput::CreateNewInputGroupSlot(), PlayGroupEditor::CreateNewPlayBackGroupSlot(), RecordingProfileEditor::CreateNewProfile(), MythVideoProfile::CreateProfile(), MythVideoProfile::CreateProfileGroup(), StoreOptMixin::CreateRecordingGroup(), CreateRecordingGroup(), SourceUtil::CreateSource(), ImageDbLocal::CreateTable(), Scheduler::CreateTempTables(), PlaybackBox::createTranscodingProfilesMenu(), ChannelEditor::customEvent(), StorageGroupEditor::customEvent(), ProgramRecPriority::deactivate(), commDetector2::debugDirectory(), RecordingRule::Delete(), TransportListEditor::Delete(), delete_in_db(), delete_markup_datum(), delete_program(), CaptureCardEditor::DeleteAllCaptureCardsOnHost(), CardUtil::DeleteAllInputs(), JobQueue::DeleteAllJobs(), SourceUtil::DeleteAllSources(), SmartPlaylistEditor::deleteCategory(), ChannelGroup::DeleteChannel(), ChannelUtil::DeleteChannel(), CustomPriority::deleteClicked(), PhrasePopup::deleteClicked(), PowerSearchPopup::deleteClicked(), MythVideoProfile::DeleteDB(), GamePlayerSetting::deleteEntry(), PlayGroupConfig::deleteEntry(), RecordingProfile::deleteEntry(), ChannelGroupSetting::deleteEntry(), Ripper::deleteExistingTrack(), RomInfo::DeleteFromDatabase(), VideoMetadataImp::DeleteFromDatabase(), RecordingInfo::DeleteHistory(), CardUtil::DeleteInput(), PrevRecordedList::DeleteOldEpisode(), ProgLister::DeleteOldEpisode(), PrevRecordedList::DeleteOldSeries(), ProgLister::DeleteOldSeries(), ProgramData::DeleteOverlaps(), PlaylistContainer::deletePlaylist(), MythVideoProfile::DeleteProfileGroup(), LiveTVChain::DeleteProgram(), MainServer::DeleteRecordedFiles(), V2Capture::DeleteRecProfile(), CustomEdit::deleteRule(), ScanInfo::DeleteScan(), SmartPlaylistEditor::deleteSmartPlaylist(), SourceUtil::DeleteSource(), Scheduler::DeleteTempTables(), ChannelImporter::DeleteUnusedTransports(), LiveTVChain::DestroyChain(), MythSessionManager::DestroyUserSession(), DisplayRecGroup(), MainServer::DoDeleteInDB(), StorageGroupEditor::DoDeleteSlot(), StorageGroupDirSetting::DoDeleteSlot(), StatusBox::doListingsStatus(), StatusBox::doLogEntries(), GameScanner::doScanAll(), StatusBox::doScheduleStatus(), JobQueue::DoTranscodeThread(), StatusBox::doTunerStatus(), SearchStream::doUpdateStreams(), doUpgradeMusicDatabaseSchema(), doUpgradeTVDatabaseSchema(), doUpgradeVideoDatabaseSchema(), ImageDbLocal::DropTable(), MusicMetadata::dumpToDatabase(), AlbumArtImages::dumpToDatabase(), DiSEqCDevTree::Exists(), ExpertSettingsEditor::ExpertSettingsEditor(), AutoExpire::ExpireEpisodesOverMax(), AutoExpire::ExpireRecordings(), NativeArchive::exportRecording(), NativeArchive::exportVideo(), extractDetailsFromFilename(), SingleValueImp::fill_from_db(), MultiValueImp::fill_from_db(), FileAssociationsImp::fill_from_db(), FillCastMemberList(), RomInfo::fillData(), AutoExpire::FillDBOrdered(), V2Status::FillDriveSpace(), MusicMetadata::fillFieldList(), DTVMultiplex::FillFromDB(), ScanDTVTransport::FillFromDB(), FillGenreList(), ProgLister::FillItemList(), ChannelEditor::fillList(), ChannelRecPriority::FillList(), ProgramRecPriority::FillList(), PlaybackBox::fillRecGroupPasswordCache(), Scheduler::FillRecordingDir(), Scheduler::FillRecordListFromDB(), ImportNative::fillSearchList(), ProfileGroup::fillSelections(), Source::fillSelections(), RecordingProfile::fillSelections(), VideoSource::fillSelections(), CaptureCard::fillSelections(), Playlist::fillSonglistFromQuery(), Playlist::fillSonglistFromSmartPlaylist(), HttpStatus::FillStatusXML(), V2Status::FillStatusXML(), ProgLister::FillViewList(), findAllDBRSS(), findAllDBRSSByType(), findAllDBSearchGrabbers(), findAllDBTreeGrabbers(), findAllDBTreeGrabbersByHost(), findByURL(), ChannelUtil::FindChannel(), ImportNative::findChannelMatch(), StorageGroup::FindDirs(), ChannelID::findHighest(), AlbumArtImages::findImages(), FindInDB(), findInDB(), RecordingExtender::findKnownSport(), SourceManager::findScripts(), SourceManager::findScriptsDB(), findSearchGrabberByCommand(), findSearchGrabberInDB(), findTreeGrabberByCommand(), findTreeGrabberInDB(), LiveTVChain::FinishedRecording(), RecordingInfo::FinishedRecording(), ProgramData::fix_end_times(), FlagCommercials(), RecordingInfo::ForgetHistory(), FromProgramQuery(), get_atsc_stuff(), get_cardtype(), get_chan_id_from_db_atsc(), get_chan_id_from_db_dtv(), get_chan_id_from_db_dvb(), get_dtv_multiplex(), get_highest_input(), get_inputtypes(), get_max_chanid(), get_on_input(), get_use_eit(), get_valid_recorder_list(), StatusBox::getActualRecordedBPS(), MusicMetadata::getAlbumId(), CardUtil::GetAllInputInfo(), RomInfo::GetAllRomInfo(), Scheduler::GetAllScheduled(), ExportNative::getArchiveListFromDB(), MusicMetadata::getArtistId(), VideoMetaDataUtil::GetArtPath(), GetArtwork(), ChannelUtil::GetATSCChannel(), ChannelGroup::GetAutomaticChannelGroups(), V2Channel::GetAvailableChanid(), V2Status::GetBackendStatus(), ChannelUtil::GetBetterMplexID(), ChannelUtil::GetCachedPids(), Capture::GetCaptureCard(), V2Capture::GetCaptureCard(), Capture::GetCaptureCardList(), V2Capture::GetCaptureCardList(), GetCategoryList(), Guide::GetCategoryList(), V2Guide::GetCategoryList(), ChannelBase::GetChanID(), DVBChannel::GetChanID(), ChannelUtil::GetChanID(), ChannelUtil::GetChanIDs(), SourceUtil::GetChannelCount(), ChannelUtil::GetChannelCount(), ChannelUtil::GetChannelData(), ChannelGroup::GetChannelGroupId(), ChannelGroup::GetChannelGroupName(), MHIContext::GetChannelIndex(), TVRec::GetChannelInfo(), SourceUtil::GetChannelSeparator(), ChannelUtil::GetChannelsInternal(), ChannelUtil::GetChannelStringField(), ChannelUtil::GetChannelValueStr(), CardUtil::GetChildInputCount(), CardUtil::GetChildInputIDs(), MusicMetadata::getCompilationArtistId(), CardUtil::GetConfiguredDVBInputs(), ChannelUtil::GetConflicting(), CardUtil::GetConflictingInputs(), PlayGroup::GetCount(), HTTPLiveStream::GetDBStatus(), ChannelImporter::GetDBTransports(), ChannelUtil::GetDefaultAuthority(), RecordingRule::GetDefaultFilter(), ImageDb< ImageAdapterLocal >::GetDescendantCount(), ImageDb< ImageAdapterLocal >::GetDescendants(), CardUtil::GetDeviceInputGroup(), CardUtil::GetDeviceLabel(), TVRec::GetDevices(), ImageDb< ImageAdapterLocal >::GetDirectory(), MusicFileScanner::GetDirectoryId(), MusicMetadata::getDirectoryId(), V2Capture::GetDiseqcConfigList(), V2Capture::GetDiseqcTreeList(), CardUtil::GetDisplayName(), NativeArchive::getFieldList(), ProgramInfo::GetFilesize(), CardUtil::GetFirewireChangerModel(), CardUtil::GetFirewireChangerNode(), V4LChannel::GetFormatForChannel(), MusicMetadata::getGenreId(), getGlobalSetting(), StorageGroup::getGroupDirs(), CardUtil::GetGroupInputIDs(), MainServer::getGuideDataThrough(), ProfileGroup::getHostNames(), Myth::GetHosts(), V2Myth::GetHosts(), ChannelUtil::GetIcon(), PlayGroup::GetInitialName(), CardUtil::GetInputGroups(), CardUtil::GetInputIDs(), CardUtil::GetInputInfo(), CardUtil::GetInputList(), CardUtil::GetInputTypeNames(), CardUtil::GetInputTypes(), ChannelUtil::GetInputTypes(), ChannelUtil::GetIPTVTuningData(), JobQueue::GetJobArgs(), JobQueue::GetJobCmd(), JobQueue::GetJobFlags(), JobQueue::GetJobID(), JobQueue::GetJobInfoFromID(), JobQueue::GetJobsInQueue(), JobQueue::GetJobStatus(), MythMainWindow::GetKey(), Myth::GetKeys(), V2Myth::GetKeys(), V2Video::GetLastPlayPos(), SourceUtil::GetListingsLoginData(), HTTPLiveStream::GetLiveStreamInfoList(), CardUtil::GetLiveTVInputList(), Myth::GetLogs(), V2Myth::GetLogs(), ChannelGroup::GetManualChannelGroups(), ChannelUtil::GetMplexID(), SourceUtil::GetMplexIDs(), Content::GetMusic(), V2Content::GetMusic(), RecordingProfile::getName(), ProfileGroup::getName(), PlayGroup::GetNames(), TVRec::GetNextProgram(), DBEvent::GetOverlappingPrograms(), MythSessionManager::GetPasswordDigest(), DBPerson::GetPersonDB(), MythVideoProfile::GetProfileGroupID(), MythVideoProfile::GetProfiles(), RecordingProfile::GetProfiles(), Dvr::GetProgramCategories(), V2Dvr::GetProgramCategories(), CardUtil::GetQuickTuning(), ProgDetails::getRatings(), RecordingInfo::GetRecgroupID(), Dvr::GetRecGroupList(), V2Dvr::GetRecGroupList(), RecordingInfo::GetRecgroupString(), StorageGroup::getRecordingsGroups(), V2Capture::GetRecProfileGroupList(), Dvr::GetRecRuleFilterList(), V2Dvr::GetRecRuleFilterList(), StorageGroup::GetRelativePathname(), DBPerson::GetRoleDB(), RomInfo::GetRomInfoById(), getRSSArticles(), V2Video::GetSavedBookmark(), Video::GetSavedBookmark(), CardUtil::GetSchedInputList(), ChannelUtil::GetServiceVersion(), PlayGroup::GetSetting(), LogViewer::getSetting(), MythDB::GetSetting(), Myth::GetSetting(), V2Myth::GetSetting(), Myth::GetSettingList(), V2Myth::GetSettingList(), MythDB::GetSettingOnHost(), MythDB::GetSettings(), GetSettingsMap(), ProgFinder::getShowNames(), RemoteEncoder::GetSignalLockTimeout(), GetSiteList(), PlaylistEditorView::getSmartPlaylistCategories(), SmartPlaylistEditor::getSmartPlaylistCategories(), PlaylistEditorView::getSmartPlaylists(), PlaylistEditorView::getSmartPlaylistTracks(), SourceUtil::GetSourceID(), ChannelUtil::GetSourceID(), CardUtil::GetSourceID(), ChannelUtil::GetSourceIDForChannel(), SourceUtil::GetSourceName(), CardUtil::GetStartChannel(), Myth::GetStorageGroupDirs(), V2Myth::GetStorageGroupDirs(), Guide::GetStoredSearches(), V2Guide::GetStoredSearches(), DBUtil::GetTables(), RecordingRule::GetTemplateNames(), CardUtil::GetTimeouts(), Dvr::GetTitleInfoList(), V2Dvr::GetTitleInfoList(), Dvr::GetTitleList(), V2Dvr::GetTitleList(), getTreeArticles(), CardUtil::GetTunerTypeFromMultiplex(), ChannelUtil::GetTuningParams(), V2Capture::GetUserInputGroupList(), Content::GetVideo(), V2Content::GetVideo(), Content::GetVideoArtwork(), V2Content::GetVideoArtwork(), V2Video::GetVideoCommBreak(), V2Video::GetVideoCutList(), CardUtil::GetVideoDevices(), VideoSelector::getVideoListFromDB(), Channel::GetVideoMultiplex(), V2Channel::GetVideoMultiplex(), Channel::GetVideoMultiplexList(), V2Channel::GetVideoMultiplexList(), Channel::GetVideoSource(), V2Channel::GetVideoSource(), Channel::GetVideoSourceList(), V2Channel::GetVideoSourceList(), Channel::GetXMLTVIdList(), V2Channel::GetXMLTVIdList(), ImportNative::gotCallsign(), ImportNative::gotChanID(), ImportNative::gotChanNo(), ImportNative::gotName(), FillData::GrabData(), RecordingProfile::groupType(), ExportNative::handleAddVideo(), MythBurn::handleAddVideo(), ChannelData::handleChannels(), MainServer::HandleGetPendingRecordings(), MainServer::HandleLockTuner(), ProgramData::HandlePrograms(), MainServer::HandleQueryFindFile(), Scheduler::HandleReschedule(), MainServer::HandleScanMusic(), TV::HandleStateChange(), HardwareProfile::HardwareProfile(), SourceUtil::HasDigitalChannel(), NativeArchive::importRecording(), NativeArchive::importVideo(), ChannelBase::InitializeInput(), InitializeMythSchema(), ImportIconsWizard::initialLoad(), Scheduler::InitInputInfoMap(), EditPowerSearchPopup::initLists(), GameHandler::InitMetaDataMap(), insert_dtv_multiplex(), insert_markup_datum(), DBPerson::InsertCreditsDB(), DBEvent::InsertDB(), ProgInfo::InsertDB(), ImageDb< ImageAdapterLocal >::InsertDbImage(), insertGrabberInDB(), InsertInDB(), insertInDB(), DBPerson::InsertPersonDB(), RecordingInfo::InsertProgram(), DBPerson::InsertRoleDB(), insertRSSArticleInDB(), insertTreeArticleInDB(), CustomPriority::installClicked(), is_dishnet_eit(), SourceUtil::IsAnySourceScanable(), MythBurn::isArchiveItemValid(), SourceUtil::IsEncoder(), CardUtil::IsInputTypePresent(), IsMarked(), isNewTune(), SourceUtil::IsSourceIDValid(), isTreeInUse(), CardUtil::IsTunerShared(), ProgramData::IsUnchanged(), CardUtil::IsUniqueDisplayName(), RecordingRule::IsValid(), MythSessionManager::IsValidUser(), lastUpdate(), CardUtil::LinkInputGroup(), NetworkControl::listChannels(), NetworkControl::listRecordings(), NetworkControl::listSchedule(), StorageGroupEditor::Load(), MultiplexSetting::Load(), RecordingFile::Load(), StorageGroupListEditor::Load(), RecordingRule::Load(), DiSEqCDevSettings::Load(), InputSelector::Load(), PlaylistContainer::load(), ChannelInfo::Load(), GamePlayersList::Load(), ProgramInfoCache::Load(), SimpleDBStorage::Load(), StoreOptMixin::Load(), VideoSourceSelector::Load(), TransportListEditor::Load(), DiSEqCDevTree::Load(), VideoSourceShow::Load(), TransFreqTableSelector::Load(), FilterOptMixin::Load(), DiSEqCDevSwitch::Load(), DiSEqCDevRotor::Load(), DiSEqCDevSCR::Load(), DiSEqCDevLNB::Load(), CardInputEditor::Load(), InputGroup::Load(), load_markup_datum(), load_settings(), UPnpCDSMusic::LoadAlbums(), VideoMetadataListManager::loadAllFromDatabase(), UPnpCDSMusic::LoadArtists(), RecordingProfile::loadByGroup(), RecordingProfile::loadByID(), CardInput::loadByInput(), RecordingRule::LoadBySearch(), RecordingProfile::loadByType(), EITCache::LoadChannel(), MHIContext::LoadChannelCache(), ChannelGroupSetting::LoadChannelGroupChannels(), UPnpCDSTv::LoadChannels(), ChannelUtil::LoadChannels(), CustomEdit::loadClauses(), MythBurn::loadConfiguration(), KeyBindings::LoadContexts(), CustomPriority::loadData(), CustomEdit::loadData(), ScreenSetup::loadData(), SourceSetup::loadData(), UPnpCDSTv::LoadDates(), PrevRecordedList::LoadDates(), MythVideoProfile::LoadDB(), SmartPlaylistEditor::loadFromDatabase(), HTTPLiveStream::LoadFromDB(), LoadFromOldRecorded(), LoadFromRecorded(), UPnpCDSTv::LoadGenres(), UPnpCDSMusic::LoadGenres(), UPnpCDSVideo::LoadGenres(), ChannelInfo::LoadGroupIds(), ChannelInfo::LoadInputIds(), KeyBindings::LoadJumppoints(), ProgDetails::loadPage(), Playlist::loadPlaylist(), Playlist::loadPlaylistByID(), ProgramInfo::LoadProgramFromRecorded(), UPnpCDSTv::LoadRecGroups(), UPnpCDSTv::LoadRecordings(), LoadScan(), LoadScanList(), UPnpCDSVideo::LoadSeasons(), UPnpCDSVideo::LoadSeries(), MythSessionManager::LoadSessions(), MythNews::loadSites(), AllStream::loadStreams(), RecordingRule::LoadTemplate(), UPnpCDSTv::LoadTitles(), PrevRecordedList::LoadTitles(), UPnpCDSMusic::LoadTracks(), UPnpCDSVideo::LoadVideos(), FileServerHandler::LocalFilePath(), MainServer::LocalFilePath(), lock_channel(), lockShutdown(), MythSessionManager::LoginUser(), SmartPlaylistEditor::lookupCategoryID(), main(), ProgramInfo::MarkAsInUse(), ScanInfo::MarkProcessed(), markTreeUpdated(), markUpdated(), RecordingExtender::nameCleanup(), needsMFDBReminder(), SmartPlaylistEditor::newCategory(), Scheduler::OldRecordedFixups(), OverTimeCategory(), IPTVChannelFetcher::ParsePlaylist(), performUpdateSeries(), MusicMetadata::persist(), ProgDetails::PowerPriorities(), WeatherSource::ProbeScript(), WeatherSource::processExit(), ProgLister::ProgLister(), program_exists(), ProgramInfo::ProgramInfo(), purgeGameDB(), Scheduler::PutInactiveSlavesToSleep(), ProgramInfo::QueryAutoExpire(), ProgramInfo::QueryAverageAspectRatio(), ProgramInfo::QueryBasename(), ProgramInfo::QueryBDBookmark(), ProgramInfo::QueryBookmarkTimeStamp(), ProgramInfo::QueryCategoryType(), PlaybackState::QueryData(), DBUtil::QueryDBMSVersion(), ProgramInfo::QueryDVDBookmark(), FileServerHandler::QueryFileSystems(), ProgramInfo::QueryInUseMap(), ProgramInfo::QueryIsEditing(), ProgramInfo::QueryIsInUse(), ProgramInfo::QueryJobsRunning(), ProgramInfo::QueryKeyFrameInfo(), ProgramInfo::QueryKeyFromPathname(), HouseKeeperTask::QueryLast(), ProgramInfo::QueryMarkup(), ProgramInfo::QueryMarkupMap(), ProgramInfo::QueryMplexID(), ProgramInfo::QueryPositionMap(), RecordingInfo::QueryRecordedIdForKey(), ProgramInfo::QueryRecordedIdFromPathname(), ProgramInfo::QueryRecordingGroup(), ProgramInfo::QueryRecordingGroupPassword(), ProgramInfo::QueryTranscoderID(), ProgramInfo::QueryTranscodeStatus(), ProgramInfo::QueryTuningInfo(), JobQueue::QueueJob(), RecordingInfo::ReactivateRecording(), ImageDb< ImageAdapterLocal >::ReadAllImages(), ImageDb< ImageAdapterLocal >::ReadImages(), RecordingInfo::RecordingInfo(), MythMainWindow::RegisterJump(), MythMainWindow::RegisterKey(), LiveTVChain::ReloadAll(), ReloadBookmark(), SingleValueImp::remove(), MultiValueImp::remove(), FileAssociationsImp::remove(), RemoveChannelGroup(), MythSessionManager::RemoveDigestUser(), V2Capture::RemoveDiseqcConfig(), V2Capture::RemoveDiseqcTree(), MusicFileScanner::RemoveFileFromDB(), RemoveFromDB(), removeFromDB(), ImageDb< ImageAdapterLocal >::RemoveFromDB(), removeGrabberFromDB(), ExportNative::removeItem(), Myth::RemoveStorageGroupDir(), V2Myth::RemoveStorageGroupDir(), HTTPLiveStream::RemoveStream(), AllStream::removeStream(), SmartPlaylistEditor::renameCategory(), DBUtil::RepairTables(), Scheduler::ResetDuplicates(), ResetHomepageFromDB(), RestoreData::Restore(), AllMusic::resync(), romInDB(), FillData::Run(), runHomepage(), JobQueue::SafeDeleteJob(), ChannelID::Save(), RecordingFile::Save(), PlayGroupConfig::Save(), RecordingRule::Save(), SimpleDBStorage::Save(), MythUserSession::Save(), RestoreData::Save(), TransFreqTableSelector::Save(), AutoIncrementSetting::Save(), ChannelGroupSetting::Save(), XMLTVGrabber::Save(), ProgramInfo::SaveAspect(), ProgramInfo::SaveAutoExpire(), ProgramInfo::SaveBasename(), ProgramInfo::SaveBDBookmark(), ChannelUtil::SaveCachedPids(), SmartPlaylistEditor::saveClicked(), ProgramInfo::SaveCommFlagged(), ExportNative::saveConfiguration(), MythBurn::saveConfiguration(), ProgramInfo::SaveCutList(), ScreenSetup::saveData(), SourceSetup::saveData(), MythVideoProfile::SaveDB(), ProgramInfo::SaveDeletePendingFlag(), ProgramInfo::SaveDVDBookmark(), ProgramInfo::SaveEditing(), ProgramInfo::SaveFilesize(), ProgramInfo::SaveFrameRate(), MusicMetadata::saveHostname(), ProgramInfo::SaveInetRef(), ProgramInfo::SaveMarkup(), ProgramInfo::SaveMarkupMap(), Playlist::savePlaylist(), ProgramInfo::SavePositionMap(), ProgramInfo::SavePositionMapDelta(), ProgramInfo::SavePreserve(), ProgramInfo::SaveResolution(), SaveScan(), ScanDTVTransport::SaveScan(), ChannelInsertInfo::SaveScan(), ProgramInfo::SaveSeasonEpisode(), HTTPLiveStream::SaveSegmentInfo(), MythDB::SaveSettingOnHost(), SmartPLCriteriaRow::saveToDatabase(), RomInfo::SaveToDatabase(), VideoMetadataImp::saveToDatabase(), ProgramInfo::SaveTranscodeStatus(), ProgramInfo::SaveVideoProperties(), ProgramInfo::SaveVideoScanType(), ProgramInfo::SaveWatched(), MusicFileScanner::ScanArtwork(), MusicFileScanner::ScanMusic(), ProgramRecPriority::scheduleChanged(), set_on_input(), SetArtwork(), TVRec::SetChannelInfo(), ChannelUtil::SetChannelValue(), ImageDb< ImageAdapterLocal >::SetCover(), RecordingInfo::SetDupHistory(), RomInfo::setFavorite(), setGlobalSetting(), ImageDb< ImageAdapterLocal >::SetHidden(), V2Video::SetLastPlayPos(), ImageDb< ImageAdapterLocal >::SetOrientation(), ScanWizard::SetPaneDefaults(), PlaybackBox::SetRecGroupPassword(), V2Video::SetSavedBookmark(), Video::SetSavedBookmark(), ChannelUtil::SetServiceVersion(), SmartPLResultViewer::setSQL(), CardUtil::SetStartChannel(), Weather::SetupScreens(), SourceManager::setupSources(), setupTVs(), ChannelUtil::SetVisible(), TVRec::ShouldSwitchToAnotherInput(), PlaybackBox::showGroupFilter(), PlaybackBox::ShowRecGroupChanger(), GeneralSettings::slotDoResetDB(), MythNews::slotNewsRetrieved(), ChannelOptionsCommon::sourceChanged(), HouseKeeper::Start(), EITScanner::StartActiveScan(), RecordingInfo::StartedRecording(), WeatherSource::startUpdate(), HTTPLiveStream::StopStream(), DiSEqCDevSettings::Store(), DiSEqCDevTree::Store(), DiSEqCDevSwitch::Store(), DiSEqCDevRotor::Store(), DiSEqCDevSCR::Store(), DiSEqCDevLNB::Store(), CustomEdit::storeClicked(), ChannelBase::StoreInputChannels(), CustomEdit::storeRule(), CustomPriority::testSchedule(), ChannelGroup::ToggleChannel(), MainServer::TruncateAndClose(), DBUtil::TryLockSchema(), CardUtil::UnlinkInputGroup(), unlock_channel(), DBUtil::UnlockSchema(), unlockShutdown(), SearchStream::updateBroadcasters(), ChannelUtil::UpdateChannel(), ChannelGroup::UpdateChannelGroups(), ChannelUtil::UpdateChannelNumberFromDB(), SearchStream::updateCountries(), DBEvent::UpdateDB(), ImageDb< ImageAdapterLocal >::UpdateDbImage(), UpdateDBVersionNumber(), V2Capture::UpdateDiseqcTree(), updateDiskCount(), updateDisplayRom(), AutoExpire::UpdateDontExpireSet(), Scheduler::UpdateDuplicates(), UpdateGameCounts(), GameHandler::UpdateGameDB(), updateGameName(), SearchStream::updateGenres(), VideoMetadata::UpdateHashedDBRecord(), UpdateHashes(), UpdateHomepageInDB(), ChannelUtil::UpdateInsertInfoFromDB(), ChannelUtil::UpdateIPTVTuningData(), ProgLister::UpdateKeywordInDB(), SearchStream::updateLanguages(), ProgramInfo::UpdateLastDelete(), ProgramInfo::UpdateLastPlayTimeStamp(), HouseKeeperTask::UpdateLastRun(), Scheduler::UpdateManuals(), ProgramInfo::UpdateMarkTimeStamp(), SmartPlaylistEditor::updateMatches(), Scheduler::UpdateMatches(), Scheduler::UpdateNextRecord(), HTTPLiveStream::UpdatePercentComplete(), RecordingInfo::UpdateRecordingEnd(), V2Capture::UpdateRecProfile(), V2Capture::UpdateRecProfileParam(), GameHandler::updateSettings(), HTTPLiveStream::UpdateSizeInfo(), SourceUtil::UpdateSource(), HTTPLiveStream::UpdateStatus(), HTTPLiveStream::UpdateStatusMessage(), AllStream::updateStream(), MusicMetadata::updateStreamList(), SearchView::updateTracksList(), PlaybackBox::UpdateUILists(), Channel::UpdateVideoSource(), V2Channel::UpdateVideoSource(), UpgradeGameDatabaseSchema(), RecordingRule::UseTempTable(), V2CreateRecordingGroup(), V2FillCastMemberList(), V2FillGenreList(), Scheduler::VerifyCards(), GameHandler::VerifyGameDB(), WaitToDelete(), and EITCache::WriteToDB().

◆ next()

bool MSqlQuery::next ( void  )

Wrap QSqlQuery::next() so we can display the query results.

Definition at line 813 of file mythdbcon.cpp.

Referenced by SingleValueImp::add(), FileAssociationsImp::add(), ProfileGroup::addMissingDynamicProfiles(), Scheduler::AddNewRecords(), Scheduler::AddNotListed(), V2Capture::AddRecProfile(), Myth::AddStorageGroupDir(), V2Myth::AddStorageGroupDir(), HTTPLiveStream::AddStream(), ChannelScanSM::AddToList(), ProfileGroup::allowedGroupName(), RecordingInfo::ApplyTranscoderProfileChange(), MainServer::BackendQueryDiskSpace(), Scheduler::BuildNewRecordsQueries(), VideoSourceEditor::cardTypesInclude(), ChannelEditor::channelIconImport(), ChannelOptionsCommon::ChannelOptionsCommon(), ChannelScanSM::ChannelScanSM(), check_cardsource(), StorageGroup::CheckAllStorageGroupDirs(), TVRec::CheckChannelPrefix(), checkChannelPresets(), checkHandlers(), checkImageStoragePaths(), checkInputDisplayNames(), checkMusicAvailable(), ProgramInfo::CheckProgramIDAuthorities(), DBUtil::CheckRepairStatus(), HTTPLiveStream::CheckStop(), checkStorageGroup(), checkStoragePaths(), DBUtil::CheckTableColumnExists(), DBUtil::CheckTimeZoneSupport(), ImportMusicDialog::chooseBackend(), Ripper::chooseBackend(), MusicFileScanner::cleanDB(), CleanupTask::CleanupOrphanedLiveTV(), CleanupTask::CleanupProgramListings(), CleanupTask::CleanupRecordedTables(), clone_capturecard(), TV::ConfiguredTunerCards(), DBUtil::CountClients(), ChannelEditor::Create(), DiSEqCDevDevice::CreateById(), CardUtil::CreateCaptureCard(), Scheduler::CreateConflictLists(), MusicMetadata::createFromFilename(), MusicMetadata::createFromID(), CardUtil::CreateInputGroup(), CardInput::CreateNewInputGroupSlot(), PlayGroupEditor::CreateNewPlayBackGroupSlot(), RecordingProfileEditor::CreateNewProfile(), MythVideoProfile::CreateProfile(), SourceUtil::CreateSource(), PlaybackBox::createTranscodingProfilesMenu(), ChannelEditor::customEvent(), ProgramRecPriority::deactivate(), commDetector2::debugDirectory(), CaptureCardEditor::DeleteAllCaptureCardsOnHost(), JobQueue::DeleteAllJobs(), SmartPlaylistEditor::deleteCategory(), ChannelGroup::DeleteChannel(), Ripper::deleteExistingTrack(), CardUtil::DeleteInput(), ProgramData::DeleteOverlaps(), MythVideoProfile::DeleteProfileGroup(), MainServer::DeleteRecordedFiles(), DisplayRecGroup(), StatusBox::doListingsStatus(), StatusBox::doLogEntries(), GameScanner::doScanAll(), StatusBox::doScheduleStatus(), JobQueue::DoTranscodeThread(), StatusBox::doTunerStatus(), SearchStream::doUpdateStreams(), doUpgradeMusicDatabaseSchema(), doUpgradeTVDatabaseSchema(), doUpgradeVideoDatabaseSchema(), DiSEqCDevTree::Exists(), ExpertSettingsEditor::ExpertSettingsEditor(), AutoExpire::ExpireEpisodesOverMax(), AutoExpire::ExpireRecordings(), NativeArchive::exportRecording(), NativeArchive::exportVideo(), extractDetailsFromFilename(), SingleValueImp::fill_from_db(), MultiValueImp::fill_from_db(), FileAssociationsImp::fill_from_db(), fill_settings(), FillCastMemberList(), RomInfo::fillData(), AutoExpire::FillDBOrdered(), V2Status::FillDriveSpace(), MusicMetadata::fillFieldList(), DTVMultiplex::FillFromDB(), ScanDTVTransport::FillFromDB(), FillGenreList(), ProgLister::FillItemList(), ChannelEditor::fillList(), ChannelRecPriority::FillList(), ProgramRecPriority::FillList(), PlaybackBox::fillRecGroupPasswordCache(), Scheduler::FillRecordingDir(), ImportNative::fillSearchList(), ProfileGroup::fillSelections(), Source::fillSelections(), RecordingProfile::fillSelections(), VideoSource::fillSelections(), CaptureCard::fillSelections(), Playlist::fillSonglistFromQuery(), Playlist::fillSonglistFromSmartPlaylist(), HttpStatus::FillStatusXML(), V2Status::FillStatusXML(), ProgLister::FillViewList(), findAllDBRSS(), findAllDBRSSByType(), findAllDBSearchGrabbers(), findAllDBTreeGrabbers(), findAllDBTreeGrabbersByHost(), findByURL(), ChannelUtil::FindChannel(), ImportNative::findChannelMatch(), StorageGroup::FindDirs(), ChannelID::findHighest(), AlbumArtImages::findImages(), RecordingExtender::findKnownSport(), SourceManager::findScripts(), SourceManager::findScriptsDB(), ProgramData::fix_end_times(), FlagCommercials(), FromProgramQuery(), get_atsc_stuff(), get_cardtype(), get_chan_id_from_db_atsc(), get_chan_id_from_db_dtv(), get_chan_id_from_db_dvb(), get_dtv_multiplex(), get_highest_input(), get_inputtypes(), get_max_chanid(), get_on_input(), get_use_eit(), get_valid_recorder_list(), StatusBox::getActualRecordedBPS(), MusicMetadata::getAlbumId(), CardUtil::GetAllInputInfo(), RomInfo::GetAllRomInfo(), Scheduler::GetAllScheduled(), ExportNative::getArchiveListFromDB(), MusicMetadata::getArtistId(), VideoMetaDataUtil::GetArtPath(), GetArtwork(), ChannelUtil::GetATSCChannel(), ChannelGroup::GetAutomaticChannelGroups(), V2Channel::GetAvailableChanid(), V2Status::GetBackendStatus(), ChannelUtil::GetBetterMplexID(), ChannelUtil::GetCachedPids(), Capture::GetCaptureCard(), V2Capture::GetCaptureCard(), Capture::GetCaptureCardList(), V2Capture::GetCaptureCardList(), GetCategoryList(), Guide::GetCategoryList(), V2Guide::GetCategoryList(), ChannelBase::GetChanID(), DVBChannel::GetChanID(), ChannelUtil::GetChanID(), ChannelUtil::GetChanIDs(), SourceUtil::GetChannelCount(), ChannelUtil::GetChannelData(), ChannelGroup::GetChannelGroupId(), ChannelGroup::GetChannelGroupName(), MHIContext::GetChannelIndex(), TVRec::GetChannelInfo(), SourceUtil::GetChannelSeparator(), ChannelUtil::GetChannelsInternal(), ChannelUtil::GetChannelStringField(), ChannelUtil::GetChannelValueStr(), CardUtil::GetChildInputCount(), CardUtil::GetChildInputIDs(), MusicMetadata::getCompilationArtistId(), CardUtil::GetConfiguredDVBInputs(), ChannelUtil::GetConflicting(), CardUtil::GetConflictingInputs(), PlayGroup::GetCount(), HTTPLiveStream::GetDBStatus(), ChannelImporter::GetDBTransports(), ChannelUtil::GetDefaultAuthority(), RecordingRule::GetDefaultFilter(), ImageDb< ImageAdapterLocal >::GetDescendantCount(), ImageDb< ImageAdapterLocal >::GetDescendants(), CardUtil::GetDeviceInputGroup(), CardUtil::GetDeviceLabel(), TVRec::GetDevices(), ImageDb< ImageAdapterLocal >::GetDirectory(), MusicFileScanner::GetDirectoryId(), MusicMetadata::getDirectoryId(), V2Capture::GetDiseqcConfigList(), V2Capture::GetDiseqcTreeList(), CardUtil::GetDisplayName(), NativeArchive::getFieldList(), ProgramInfo::GetFilesize(), CardUtil::GetFirewireChangerModel(), CardUtil::GetFirewireChangerNode(), V4LChannel::GetFormatForChannel(), MusicMetadata::getGenreId(), getGlobalSetting(), StorageGroup::getGroupDirs(), CardUtil::GetGroupInputIDs(), MainServer::getGuideDataThrough(), ProfileGroup::getHostNames(), Myth::GetHosts(), V2Myth::GetHosts(), ChannelUtil::GetIcon(), PlayGroup::GetInitialName(), CardUtil::GetInputGroups(), CardUtil::GetInputIDs(), CardUtil::GetInputInfo(), CardUtil::GetInputList(), CardUtil::GetInputTypeNames(), CardUtil::GetInputTypes(), ChannelUtil::GetInputTypes(), ChannelUtil::GetIPTVTuningData(), JobQueue::GetJobArgs(), JobQueue::GetJobCmd(), JobQueue::GetJobFlags(), JobQueue::GetJobID(), JobQueue::GetJobInfoFromID(), JobQueue::GetJobsInQueue(), JobQueue::GetJobStatus(), MythMainWindow::GetKey(), Myth::GetKeys(), V2Myth::GetKeys(), V2Video::GetLastPlayPos(), SourceUtil::GetListingsLoginData(), HTTPLiveStream::GetLiveStreamInfoList(), CardUtil::GetLiveTVInputList(), Myth::GetLogs(), V2Myth::GetLogs(), ChannelGroup::GetManualChannelGroups(), ChannelUtil::GetMplexID(), SourceUtil::GetMplexIDs(), Content::GetMusic(), V2Content::GetMusic(), RecordingProfile::getName(), ProfileGroup::getName(), PlayGroup::GetNames(), TVRec::GetNextProgram(), DBEvent::GetOverlappingPrograms(), MythSessionManager::GetPasswordDigest(), DBPerson::GetPersonDB(), MythVideoProfile::GetProfileGroupID(), MythVideoProfile::GetProfiles(), RecordingProfile::GetProfiles(), Dvr::GetProgramCategories(), V2Dvr::GetProgramCategories(), CardUtil::GetQuickTuning(), ProgDetails::getRatings(), RecordingInfo::GetRecgroupID(), Dvr::GetRecGroupList(), V2Dvr::GetRecGroupList(), RecordingInfo::GetRecgroupString(), StorageGroup::getRecordingsGroups(), V2Capture::GetRecProfileGroupList(), Dvr::GetRecRuleFilterList(), V2Dvr::GetRecRuleFilterList(), StorageGroup::GetRelativePathname(), DBPerson::GetRoleDB(), RomInfo::GetRomInfoById(), getRSSArticles(), V2Video::GetSavedBookmark(), Video::GetSavedBookmark(), CardUtil::GetSchedInputList(), ChannelUtil::GetServiceVersion(), PlayGroup::GetSetting(), LogViewer::getSetting(), MythDB::GetSetting(), Myth::GetSetting(), V2Myth::GetSetting(), Myth::GetSettingList(), V2Myth::GetSettingList(), MythDB::GetSettingOnHost(), MythDB::GetSettings(), GetSettingsMap(), ProgFinder::getShowNames(), RemoteEncoder::GetSignalLockTimeout(), GetSiteList(), PlaylistEditorView::getSmartPlaylistCategories(), SmartPlaylistEditor::getSmartPlaylistCategories(), PlaylistEditorView::getSmartPlaylists(), PlaylistEditorView::getSmartPlaylistTracks(), SourceUtil::GetSourceID(), ChannelUtil::GetSourceID(), CardUtil::GetSourceID(), ChannelUtil::GetSourceIDForChannel(), SourceUtil::GetSourceName(), CardUtil::GetStartChannel(), Myth::GetStorageGroupDirs(), V2Myth::GetStorageGroupDirs(), Guide::GetStoredSearches(), V2Guide::GetStoredSearches(), DBUtil::GetTables(), RecordingRule::GetTemplateNames(), CardUtil::GetTimeouts(), Dvr::GetTitleInfoList(), V2Dvr::GetTitleInfoList(), Dvr::GetTitleList(), V2Dvr::GetTitleList(), getTreeArticles(), CardUtil::GetTunerTypeFromMultiplex(), ChannelUtil::GetTuningParams(), V2Capture::GetUserInputGroupList(), Content::GetVideo(), V2Content::GetVideo(), Content::GetVideoArtwork(), V2Content::GetVideoArtwork(), V2Video::GetVideoCommBreak(), V2Video::GetVideoCutList(), CardUtil::GetVideoDevices(), VideoSelector::getVideoListFromDB(), Channel::GetVideoMultiplex(), V2Channel::GetVideoMultiplex(), Channel::GetVideoSource(), V2Channel::GetVideoSource(), Channel::GetVideoSourceList(), V2Channel::GetVideoSourceList(), Channel::GetXMLTVIdList(), V2Channel::GetXMLTVIdList(), ImportNative::gotCallsign(), ImportNative::gotChanID(), ImportNative::gotChanNo(), ImportNative::gotName(), FillData::GrabData(), RecordingProfile::groupType(), ChannelData::handleChannels(), MainServer::HandleLockTuner(), ProgramData::HandlePrograms(), MainServer::HandleQueryFindFile(), MainServer::HandleScanMusic(), TV::HandleStateChange(), HardwareProfile::HardwareProfile(), SourceUtil::HasDigitalChannel(), NativeArchive::importVideo(), ChannelBase::InitializeInput(), ImportIconsWizard::initialLoad(), Scheduler::InitInputInfoMap(), EditPowerSearchPopup::initLists(), GameHandler::InitMetaDataMap(), RecordingInfo::InsertProgram(), is_dishnet_eit(), SourceUtil::IsAnySourceScanable(), SourceUtil::IsEncoder(), CardUtil::IsInputTypePresent(), IsMarked(), SourceUtil::IsSourceIDValid(), isTreeInUse(), CardUtil::IsTunerShared(), ProgramData::IsUnchanged(), CardUtil::IsUniqueDisplayName(), MythSessionManager::IsValidUser(), lastUpdate(), CardUtil::LinkInputGroup(), NetworkControl::listChannels(), NetworkControl::listRecordings(), NetworkControl::listSchedule(), StorageGroupEditor::Load(), MultiplexSetting::Load(), StorageGroupListEditor::Load(), RecordingFile::Load(), RecordingRule::Load(), DiSEqCDevSettings::Load(), InputSelector::Load(), PlaylistContainer::load(), ChannelInfo::Load(), GamePlayersList::Load(), ProgramInfoCache::Load(), SimpleDBStorage::Load(), StoreOptMixin::Load(), VideoSourceSelector::Load(), TransportListEditor::Load(), DiSEqCDevTree::Load(), VideoSourceShow::Load(), TransFreqTableSelector::Load(), FilterOptMixin::Load(), DiSEqCDevSwitch::Load(), DiSEqCDevRotor::Load(), DiSEqCDevSCR::Load(), DiSEqCDevLNB::Load(), CardInputEditor::Load(), InputGroup::Load(), load_markup_datum(), UPnpCDSMusic::LoadAlbums(), VideoMetadataListManager::loadAllFromDatabase(), UPnpCDSMusic::LoadArtists(), RecordingProfile::loadByGroup(), RecordingProfile::loadByID(), CardInput::loadByInput(), RecordingRule::LoadBySearch(), RecordingProfile::loadByType(), EITCache::LoadChannel(), MHIContext::LoadChannelCache(), ChannelGroupSetting::LoadChannelGroupChannels(), UPnpCDSTv::LoadChannels(), ChannelUtil::LoadChannels(), CustomEdit::loadClauses(), MythBurn::loadConfiguration(), KeyBindings::LoadContexts(), CustomPriority::loadData(), CustomEdit::loadData(), ScreenSetup::loadData(), SourceSetup::loadData(), UPnpCDSTv::LoadDates(), PrevRecordedList::LoadDates(), MythVideoProfile::LoadDB(), SmartPlaylistEditor::loadFromDatabase(), HTTPLiveStream::LoadFromDB(), LoadFromOldRecorded(), LoadFromProgram(), LoadFromRecorded(), UPnpCDSTv::LoadGenres(), UPnpCDSMusic::LoadGenres(), UPnpCDSVideo::LoadGenres(), ChannelInfo::LoadGroupIds(), ChannelInfo::LoadInputIds(), KeyBindings::LoadJumppoints(), ProgDetails::loadPage(), Playlist::loadPlaylist(), Playlist::loadPlaylistByID(), ProgramInfo::LoadProgramFromRecorded(), UPnpCDSTv::LoadRecGroups(), UPnpCDSTv::LoadRecordings(), LoadScan(), LoadScanList(), UPnpCDSVideo::LoadSeasons(), UPnpCDSVideo::LoadSeries(), MythSessionManager::LoadSessions(), MythNews::loadSites(), AllStream::loadStreams(), RecordingRule::LoadTemplate(), UPnpCDSTv::LoadTitles(), PrevRecordedList::LoadTitles(), UPnpCDSMusic::LoadTracks(), UPnpCDSVideo::LoadVideos(), FileServerHandler::LocalFilePath(), MainServer::LocalFilePath(), lock_channel(), MythSessionManager::LoginUser(), main(), ProgramInfo::MarkAsInUse(), RecordingExtender::nameCleanup(), OverTimeCategory(), ProgDetails::PowerPriorities(), WeatherSource::ProbeScript(), ProgLister::ProgLister(), program_exists(), ProgramInfo::ProgramInfo(), Scheduler::PutInactiveSlavesToSleep(), ProgramInfo::QueryAutoExpire(), ProgramInfo::QueryAverageAspectRatio(), ProgramInfo::QueryBasename(), ProgramInfo::QueryBDBookmark(), ProgramInfo::QueryBookmarkTimeStamp(), ProgramInfo::QueryCategoryType(), PlaybackState::QueryData(), DBUtil::QueryDBMSVersion(), ProgramInfo::QueryDVDBookmark(), FileServerHandler::QueryFileSystems(), ProgramInfo::QueryInUseMap(), ProgramInfo::QueryIsEditing(), ProgramInfo::QueryIsInUse(), ProgramInfo::QueryJobsRunning(), ProgramInfo::QueryKeyFrameInfo(), ProgramInfo::QueryKeyFromPathname(), HouseKeeperTask::QueryLast(), ProgramInfo::QueryMarkup(), ProgramInfo::QueryMarkupMap(), ProgramInfo::QueryMplexID(), ProgramInfo::QueryPositionMap(), RecordingInfo::QueryRecordedIdForKey(), ProgramInfo::QueryRecordedIdFromPathname(), ProgramInfo::QueryRecordingGroup(), ProgramInfo::QueryRecordingGroupPassword(), ProgramInfo::QueryTranscoderID(), ProgramInfo::QueryTranscodeStatus(), ProgramInfo::QueryTuningInfo(), JobQueue::QueueJob(), ImageDb< ImageAdapterLocal >::ReadAllImages(), ImageDb< ImageAdapterLocal >::ReadImages(), RecordingInfo::RecordingInfo(), MythMainWindow::RegisterJump(), MythMainWindow::RegisterKey(), LiveTVChain::ReloadAll(), ReloadBookmark(), V2Capture::RemoveDiseqcTree(), HTTPLiveStream::RemoveStream(), RestoreData::Restore(), AllMusic::resync(), romInDB(), FillData::Run(), runHomepage(), SimpleDBStorage::Save(), AutoIncrementSetting::Save(), ChannelGroupSetting::Save(), ScreenSetup::saveData(), MythVideoProfile::SaveDB(), ProgramInfo::SaveMarkupMap(), SaveScan(), ScanDTVTransport::SaveScan(), VideoMetadataImp::saveToDatabase(), MusicFileScanner::ScanArtwork(), MusicFileScanner::ScanMusic(), ProgramRecPriority::scheduleChanged(), V2Video::SetLastPlayPos(), ScanWizard::SetPaneDefaults(), V2Video::SetSavedBookmark(), Video::SetSavedBookmark(), SmartPLResultViewer::setSQL(), Weather::SetupScreens(), SourceManager::setupSources(), setupTVs(), TVRec::ShouldSwitchToAnotherInput(), PlaybackBox::showGroupFilter(), PlaybackBox::ShowRecGroupChanger(), ChannelOptionsCommon::sourceChanged(), HouseKeeper::Start(), EITScanner::StartActiveScan(), CustomEdit::storeClicked(), ChannelGroup::ToggleChannel(), MainServer::TruncateAndClose(), SearchStream::updateBroadcasters(), ChannelGroup::UpdateChannelGroups(), ChannelUtil::UpdateChannelNumberFromDB(), SearchStream::updateCountries(), AutoExpire::UpdateDontExpireSet(), UpdateGameCounts(), SearchStream::updateGenres(), VideoMetadata::UpdateHashedDBRecord(), UpdateHashes(), ChannelUtil::UpdateInsertInfoFromDB(), SearchStream::updateLanguages(), Scheduler::UpdateManuals(), SmartPlaylistEditor::updateMatches(), Scheduler::UpdateMatches(), Scheduler::UpdateNextRecord(), V2Capture::UpdateRecProfile(), GameHandler::updateSettings(), SearchView::updateTracksList(), PlaybackBox::UpdateUILists(), V2FillCastMemberList(), V2FillGenreList(), Scheduler::VerifyCards(), GameHandler::VerifyGameDB(), and WaitToDelete().

◆ previous()

bool MSqlQuery::previous ( void  )

Wrap QSqlQuery::previous() so we can display the query results.

Definition at line 818 of file mythdbcon.cpp.

◆ first()

bool MSqlQuery::first ( void  )

◆ last()

bool MSqlQuery::last ( void  )

Wrap QSqlQuery::last() so we can display the query results.

Definition at line 828 of file mythdbcon.cpp.

◆ seek()

bool MSqlQuery::seek ( int  where,
bool  relative = false 
)

Wrap QSqlQuery::seek(int,bool)

Definition at line 833 of file mythdbcon.cpp.

Referenced by Channel::GetVideoMultiplexList(), and V2Channel::GetVideoMultiplexList().

◆ exec() [2/2]

bool MSqlQuery::exec ( const QString &  query)

Wrap QSqlQuery::exec(const QString &query) so we can display SQL.

Definition at line 747 of file mythdbcon.cpp.

◆ prepare()

bool MSqlQuery::prepare ( const QString &  query)

QSqlQuery::prepare() is not thread safe in Qt <= 3.3.2.

Definition at line 838 of file mythdbcon.cpp.

Referenced by SingleValueImp::add(), MultiValueImp::add(), FileAssociationsImp::add(), add_genres(), ChannelGroup::AddChannel(), AddChannelGroup(), CardUtil::AddChildInput(), MythSessionManager::AddDigestUser(), V2Capture::AddDiseqcConfig(), V2Capture::AddDiseqcTree(), MusicFileScanner::AddFileToDB(), AddFileType(), RecordingInfo::AddHistory(), ProfileGroup::addMissingDynamicProfiles(), Scheduler::AddNewRecords(), Scheduler::AddNotListed(), V2Capture::AddRecProfile(), Myth::AddStorageGroupDir(), V2Myth::AddStorageGroupDir(), HTTPLiveStream::AddStream(), AllStream::addStream(), ChannelScanSM::AddToList(), ProfileGroup::allowedGroupName(), LiveTVChain::AppendNewProgram(), ChannelRecPriority::applyChannelRecPriorityChange(), RecordingInfo::ApplyOriginalAirDateChange(), RecordingInfo::ApplyRecordPlayGroupChange(), RecordingInfo::ApplyRecordRecGroupChange(), RecordingInfo::ApplyRecordRecID(), RecordingInfo::ApplyRecordRecTitleChange(), RecordingInfo::ApplyStarsChange(), RecordingInfo::ApplyStorageGroupChange(), RecordingInfo::ApplyTranscoderProfileChange(), RecordingInfo::ApplyTranscoderProfileChangeById(), MainServer::BackendQueryDiskSpace(), DBUtil::BackupDB(), Scheduler::BuildNewRecordsQueries(), VideoSourceEditor::cardTypesInclude(), change_program(), change_record(), MythSessionManager::ChangeDigestUserPassword(), JobQueue::ChangeJobArgs(), JobQueue::ChangeJobCmds(), JobQueue::ChangeJobComment(), JobQueue::ChangeJobFlags(), JobQueue::ChangeJobHost(), JobQueue::ChangeJobStatus(), chanid_available(), ChannelEditor::channelIconImport(), ChannelOptionsCommon::ChannelOptionsCommon(), ChannelScanSM::ChannelScanSM(), check_cardsource(), StorageGroup::CheckAllStorageGroupDirs(), ImportIconsWizard::checkAndDownload(), ChannelBase::CheckChannel(), TVRec::CheckChannelPrefix(), checkChannelPresets(), checkImageStoragePaths(), checkInputDisplayNames(), ProgramInfo::CheckProgramIDAuthorities(), HTTPLiveStream::CheckStop(), checkStoragePaths(), CustomPriority::checkSyntax(), CustomEdit::checkSyntax(), DBUtil::CheckTimeZoneSupport(), MusicFileScanner::cleanDB(), CleanupTask::CleanupChannelTables(), CleanupTask::CleanupInUsePrograms(), CleanupMyOldInUsePrograms(), JobQueue::CleanupOldJobsInQueue(), CleanupTask::CleanupOldRecordings(), CleanupTask::CleanupOrphanedLiveTV(), CleanupTask::CleanupProgramListings(), CleanupTask::CleanupRecordedTables(), clearAllKeys(), clearArchiveTable(), EITCache::ClearChannelLocks(), ProgramData::ClearDataByChannel(), ImageDb< ImageAdapterLocal >::ClearDb(), ClearEIT(), ProgramInfo::ClearMarkupMap(), ProgramInfo::ClearPositionMap(), clearRSSArticles(), clearTreeItems(), clone_capturecard(), KeyBindings::CommitAction(), KeyBindings::CommitJumppoint(), CompleteJob(), TV::ConfiguredTunerCards(), ChannelEditor::Create(), DiSEqCDevDevice::CreateById(), CardUtil::CreateCaptureCard(), CardUtil::CreateCardInput(), ChannelUtil::CreateChannel(), Scheduler::CreateConflictLists(), MusicMetadata::createFromFilename(), MusicMetadata::createFromID(), CardUtil::CreateInputGroup(), CardInput::CreateNewInputGroupSlot(), PlayGroupEditor::CreateNewPlayBackGroupSlot(), RecordingProfileEditor::CreateNewProfile(), MythVideoProfile::CreateProfile(), MythVideoProfile::CreateProfileGroup(), StoreOptMixin::CreateRecordingGroup(), CreateRecordingGroup(), SourceUtil::CreateSource(), ImageDbLocal::CreateTable(), Scheduler::CreateTempTables(), PlaybackBox::createTranscodingProfilesMenu(), ChannelEditor::customEvent(), StorageGroupEditor::customEvent(), ProgramRecPriority::deactivate(), commDetector2::debugDirectory(), RecordingRule::Delete(), TransportListEditor::Delete(), delete_in_db(), delete_markup_datum(), delete_program(), CaptureCardEditor::DeleteAllCaptureCardsOnHost(), JobQueue::DeleteAllJobs(), SourceUtil::DeleteAllSources(), SmartPlaylistEditor::deleteCategory(), ChannelGroup::DeleteChannel(), ChannelUtil::DeleteChannel(), CustomPriority::deleteClicked(), PhrasePopup::deleteClicked(), PowerSearchPopup::deleteClicked(), MythVideoProfile::DeleteDB(), GamePlayerSetting::deleteEntry(), PlayGroupConfig::deleteEntry(), RecordingProfile::deleteEntry(), ChannelGroupSetting::deleteEntry(), Ripper::deleteExistingTrack(), RomInfo::DeleteFromDatabase(), VideoMetadataImp::DeleteFromDatabase(), RecordingInfo::DeleteHistory(), CardUtil::DeleteInput(), PrevRecordedList::DeleteOldEpisode(), ProgLister::DeleteOldEpisode(), PrevRecordedList::DeleteOldSeries(), ProgLister::DeleteOldSeries(), ProgramData::DeleteOverlaps(), PlaylistContainer::deletePlaylist(), MythVideoProfile::DeleteProfileGroup(), LiveTVChain::DeleteProgram(), MainServer::DeleteRecordedFiles(), V2Capture::DeleteRecProfile(), CustomEdit::deleteRule(), ScanInfo::DeleteScan(), SmartPlaylistEditor::deleteSmartPlaylist(), SourceUtil::DeleteSource(), Scheduler::DeleteTempTables(), ChannelImporter::DeleteUnusedTransports(), LiveTVChain::DestroyChain(), MythSessionManager::DestroyUserSession(), DisplayRecGroup(), MainServer::DoDeleteInDB(), StorageGroupEditor::DoDeleteSlot(), StorageGroupDirSetting::DoDeleteSlot(), StatusBox::doListingsStatus(), StatusBox::doLogEntries(), GameScanner::doScanAll(), StatusBox::doScheduleStatus(), JobQueue::DoTranscodeThread(), StatusBox::doTunerStatus(), SearchStream::doUpdateStreams(), doUpgradeMusicDatabaseSchema(), doUpgradeTVDatabaseSchema(), doUpgradeVideoDatabaseSchema(), ImageDbLocal::DropTable(), MusicMetadata::dumpToDatabase(), AlbumArtImages::dumpToDatabase(), DiSEqCDevTree::Exists(), ExpertSettingsEditor::ExpertSettingsEditor(), AutoExpire::ExpireEpisodesOverMax(), AutoExpire::ExpireRecordings(), NativeArchive::exportRecording(), NativeArchive::exportVideo(), extractDetailsFromFilename(), FillCastMemberList(), RomInfo::fillData(), AutoExpire::FillDBOrdered(), V2Status::FillDriveSpace(), MusicMetadata::fillFieldList(), DTVMultiplex::FillFromDB(), ScanDTVTransport::FillFromDB(), FillGenreList(), ProgLister::FillItemList(), ChannelEditor::fillList(), ChannelRecPriority::FillList(), ProgramRecPriority::FillList(), PlaybackBox::fillRecGroupPasswordCache(), Scheduler::FillRecordingDir(), Scheduler::FillRecordListFromDB(), ProfileGroup::fillSelections(), Source::fillSelections(), RecordingProfile::fillSelections(), VideoSource::fillSelections(), CaptureCard::fillSelections(), Playlist::fillSonglistFromSmartPlaylist(), HttpStatus::FillStatusXML(), V2Status::FillStatusXML(), ProgLister::FillViewList(), findAllDBRSS(), findAllDBRSSByType(), findAllDBSearchGrabbers(), findAllDBTreeGrabbers(), findAllDBTreeGrabbersByHost(), findByURL(), ChannelUtil::FindChannel(), ImportNative::findChannelMatch(), StorageGroup::FindDirs(), ChannelID::findHighest(), AlbumArtImages::findImages(), FindInDB(), findInDB(), RecordingExtender::findKnownSport(), SourceManager::findScripts(), SourceManager::findScriptsDB(), findSearchGrabberByCommand(), findSearchGrabberInDB(), findTreeGrabberByCommand(), findTreeGrabberInDB(), LiveTVChain::FinishedRecording(), RecordingInfo::FinishedRecording(), FlagCommercials(), RecordingInfo::ForgetHistory(), FromProgramQuery(), get_atsc_stuff(), get_cardtype(), get_chan_id_from_db_atsc(), get_chan_id_from_db_dtv(), get_chan_id_from_db_dvb(), get_dtv_multiplex(), get_highest_input(), get_inputtypes(), get_max_chanid(), get_on_input(), get_use_eit(), get_valid_recorder_list(), StatusBox::getActualRecordedBPS(), MusicMetadata::getAlbumId(), CardUtil::GetAllInputInfo(), RomInfo::GetAllRomInfo(), Scheduler::GetAllScheduled(), ExportNative::getArchiveListFromDB(), MusicMetadata::getArtistId(), VideoMetaDataUtil::GetArtPath(), GetArtwork(), ChannelUtil::GetATSCChannel(), ChannelGroup::GetAutomaticChannelGroups(), V2Channel::GetAvailableChanid(), V2Status::GetBackendStatus(), ChannelUtil::GetBetterMplexID(), ChannelUtil::GetCachedPids(), Capture::GetCaptureCard(), V2Capture::GetCaptureCard(), Capture::GetCaptureCardList(), V2Capture::GetCaptureCardList(), GetCategoryList(), Guide::GetCategoryList(), V2Guide::GetCategoryList(), ChannelBase::GetChanID(), DVBChannel::GetChanID(), ChannelUtil::GetChanID(), ChannelUtil::GetChanIDs(), SourceUtil::GetChannelCount(), ChannelUtil::GetChannelCount(), ChannelUtil::GetChannelData(), ChannelGroup::GetChannelGroupId(), ChannelGroup::GetChannelGroupName(), MHIContext::GetChannelIndex(), TVRec::GetChannelInfo(), SourceUtil::GetChannelSeparator(), ChannelUtil::GetChannelsInternal(), ChannelUtil::GetChannelStringField(), ChannelUtil::GetChannelValueStr(), CardUtil::GetChildInputCount(), CardUtil::GetChildInputIDs(), MusicMetadata::getCompilationArtistId(), CardUtil::GetConfiguredDVBInputs(), ChannelUtil::GetConflicting(), CardUtil::GetConflictingInputs(), PlayGroup::GetCount(), HTTPLiveStream::GetDBStatus(), ChannelImporter::GetDBTransports(), ChannelUtil::GetDefaultAuthority(), RecordingRule::GetDefaultFilter(), ImageDb< ImageAdapterLocal >::GetDescendantCount(), ImageDb< ImageAdapterLocal >::GetDescendants(), CardUtil::GetDeviceInputGroup(), CardUtil::GetDeviceLabel(), TVRec::GetDevices(), ImageDb< ImageAdapterLocal >::GetDirectory(), MusicFileScanner::GetDirectoryId(), MusicMetadata::getDirectoryId(), V2Capture::GetDiseqcConfigList(), V2Capture::GetDiseqcTreeList(), CardUtil::GetDisplayName(), ProgramInfo::GetFilesize(), CardUtil::GetFirewireChangerModel(), CardUtil::GetFirewireChangerNode(), V4LChannel::GetFormatForChannel(), MusicMetadata::getGenreId(), getGlobalSetting(), StorageGroup::getGroupDirs(), CardUtil::GetGroupInputIDs(), MainServer::getGuideDataThrough(), ProfileGroup::getHostNames(), Myth::GetHosts(), V2Myth::GetHosts(), ChannelUtil::GetIcon(), PlayGroup::GetInitialName(), CardUtil::GetInputGroups(), CardUtil::GetInputIDs(), CardUtil::GetInputInfo(), CardUtil::GetInputList(), CardUtil::GetInputTypeNames(), CardUtil::GetInputTypes(), ChannelUtil::GetInputTypes(), ChannelUtil::GetIPTVTuningData(), JobQueue::GetJobArgs(), JobQueue::GetJobCmd(), JobQueue::GetJobFlags(), JobQueue::GetJobID(), JobQueue::GetJobInfoFromID(), JobQueue::GetJobsInQueue(), JobQueue::GetJobStatus(), MythMainWindow::GetKey(), Myth::GetKeys(), V2Myth::GetKeys(), V2Video::GetLastPlayPos(), SourceUtil::GetListingsLoginData(), HTTPLiveStream::GetLiveStreamInfoList(), CardUtil::GetLiveTVInputList(), Myth::GetLogs(), V2Myth::GetLogs(), ChannelGroup::GetManualChannelGroups(), ChannelUtil::GetMplexID(), SourceUtil::GetMplexIDs(), Content::GetMusic(), V2Content::GetMusic(), RecordingProfile::getName(), ProfileGroup::getName(), PlayGroup::GetNames(), TVRec::GetNextProgram(), DBEvent::GetOverlappingPrograms(), MythSessionManager::GetPasswordDigest(), DBPerson::GetPersonDB(), MythVideoProfile::GetProfileGroupID(), MythVideoProfile::GetProfiles(), RecordingProfile::GetProfiles(), Dvr::GetProgramCategories(), V2Dvr::GetProgramCategories(), CardUtil::GetQuickTuning(), ProgDetails::getRatings(), RecordingInfo::GetRecgroupID(), Dvr::GetRecGroupList(), V2Dvr::GetRecGroupList(), RecordingInfo::GetRecgroupString(), StorageGroup::getRecordingsGroups(), V2Capture::GetRecProfileGroupList(), Dvr::GetRecRuleFilterList(), V2Dvr::GetRecRuleFilterList(), StorageGroup::GetRelativePathname(), DBPerson::GetRoleDB(), RomInfo::GetRomInfoById(), getRSSArticles(), V2Video::GetSavedBookmark(), Video::GetSavedBookmark(), CardUtil::GetSchedInputList(), ChannelUtil::GetServiceVersion(), PlayGroup::GetSetting(), LogViewer::getSetting(), MythDB::GetSetting(), Myth::GetSetting(), V2Myth::GetSetting(), Myth::GetSettingList(), V2Myth::GetSettingList(), MythDB::GetSettingOnHost(), ProgFinder::getShowNames(), RemoteEncoder::GetSignalLockTimeout(), PlaylistEditorView::getSmartPlaylists(), PlaylistEditorView::getSmartPlaylistTracks(), SourceUtil::GetSourceID(), ChannelUtil::GetSourceID(), CardUtil::GetSourceID(), ChannelUtil::GetSourceIDForChannel(), SourceUtil::GetSourceName(), CardUtil::GetStartChannel(), Myth::GetStorageGroupDirs(), V2Myth::GetStorageGroupDirs(), Guide::GetStoredSearches(), V2Guide::GetStoredSearches(), RecordingRule::GetTemplateNames(), CardUtil::GetTimeouts(), Dvr::GetTitleInfoList(), V2Dvr::GetTitleInfoList(), Dvr::GetTitleList(), V2Dvr::GetTitleList(), getTreeArticles(), CardUtil::GetTunerTypeFromMultiplex(), ChannelUtil::GetTuningParams(), V2Capture::GetUserInputGroupList(), Content::GetVideo(), V2Content::GetVideo(), Content::GetVideoArtwork(), V2Content::GetVideoArtwork(), V2Video::GetVideoCommBreak(), V2Video::GetVideoCutList(), CardUtil::GetVideoDevices(), VideoSelector::getVideoListFromDB(), Channel::GetVideoMultiplex(), V2Channel::GetVideoMultiplex(), Channel::GetVideoMultiplexList(), V2Channel::GetVideoMultiplexList(), Channel::GetVideoSource(), V2Channel::GetVideoSource(), Channel::GetVideoSourceList(), V2Channel::GetVideoSourceList(), Channel::GetXMLTVIdList(), V2Channel::GetXMLTVIdList(), ImportNative::gotCallsign(), ImportNative::gotChanID(), ImportNative::gotChanNo(), ImportNative::gotName(), FillData::GrabData(), RecordingProfile::groupType(), ExportNative::handleAddVideo(), MythBurn::handleAddVideo(), ChannelData::handleChannels(), MainServer::HandleGetPendingRecordings(), MainServer::HandleLockTuner(), ProgramData::HandlePrograms(), MainServer::HandleQueryFindFile(), Scheduler::HandleReschedule(), TV::HandleStateChange(), HardwareProfile::HardwareProfile(), SourceUtil::HasDigitalChannel(), NativeArchive::importRecording(), NativeArchive::importVideo(), ChannelBase::InitializeInput(), InitializeMythSchema(), ImportIconsWizard::initialLoad(), Scheduler::InitInputInfoMap(), EditPowerSearchPopup::initLists(), GameHandler::InitMetaDataMap(), insert_dtv_multiplex(), insert_markup_datum(), DBPerson::InsertCreditsDB(), DBEvent::InsertDB(), ProgInfo::InsertDB(), ImageDb< ImageAdapterLocal >::InsertDbImage(), insertGrabberInDB(), InsertInDB(), insertInDB(), DBPerson::InsertPersonDB(), RecordingInfo::InsertProgram(), DBPerson::InsertRoleDB(), insertRSSArticleInDB(), insertTreeArticleInDB(), CustomPriority::installClicked(), is_dishnet_eit(), SourceUtil::IsAnySourceScanable(), MythBurn::isArchiveItemValid(), SourceUtil::IsEncoder(), CardUtil::IsInputTypePresent(), IsMarked(), isNewTune(), SourceUtil::IsSourceIDValid(), isTreeInUse(), CardUtil::IsTunerShared(), ProgramData::IsUnchanged(), CardUtil::IsUniqueDisplayName(), RecordingRule::IsValid(), MythSessionManager::IsValidUser(), lastUpdate(), CardUtil::LinkInputGroup(), NetworkControl::listChannels(), NetworkControl::listRecordings(), NetworkControl::listSchedule(), StorageGroupEditor::Load(), MultiplexSetting::Load(), RecordingFile::Load(), StorageGroupListEditor::Load(), RecordingRule::Load(), DiSEqCDevSettings::Load(), InputSelector::Load(), PlaylistContainer::load(), GamePlayersList::Load(), ChannelInfo::Load(), ProgramInfoCache::Load(), SimpleDBStorage::Load(), StoreOptMixin::Load(), VideoSourceSelector::Load(), TransportListEditor::Load(), DiSEqCDevTree::Load(), VideoSourceShow::Load(), TransFreqTableSelector::Load(), FilterOptMixin::Load(), DiSEqCDevSwitch::Load(), DiSEqCDevRotor::Load(), DiSEqCDevSCR::Load(), DiSEqCDevLNB::Load(), CardInputEditor::Load(), InputGroup::Load(), load_markup_datum(), UPnpCDSMusic::LoadAlbums(), VideoMetadataListManager::loadAllFromDatabase(), UPnpCDSMusic::LoadArtists(), RecordingProfile::loadByGroup(), RecordingProfile::loadByID(), CardInput::loadByInput(), RecordingRule::LoadBySearch(), RecordingProfile::loadByType(), EITCache::LoadChannel(), MHIContext::LoadChannelCache(), ChannelGroupSetting::LoadChannelGroupChannels(), UPnpCDSTv::LoadChannels(), ChannelUtil::LoadChannels(), CustomEdit::loadClauses(), MythBurn::loadConfiguration(), KeyBindings::LoadContexts(), CustomPriority::loadData(), CustomEdit::loadData(), ScreenSetup::loadData(), SourceSetup::loadData(), UPnpCDSTv::LoadDates(), PrevRecordedList::LoadDates(), MythVideoProfile::LoadDB(), SmartPlaylistEditor::loadFromDatabase(), HTTPLiveStream::LoadFromDB(), LoadFromOldRecorded(), LoadFromRecorded(), UPnpCDSTv::LoadGenres(), UPnpCDSMusic::LoadGenres(), UPnpCDSVideo::LoadGenres(), ChannelInfo::LoadGroupIds(), ChannelInfo::LoadInputIds(), KeyBindings::LoadJumppoints(), ProgDetails::loadPage(), Playlist::loadPlaylist(), Playlist::loadPlaylistByID(), ProgramInfo::LoadProgramFromRecorded(), UPnpCDSTv::LoadRecGroups(), UPnpCDSTv::LoadRecordings(), LoadScan(), LoadScanList(), UPnpCDSVideo::LoadSeasons(), UPnpCDSVideo::LoadSeries(), MythSessionManager::LoadSessions(), MythNews::loadSites(), RecordingRule::LoadTemplate(), UPnpCDSTv::LoadTitles(), PrevRecordedList::LoadTitles(), UPnpCDSMusic::LoadTracks(), UPnpCDSVideo::LoadVideos(), FileServerHandler::LocalFilePath(), MainServer::LocalFilePath(), lock_channel(), lockShutdown(), MythSessionManager::LoginUser(), SmartPlaylistEditor::lookupCategoryID(), main(), ProgramInfo::MarkAsInUse(), ScanInfo::MarkProcessed(), markTreeUpdated(), markUpdated(), RecordingExtender::nameCleanup(), needsMFDBReminder(), SmartPlaylistEditor::newCategory(), Scheduler::OldRecordedFixups(), OverTimeCategory(), IPTVChannelFetcher::ParsePlaylist(), MusicMetadata::persist(), ProgDetails::PowerPriorities(), WeatherSource::ProbeScript(), WeatherSource::processExit(), ProgLister::ProgLister(), program_exists(), ProgramInfo::ProgramInfo(), purgeGameDB(), Scheduler::PutInactiveSlavesToSleep(), ProgramInfo::QueryAutoExpire(), ProgramInfo::QueryAverageAspectRatio(), ProgramInfo::QueryBasename(), ProgramInfo::QueryBDBookmark(), ProgramInfo::QueryBookmarkTimeStamp(), ProgramInfo::QueryCategoryType(), PlaybackState::QueryData(), DBUtil::QueryDBMSVersion(), ProgramInfo::QueryDVDBookmark(), FileServerHandler::QueryFileSystems(), ProgramInfo::QueryInUseMap(), ProgramInfo::QueryIsEditing(), ProgramInfo::QueryIsInUse(), ProgramInfo::QueryJobsRunning(), ProgramInfo::QueryKeyFrameInfo(), ProgramInfo::QueryKeyFromPathname(), HouseKeeperTask::QueryLast(), ProgramInfo::QueryMarkup(), ProgramInfo::QueryMarkupMap(), ProgramInfo::QueryMplexID(), ProgramInfo::QueryPositionMap(), RecordingInfo::QueryRecordedIdForKey(), ProgramInfo::QueryRecordedIdFromPathname(), ProgramInfo::QueryRecordingGroup(), ProgramInfo::QueryRecordingGroupPassword(), ProgramInfo::QueryTranscoderID(), ProgramInfo::QueryTranscodeStatus(), ProgramInfo::QueryTuningInfo(), JobQueue::QueueJob(), RecordingInfo::ReactivateRecording(), ImageDb< ImageAdapterLocal >::ReadAllImages(), ImageDb< ImageAdapterLocal >::ReadImages(), RecordingInfo::RecordingInfo(), MythMainWindow::RegisterJump(), MythMainWindow::RegisterKey(), LiveTVChain::ReloadAll(), ReloadBookmark(), SingleValueImp::remove(), MultiValueImp::remove(), FileAssociationsImp::remove(), RemoveChannelGroup(), MythSessionManager::RemoveDigestUser(), V2Capture::RemoveDiseqcConfig(), V2Capture::RemoveDiseqcTree(), MusicFileScanner::RemoveFileFromDB(), RemoveFromDB(), removeFromDB(), ImageDb< ImageAdapterLocal >::RemoveFromDB(), removeGrabberFromDB(), ExportNative::removeItem(), Myth::RemoveStorageGroupDir(), V2Myth::RemoveStorageGroupDir(), HTTPLiveStream::RemoveStream(), AllStream::removeStream(), SmartPlaylistEditor::renameCategory(), Scheduler::ResetDuplicates(), ResetHomepageFromDB(), RestoreData::Restore(), romInDB(), FillData::Run(), JobQueue::SafeDeleteJob(), ChannelID::Save(), RecordingFile::Save(), PlayGroupConfig::Save(), RecordingRule::Save(), SimpleDBStorage::Save(), MythUserSession::Save(), RestoreData::Save(), TransFreqTableSelector::Save(), ChannelGroupSetting::Save(), XMLTVGrabber::Save(), ProgramInfo::SaveAspect(), ProgramInfo::SaveAutoExpire(), ProgramInfo::SaveBasename(), ProgramInfo::SaveBDBookmark(), ChannelUtil::SaveCachedPids(), SmartPlaylistEditor::saveClicked(), ProgramInfo::SaveCommFlagged(), ExportNative::saveConfiguration(), MythBurn::saveConfiguration(), ProgramInfo::SaveCutList(), ScreenSetup::saveData(), SourceSetup::saveData(), MythVideoProfile::SaveDB(), ProgramInfo::SaveDeletePendingFlag(), ProgramInfo::SaveDVDBookmark(), ProgramInfo::SaveEditing(), ProgramInfo::SaveFilesize(), ProgramInfo::SaveFrameRate(), MusicMetadata::saveHostname(), ProgramInfo::SaveInetRef(), ProgramInfo::SaveMarkup(), ProgramInfo::SaveMarkupMap(), Playlist::savePlaylist(), ProgramInfo::SavePositionMap(), ProgramInfo::SavePositionMapDelta(), ProgramInfo::SavePreserve(), ProgramInfo::SaveResolution(), SaveScan(), ScanDTVTransport::SaveScan(), ChannelInsertInfo::SaveScan(), ProgramInfo::SaveSeasonEpisode(), HTTPLiveStream::SaveSegmentInfo(), MythDB::SaveSettingOnHost(), SmartPLCriteriaRow::saveToDatabase(), RomInfo::SaveToDatabase(), VideoMetadataImp::saveToDatabase(), ProgramInfo::SaveTranscodeStatus(), ProgramInfo::SaveVideoProperties(), ProgramInfo::SaveVideoScanType(), ProgramInfo::SaveWatched(), MusicFileScanner::ScanArtwork(), MusicFileScanner::ScanMusic(), ProgramRecPriority::scheduleChanged(), set_on_input(), SetArtwork(), TVRec::SetChannelInfo(), ChannelUtil::SetChannelValue(), ImageDb< ImageAdapterLocal >::SetCover(), RecordingInfo::SetDupHistory(), RomInfo::setFavorite(), setGlobalSetting(), ImageDb< ImageAdapterLocal >::SetHidden(), V2Video::SetLastPlayPos(), ImageDb< ImageAdapterLocal >::SetOrientation(), ScanWizard::SetPaneDefaults(), PlaybackBox::SetRecGroupPassword(), V2Video::SetSavedBookmark(), Video::SetSavedBookmark(), ChannelUtil::SetServiceVersion(), CardUtil::SetStartChannel(), Weather::SetupScreens(), SourceManager::setupSources(), setupTVs(), ChannelUtil::SetVisible(), TVRec::ShouldSwitchToAnotherInput(), PlaybackBox::showGroupFilter(), PlaybackBox::ShowRecGroupChanger(), GeneralSettings::slotDoResetDB(), MythNews::slotNewsRetrieved(), ChannelOptionsCommon::sourceChanged(), HouseKeeper::Start(), EITScanner::StartActiveScan(), RecordingInfo::StartedRecording(), WeatherSource::startUpdate(), HTTPLiveStream::StopStream(), DiSEqCDevSettings::Store(), DiSEqCDevTree::Store(), DiSEqCDevSwitch::Store(), DiSEqCDevRotor::Store(), DiSEqCDevSCR::Store(), DiSEqCDevLNB::Store(), CustomEdit::storeClicked(), ChannelBase::StoreInputChannels(), CustomEdit::storeRule(), CustomPriority::testSchedule(), ChannelGroup::ToggleChannel(), MainServer::TruncateAndClose(), DBUtil::TryLockSchema(), CardUtil::UnlinkInputGroup(), unlock_channel(), DBUtil::UnlockSchema(), unlockShutdown(), SearchStream::updateBroadcasters(), ChannelUtil::UpdateChannel(), ChannelGroup::UpdateChannelGroups(), ChannelUtil::UpdateChannelNumberFromDB(), SearchStream::updateCountries(), DBEvent::UpdateDB(), ImageDb< ImageAdapterLocal >::UpdateDbImage(), UpdateDBVersionNumber(), V2Capture::UpdateDiseqcTree(), updateDiskCount(), updateDisplayRom(), AutoExpire::UpdateDontExpireSet(), Scheduler::UpdateDuplicates(), UpdateGameCounts(), GameHandler::UpdateGameDB(), updateGameName(), SearchStream::updateGenres(), VideoMetadata::UpdateHashedDBRecord(), UpdateHashes(), UpdateHomepageInDB(), ChannelUtil::UpdateInsertInfoFromDB(), ChannelUtil::UpdateIPTVTuningData(), ProgLister::UpdateKeywordInDB(), SearchStream::updateLanguages(), ProgramInfo::UpdateLastDelete(), ProgramInfo::UpdateLastPlayTimeStamp(), HouseKeeperTask::UpdateLastRun(), Scheduler::UpdateManuals(), ProgramInfo::UpdateMarkTimeStamp(), Scheduler::UpdateMatches(), Scheduler::UpdateNextRecord(), HTTPLiveStream::UpdatePercentComplete(), RecordingInfo::UpdateRecordingEnd(), V2Capture::UpdateRecProfile(), V2Capture::UpdateRecProfileParam(), GameHandler::updateSettings(), HTTPLiveStream::UpdateSizeInfo(), SourceUtil::UpdateSource(), HTTPLiveStream::UpdateStatus(), HTTPLiveStream::UpdateStatusMessage(), AllStream::updateStream(), MusicMetadata::updateStreamList(), SearchView::updateTracksList(), PlaybackBox::UpdateUILists(), Channel::UpdateVideoSource(), V2Channel::UpdateVideoSource(), RecordingRule::UseTempTable(), V2CreateRecordingGroup(), V2FillCastMemberList(), V2FillGenreList(), Scheduler::VerifyCards(), GameHandler::VerifyGameDB(), WaitToDelete(), and EITCache::WriteToDB().

◆ bindValue() [1/3]

void MSqlQuery::bindValue ( const QString &  placeholder,
const QVariant &  val 
)

Add a single binding.

Definition at line 889 of file mythdbcon.cpp.

Referenced by SingleValueImp::add(), MultiValueImp::add(), FileAssociationsImp::add(), add_genres(), ChannelGroup::AddChannel(), AddChannelGroup(), CardUtil::AddChildInput(), MythSessionManager::AddDigestUser(), V2Capture::AddDiseqcConfig(), V2Capture::AddDiseqcTree(), MusicFileScanner::AddFileToDB(), AddFileType(), RecordingInfo::AddHistory(), ProfileGroup::addMissingDynamicProfiles(), Scheduler::AddNewRecords(), V2Capture::AddRecProfile(), Myth::AddStorageGroupDir(), V2Myth::AddStorageGroupDir(), HTTPLiveStream::AddStream(), ChannelScanSM::AddToList(), LiveTVChain::AppendNewProgram(), ChannelRecPriority::applyChannelRecPriorityChange(), RecordingInfo::ApplyOriginalAirDateChange(), RecordingInfo::ApplyRecordPlayGroupChange(), RecordingInfo::ApplyRecordRecGroupChange(), RecordingInfo::ApplyRecordRecID(), RecordingInfo::ApplyRecordRecTitleChange(), RecordingInfo::ApplyStarsChange(), RecordingInfo::ApplyStorageGroupChange(), RecordingInfo::ApplyTranscoderProfileChange(), RecordingInfo::ApplyTranscoderProfileChangeById(), MainServer::BackendQueryDiskSpace(), DBUtil::BackupDB(), UPnpCDSMusic::BindValues(), UPnpCDSVideo::BindValues(), UPnpCDSTv::BindValues(), bindValues(), VideoSourceEditor::cardTypesInclude(), change_program(), change_record(), MythSessionManager::ChangeDigestUserPassword(), JobQueue::ChangeJobArgs(), JobQueue::ChangeJobCmds(), JobQueue::ChangeJobComment(), JobQueue::ChangeJobFlags(), JobQueue::ChangeJobHost(), JobQueue::ChangeJobStatus(), chanid_available(), ChannelOptionsCommon::ChannelOptionsCommon(), ChannelScanSM::ChannelScanSM(), check_cardsource(), StorageGroup::CheckAllStorageGroupDirs(), ImportIconsWizard::checkAndDownload(), ChannelBase::CheckChannel(), checkImageStoragePaths(), HTTPLiveStream::CheckStop(), checkStoragePaths(), MusicFileScanner::cleanDB(), CleanupTask::CleanupInUsePrograms(), CleanupMyOldInUsePrograms(), JobQueue::CleanupOldJobsInQueue(), CleanupTask::CleanupOldRecordings(), CleanupTask::CleanupOrphanedLiveTV(), CleanupTask::CleanupProgramListings(), CleanupTask::CleanupRecordedTables(), clearAllKeys(), EITCache::ClearChannelLocks(), ProgramData::ClearDataByChannel(), ImageDb< ImageAdapterLocal >::ClearDb(), ClearEIT(), ProgramInfo::ClearMarkupMap(), ProgramInfo::ClearPositionMap(), clearRSSArticles(), clearTreeItems(), clone_capturecard(), KeyBindings::CommitAction(), KeyBindings::CommitJumppoint(), CompleteJob(), DiSEqCDevDevice::CreateById(), CardUtil::CreateCaptureCard(), CardUtil::CreateCardInput(), ChannelUtil::CreateChannel(), MusicMetadata::createFromFilename(), MusicMetadata::createFromID(), CardUtil::CreateInputGroup(), CardInput::CreateNewInputGroupSlot(), PlayGroupEditor::CreateNewPlayBackGroupSlot(), RecordingProfileEditor::CreateNewProfile(), MythVideoProfile::CreateProfile(), MythVideoProfile::CreateProfileGroup(), StoreOptMixin::CreateRecordingGroup(), CreateRecordingGroup(), SourceUtil::CreateSource(), ChannelEditor::customEvent(), StorageGroupEditor::customEvent(), ProgramRecPriority::deactivate(), commDetector2::debugDirectory(), RecordingRule::Delete(), TransportListEditor::Delete(), delete_in_db(), delete_markup_datum(), delete_program(), CaptureCardEditor::DeleteAllCaptureCardsOnHost(), JobQueue::DeleteAllJobs(), SmartPlaylistEditor::deleteCategory(), ChannelGroup::DeleteChannel(), ChannelUtil::DeleteChannel(), CustomPriority::deleteClicked(), PhrasePopup::deleteClicked(), PowerSearchPopup::deleteClicked(), MythVideoProfile::DeleteDB(), GamePlayerSetting::deleteEntry(), PlayGroupConfig::deleteEntry(), RecordingProfile::deleteEntry(), ChannelGroupSetting::deleteEntry(), Ripper::deleteExistingTrack(), RomInfo::DeleteFromDatabase(), VideoMetadataImp::DeleteFromDatabase(), RecordingInfo::DeleteHistory(), CardUtil::DeleteInput(), PrevRecordedList::DeleteOldEpisode(), ProgLister::DeleteOldEpisode(), PrevRecordedList::DeleteOldSeries(), ProgLister::DeleteOldSeries(), ProgramData::DeleteOverlaps(), PlaylistContainer::deletePlaylist(), MythVideoProfile::DeleteProfileGroup(), LiveTVChain::DeleteProgram(), MainServer::DeleteRecordedFiles(), V2Capture::DeleteRecProfile(), CustomEdit::deleteRule(), ScanInfo::DeleteScan(), SmartPlaylistEditor::deleteSmartPlaylist(), SourceUtil::DeleteSource(), ChannelImporter::DeleteUnusedTransports(), LiveTVChain::DestroyChain(), MythSessionManager::DestroyUserSession(), MainServer::DoDeleteInDB(), StorageGroupEditor::DoDeleteSlot(), StorageGroupDirSetting::DoDeleteSlot(), StatusBox::doLogEntries(), StatusBox::doScheduleStatus(), JobQueue::DoTranscodeThread(), SearchStream::doUpdateStreams(), doUpgradeMusicDatabaseSchema(), doUpgradeTVDatabaseSchema(), doUpgradeVideoDatabaseSchema(), MusicMetadata::dumpToDatabase(), AlbumArtImages::dumpToDatabase(), DiSEqCDevTree::Exists(), ExpertSettingsEditor::ExpertSettingsEditor(), AutoExpire::ExpireEpisodesOverMax(), NativeArchive::exportRecording(), NativeArchive::exportVideo(), extractDetailsFromFilename(), FillCastMemberList(), RomInfo::fillData(), V2Status::FillDriveSpace(), DTVMultiplex::FillFromDB(), ScanDTVTransport::FillFromDB(), FillGenreList(), ProgLister::FillItemList(), Scheduler::FillRecordingDir(), RecordingProfile::fillSelections(), CaptureCard::fillSelections(), Playlist::fillSonglistFromSmartPlaylist(), HttpStatus::FillStatusXML(), V2Status::FillStatusXML(), ProgLister::FillViewList(), findAllDBRSSByType(), findAllDBSearchGrabbers(), findAllDBTreeGrabbersByHost(), findByURL(), ChannelUtil::FindChannel(), ImportNative::findChannelMatch(), StorageGroup::FindDirs(), AlbumArtImages::findImages(), FindInDB(), findInDB(), RecordingExtender::findKnownSport(), SourceManager::findScripts(), SourceManager::findScriptsDB(), findSearchGrabberByCommand(), findSearchGrabberInDB(), findTreeGrabberByCommand(), findTreeGrabberInDB(), LiveTVChain::FinishedRecording(), RecordingInfo::FinishedRecording(), FlagCommercials(), RecordingInfo::ForgetHistory(), FromProgramQuery(), get_atsc_stuff(), get_cardtype(), get_chan_id_from_db_atsc(), get_chan_id_from_db_dtv(), get_chan_id_from_db_dvb(), get_dtv_multiplex(), get_inputtypes(), get_max_chanid(), get_on_input(), get_use_eit(), get_valid_recorder_list(), MusicMetadata::getAlbumId(), VideoMetaDataUtil::GetArtPath(), GetArtwork(), ChannelUtil::GetATSCChannel(), ChannelUtil::GetBetterMplexID(), ChannelUtil::GetCachedPids(), Capture::GetCaptureCard(), V2Capture::GetCaptureCard(), Capture::GetCaptureCardList(), V2Capture::GetCaptureCardList(), ChannelBase::GetChanID(), DVBChannel::GetChanID(), ChannelUtil::GetChanID(), SourceUtil::GetChannelCount(), ChannelUtil::GetChannelData(), ChannelGroup::GetChannelGroupId(), ChannelGroup::GetChannelGroupName(), MHIContext::GetChannelIndex(), TVRec::GetChannelInfo(), SourceUtil::GetChannelSeparator(), ChannelUtil::GetChannelStringField(), ChannelUtil::GetChannelValueStr(), CardUtil::GetChildInputCount(), CardUtil::GetChildInputIDs(), CardUtil::GetConfiguredDVBInputs(), ChannelUtil::GetConflicting(), CardUtil::GetConflictingInputs(), HTTPLiveStream::GetDBStatus(), ChannelImporter::GetDBTransports(), RecordingRule::GetDefaultFilter(), ImageDb< ImageAdapterLocal >::GetDescendantCount(), ImageDb< ImageAdapterLocal >::GetDescendants(), CardUtil::GetDeviceInputGroup(), CardUtil::GetDeviceLabel(), TVRec::GetDevices(), ImageDb< ImageAdapterLocal >::GetDirectory(), MusicFileScanner::GetDirectoryId(), MusicMetadata::getDirectoryId(), CardUtil::GetDisplayName(), ProgramInfo::GetFilesize(), CardUtil::GetFirewireChangerModel(), CardUtil::GetFirewireChangerNode(), V4LChannel::GetFormatForChannel(), getGlobalSetting(), StorageGroup::getGroupDirs(), CardUtil::GetGroupInputIDs(), ChannelUtil::GetIcon(), PlayGroup::GetInitialName(), CardUtil::GetInputGroups(), CardUtil::GetInputIDs(), CardUtil::GetInputInfo(), CardUtil::GetInputTypeNames(), ChannelUtil::GetInputTypes(), ChannelUtil::GetIPTVTuningData(), JobQueue::GetJobArgs(), JobQueue::GetJobCmd(), JobQueue::GetJobFlags(), JobQueue::GetJobID(), JobQueue::GetJobInfoFromID(), JobQueue::GetJobStatus(), MythMainWindow::GetKey(), V2Video::GetLastPlayPos(), SourceUtil::GetListingsLoginData(), HTTPLiveStream::GetLiveStreamInfoList(), Myth::GetLogs(), V2Myth::GetLogs(), ChannelUtil::GetMplexID(), SourceUtil::GetMplexIDs(), Content::GetMusic(), V2Content::GetMusic(), RecordingProfile::getName(), ProfileGroup::getName(), TVRec::GetNextProgram(), DBEvent::GetOverlappingPrograms(), MythSessionManager::GetPasswordDigest(), DBPerson::GetPersonDB(), MythVideoProfile::GetProfileGroupID(), MythVideoProfile::GetProfiles(), RecordingProfile::GetProfiles(), CardUtil::GetQuickTuning(), ProgDetails::getRatings(), RecordingInfo::GetRecgroupID(), RecordingInfo::GetRecgroupString(), V2Capture::GetRecProfileGroupList(), DBPerson::GetRoleDB(), RomInfo::GetRomInfoById(), getRSSArticles(), V2Video::GetSavedBookmark(), Video::GetSavedBookmark(), ChannelUtil::GetServiceVersion(), PlayGroup::GetSetting(), MythDB::GetSetting(), LogViewer::getSetting(), Myth::GetSetting(), V2Myth::GetSetting(), Myth::GetSettingList(), V2Myth::GetSettingList(), MythDB::GetSettingOnHost(), RemoteEncoder::GetSignalLockTimeout(), PlaylistEditorView::getSmartPlaylists(), PlaylistEditorView::getSmartPlaylistTracks(), SourceUtil::GetSourceID(), ChannelUtil::GetSourceID(), CardUtil::GetSourceID(), ChannelUtil::GetSourceIDForChannel(), SourceUtil::GetSourceName(), CardUtil::GetStartChannel(), Myth::GetStorageGroupDirs(), V2Myth::GetStorageGroupDirs(), Guide::GetStoredSearches(), V2Guide::GetStoredSearches(), RecordingRule::GetTemplateNames(), CardUtil::GetTimeouts(), Dvr::GetTitleList(), V2Dvr::GetTitleList(), getTreeArticles(), CardUtil::GetTunerTypeFromMultiplex(), ChannelUtil::GetTuningParams(), Content::GetVideo(), V2Content::GetVideo(), Content::GetVideoArtwork(), V2Content::GetVideoArtwork(), V2Video::GetVideoCommBreak(), V2Video::GetVideoCutList(), CardUtil::GetVideoDevices(), Channel::GetVideoMultiplex(), V2Channel::GetVideoMultiplex(), Channel::GetVideoMultiplexList(), V2Channel::GetVideoMultiplexList(), Channel::GetVideoSource(), V2Channel::GetVideoSource(), Channel::GetXMLTVIdList(), V2Channel::GetXMLTVIdList(), ImportNative::gotCallsign(), ImportNative::gotChanID(), ImportNative::gotChanNo(), ImportNative::gotName(), FillData::GrabData(), RecordingProfile::groupType(), ChannelData::handleChannels(), MainServer::HandleGetPendingRecordings(), MainServer::HandleLockTuner(), ProgramData::HandlePrograms(), MainServer::HandleQueryFindFile(), TV::HandleStateChange(), HardwareProfile::HardwareProfile(), SourceUtil::HasDigitalChannel(), NativeArchive::importRecording(), NativeArchive::importVideo(), ChannelBase::InitializeInput(), GameHandler::InitMetaDataMap(), insert_dtv_multiplex(), insert_markup_datum(), DBPerson::InsertCreditsDB(), DBEvent::InsertDB(), ProgInfo::InsertDB(), ImageDb< ImageAdapterLocal >::InsertDbImage(), insertGrabberInDB(), InsertInDB(), insertInDB(), DBPerson::InsertPersonDB(), RecordingInfo::InsertProgram(), DBPerson::InsertRoleDB(), insertRSSArticleInDB(), insertTreeArticleInDB(), CustomPriority::installClicked(), is_dishnet_eit(), MythBurn::isArchiveItemValid(), SourceUtil::IsEncoder(), CardUtil::IsInputTypePresent(), IsMarked(), isNewTune(), SourceUtil::IsSourceIDValid(), isTreeInUse(), CardUtil::IsTunerShared(), ProgramData::IsUnchanged(), CardUtil::IsUniqueDisplayName(), MythSessionManager::IsValidUser(), lastUpdate(), CardUtil::LinkInputGroup(), NetworkControl::listSchedule(), StorageGroupEditor::Load(), MultiplexSetting::Load(), RecordingFile::Load(), StorageGroupListEditor::Load(), RecordingRule::Load(), DiSEqCDevSettings::Load(), InputSelector::Load(), PlaylistContainer::load(), ChannelInfo::Load(), ProgramInfoCache::Load(), VideoSourceSelector::Load(), TransportListEditor::Load(), DiSEqCDevTree::Load(), VideoSourceShow::Load(), TransFreqTableSelector::Load(), DiSEqCDevSwitch::Load(), DiSEqCDevRotor::Load(), DiSEqCDevSCR::Load(), DiSEqCDevLNB::Load(), CardInputEditor::Load(), load_markup_datum(), UPnpCDSMusic::LoadAlbums(), VideoMetadataListManager::loadAllFromDatabase(), UPnpCDSMusic::LoadArtists(), RecordingProfile::loadByGroup(), RecordingProfile::loadByID(), CardInput::loadByInput(), RecordingRule::LoadBySearch(), RecordingProfile::loadByType(), EITCache::LoadChannel(), MHIContext::LoadChannelCache(), ChannelGroupSetting::LoadChannelGroupChannels(), UPnpCDSTv::LoadChannels(), ChannelUtil::LoadChannels(), KeyBindings::LoadContexts(), CustomEdit::loadData(), ScreenSetup::loadData(), SourceSetup::loadData(), UPnpCDSTv::LoadDates(), PrevRecordedList::LoadDates(), MythVideoProfile::LoadDB(), SmartPlaylistEditor::loadFromDatabase(), HTTPLiveStream::LoadFromDB(), LoadFromOldRecorded(), UPnpCDSTv::LoadGenres(), UPnpCDSMusic::LoadGenres(), UPnpCDSVideo::LoadGenres(), ChannelInfo::LoadGroupIds(), ChannelInfo::LoadInputIds(), KeyBindings::LoadJumppoints(), ProgDetails::loadPage(), Playlist::loadPlaylist(), Playlist::loadPlaylistByID(), ProgramInfo::LoadProgramFromRecorded(), UPnpCDSTv::LoadRecGroups(), UPnpCDSTv::LoadRecordings(), LoadScan(), LoadScanList(), UPnpCDSVideo::LoadSeasons(), UPnpCDSVideo::LoadSeries(), RecordingRule::LoadTemplate(), UPnpCDSTv::LoadTitles(), PrevRecordedList::LoadTitles(), UPnpCDSMusic::LoadTracks(), UPnpCDSVideo::LoadVideos(), FileServerHandler::LocalFilePath(), MainServer::LocalFilePath(), lock_channel(), MythSessionManager::LoginUser(), SmartPlaylistEditor::lookupCategoryID(), main(), ProgramInfo::MarkAsInUse(), ScanInfo::MarkProcessed(), markTreeUpdated(), markUpdated(), RecordingExtender::nameCleanup(), SmartPlaylistEditor::newCategory(), Scheduler::OldRecordedFixups(), IPTVChannelFetcher::ParsePlaylist(), MusicMetadata::persist(), ProgDetails::PowerPriorities(), WeatherSource::ProbeScript(), WeatherSource::processExit(), program_exists(), ProgramInfo::ProgramInfo(), purgeGameDB(), Scheduler::PutInactiveSlavesToSleep(), ProgramInfo::QueryAutoExpire(), ProgramInfo::QueryAverageAspectRatio(), ProgramInfo::QueryBasename(), ProgramInfo::QueryBDBookmark(), ProgramInfo::QueryBookmarkTimeStamp(), ProgramInfo::QueryCategoryType(), PlaybackState::QueryData(), ProgramInfo::QueryDVDBookmark(), FileServerHandler::QueryFileSystems(), ProgramInfo::QueryInUseMap(), ProgramInfo::QueryIsEditing(), ProgramInfo::QueryIsInUse(), ProgramInfo::QueryJobsRunning(), ProgramInfo::QueryKeyFrameInfo(), ProgramInfo::QueryKeyFromPathname(), HouseKeeperTask::QueryLast(), ProgramInfo::QueryMarkup(), ProgramInfo::QueryMarkupMap(), ProgramInfo::QueryMplexID(), ProgramInfo::QueryPositionMap(), RecordingInfo::QueryRecordedIdForKey(), ProgramInfo::QueryRecordedIdFromPathname(), ProgramInfo::QueryRecordingGroup(), ProgramInfo::QueryRecordingGroupPassword(), ProgramInfo::QueryTranscoderID(), ProgramInfo::QueryTranscodeStatus(), ProgramInfo::QueryTuningInfo(), JobQueue::QueueJob(), RecordingInfo::ReactivateRecording(), RecordingInfo::RecordingInfo(), MythMainWindow::RegisterJump(), MythMainWindow::RegisterKey(), LiveTVChain::ReloadAll(), ReloadBookmark(), SingleValueImp::remove(), MultiValueImp::remove(), FileAssociationsImp::remove(), RemoveChannelGroup(), MythSessionManager::RemoveDigestUser(), V2Capture::RemoveDiseqcConfig(), V2Capture::RemoveDiseqcTree(), MusicFileScanner::RemoveFileFromDB(), RemoveFromDB(), removeFromDB(), removeGrabberFromDB(), ExportNative::removeItem(), Myth::RemoveStorageGroupDir(), V2Myth::RemoveStorageGroupDir(), HTTPLiveStream::RemoveStream(), AllStream::removeStream(), SmartPlaylistEditor::renameCategory(), Scheduler::ResetDuplicates(), RestoreData::Restore(), romInDB(), FillData::Run(), JobQueue::SafeDeleteJob(), RecordingFile::Save(), PlayGroupConfig::Save(), RecordingRule::Save(), MythUserSession::Save(), RestoreData::Save(), TransFreqTableSelector::Save(), ChannelGroupSetting::Save(), ProgramInfo::SaveAspect(), ProgramInfo::SaveAutoExpire(), ProgramInfo::SaveBasename(), ProgramInfo::SaveBDBookmark(), ChannelUtil::SaveCachedPids(), SmartPlaylistEditor::saveClicked(), ProgramInfo::SaveCommFlagged(), ExportNative::saveConfiguration(), MythBurn::saveConfiguration(), ProgramInfo::SaveCutList(), ScreenSetup::saveData(), SourceSetup::saveData(), MythVideoProfile::SaveDB(), ProgramInfo::SaveDeletePendingFlag(), ProgramInfo::SaveDVDBookmark(), ProgramInfo::SaveEditing(), ProgramInfo::SaveFilesize(), ProgramInfo::SaveFrameRate(), MusicMetadata::saveHostname(), ProgramInfo::SaveInetRef(), ProgramInfo::SaveMarkup(), ProgramInfo::SaveMarkupMap(), Playlist::savePlaylist(), ProgramInfo::SavePositionMap(), ProgramInfo::SavePreserve(), ProgramInfo::SaveResolution(), SaveScan(), ScanDTVTransport::SaveScan(), ChannelInsertInfo::SaveScan(), ProgramInfo::SaveSeasonEpisode(), HTTPLiveStream::SaveSegmentInfo(), MythDB::SaveSettingOnHost(), SmartPLCriteriaRow::saveToDatabase(), RomInfo::SaveToDatabase(), VideoMetadataImp::saveToDatabase(), ProgramInfo::SaveTranscodeStatus(), ProgramInfo::SaveVideoProperties(), ProgramInfo::SaveVideoScanType(), ProgramInfo::SaveWatched(), MusicFileScanner::ScanArtwork(), MusicFileScanner::ScanMusic(), ProgramRecPriority::scheduleChanged(), set_on_input(), SetArtwork(), TVRec::SetChannelInfo(), ChannelUtil::SetChannelValue(), ImageDb< ImageAdapterLocal >::SetCover(), RecordingInfo::SetDupHistory(), RomInfo::setFavorite(), setGlobalSetting(), ImageDb< ImageAdapterLocal >::SetHidden(), V2Video::SetLastPlayPos(), ImageDb< ImageAdapterLocal >::SetOrientation(), ScanWizard::SetPaneDefaults(), PlaybackBox::SetRecGroupPassword(), V2Video::SetSavedBookmark(), Video::SetSavedBookmark(), ChannelUtil::SetServiceVersion(), CardUtil::SetStartChannel(), Weather::SetupScreens(), SourceManager::setupSources(), setupTVs(), ChannelUtil::SetVisible(), TVRec::ShouldSwitchToAnotherInput(), PlaybackBox::showGroupFilter(), MythNews::slotNewsRetrieved(), ChannelOptionsCommon::sourceChanged(), HouseKeeper::Start(), EITScanner::StartActiveScan(), RecordingInfo::StartedRecording(), WeatherSource::startUpdate(), HTTPLiveStream::StopStream(), DiSEqCDevSettings::Store(), DiSEqCDevTree::Store(), DiSEqCDevSwitch::Store(), DiSEqCDevRotor::Store(), DiSEqCDevSCR::Store(), DiSEqCDevLNB::Store(), CustomEdit::storeClicked(), ChannelBase::StoreInputChannels(), CustomEdit::storeRule(), CustomPriority::testSchedule(), ChannelGroup::ToggleChannel(), DBUtil::TryLockSchema(), CardUtil::UnlinkInputGroup(), unlock_channel(), ChannelUtil::UpdateChannel(), ChannelGroup::UpdateChannelGroups(), ChannelUtil::UpdateChannelNumberFromDB(), DBEvent::UpdateDB(), ImageDb< ImageAdapterLocal >::UpdateDbImage(), V2Capture::UpdateDiseqcTree(), updateDiskCount(), updateDisplayRom(), UpdateGameCounts(), updateGameName(), VideoMetadata::UpdateHashedDBRecord(), UpdateHashes(), UpdateHomepageInDB(), ChannelUtil::UpdateInsertInfoFromDB(), ChannelUtil::UpdateIPTVTuningData(), ProgLister::UpdateKeywordInDB(), ProgramInfo::UpdateLastDelete(), ProgramInfo::UpdateLastPlayTimeStamp(), HouseKeeperTask::UpdateLastRun(), Scheduler::UpdateManuals(), ProgramInfo::UpdateMarkTimeStamp(), Scheduler::UpdateMatches(), Scheduler::UpdateNextRecord(), HTTPLiveStream::UpdatePercentComplete(), RecordingInfo::UpdateRecordingEnd(), V2Capture::UpdateRecProfile(), V2Capture::UpdateRecProfileParam(), GameHandler::updateSettings(), HTTPLiveStream::UpdateSizeInfo(), SourceUtil::UpdateSource(), HTTPLiveStream::UpdateStatus(), HTTPLiveStream::UpdateStatusMessage(), AllStream::updateStream(), MusicMetadata::updateStreamList(), PlaybackBox::UpdateUILists(), Channel::UpdateVideoSource(), V2Channel::UpdateVideoSource(), RecordingRule::UseTempTable(), V2CreateRecordingGroup(), V2FillCastMemberList(), V2FillGenreList(), Scheduler::VerifyCards(), GameHandler::VerifyGameDB(), and WaitToDelete().

◆ bindValueNoNull()

void MSqlQuery::bindValueNoNull ( const QString &  placeholder,
const QVariant &  val 
)

Add a single binding, taking care not to set a NULL value.

Most of Qt5 treats an uninitialized (i.e. null) string and an empty string as the same thing, but not the QSqlQuery code. This means that an uninitialized QString() and an explicitly initialized to empty QString("") both represent an empty string everywhere in Qt except in the QSqlQuery code. This function adds the same behavior to SQL queries, by checking and substituting a QString("") where necessary. This function should be used for any database string field that has been declared "NOT NULL" so that MythTV won't throw an errors complaining about trying to set a NULL value in a SQL column that's marked "non-NULL".

Definition at line 903 of file mythdbcon.cpp.

Referenced by AllStream::addStream(), LiveTVChain::AppendNewProgram(), CardUtil::CreateCardInput(), ChannelUtil::CreateChannel(), MusicMetadata::dumpToDatabase(), MusicMetadata::getAlbumId(), MusicMetadata::getArtistId(), ChannelBase::GetChanID(), MusicMetadata::getCompilationArtistId(), MusicMetadata::getGenreId(), ImageDb< ImageAdapterLocal >::InsertDbImage(), insertRSSArticleInDB(), insertTreeArticleInDB(), RecordingFile::Save(), MythVideoProfile::SaveDB(), ChannelInsertInfo::SaveScan(), SmartPLCriteriaRow::saveToDatabase(), VideoMetadataImp::saveToDatabase(), SetArtwork(), ChannelUtil::UpdateChannel(), ImageDb< ImageAdapterLocal >::UpdateDbImage(), GameHandler::UpdateGameDB(), and AllStream::updateStream().

◆ bindValues()

void MSqlQuery::bindValues ( const MSqlBindings bindings)

Add all the bindings in the passed in bindings.

Definition at line 927 of file mythdbcon.cpp.

Referenced by exec(), ProgFinder::getShowNames(), SimpleDBStorage::Load(), Reconnect(), and SimpleDBStorage::Save().

◆ lastInsertId()

QVariant MSqlQuery::lastInsertId ( )

◆ Reconnect()

bool MSqlQuery::Reconnect ( void  )

Reconnects server and re-prepares and re-binds the last prepared query.

Definition at line 941 of file mythdbcon.cpp.

◆ lostConnectionCheck()

bool MSqlQuery::lostConnectionCheck ( void  )

lostConnectionCheck tests for SQL error codes that indicate the connection to the server has been lost.

Definition at line 963 of file mythdbcon.cpp.

Referenced by exec(), and prepare().

◆ value()

QVariant MSqlQuery::value ( int  i) const
inline

Definition at line 204 of file mythdbcon.h.

Referenced by SingleValueImp::add(), FileAssociationsImp::add(), ChannelGroup::AddChannel(), ProfileGroup::addMissingDynamicProfiles(), Scheduler::AddNewRecords(), Scheduler::AddNotListed(), V2Capture::AddRecProfile(), Myth::AddStorageGroupDir(), V2Myth::AddStorageGroupDir(), HTTPLiveStream::AddStream(), ChannelScanSM::AddToList(), RecordingInfo::ApplyTranscoderProfileChange(), MainServer::BackendQueryDiskSpace(), Scheduler::BuildNewRecordsQueries(), VideoSourceEditor::cardTypesInclude(), ChannelEditor::channelIconImport(), ChannelOptionsCommon::ChannelOptionsCommon(), ChannelScanSM::ChannelScanSM(), check_cardsource(), StorageGroup::CheckAllStorageGroupDirs(), TVRec::CheckChannelPrefix(), checkChannelPresets(), checkHandlers(), checkImageStoragePaths(), checkInputDisplayNames(), checkMusicAvailable(), ProgramInfo::CheckProgramIDAuthorities(), DBUtil::CheckRepairStatus(), HTTPLiveStream::CheckStop(), checkStorageGroup(), checkStoragePaths(), DBUtil::CheckTableColumnExists(), DBUtil::CheckTimeZoneSupport(), ImportMusicDialog::chooseBackend(), Ripper::chooseBackend(), MusicFileScanner::cleanDB(), CleanupTask::CleanupOrphanedLiveTV(), CleanupTask::CleanupProgramListings(), CleanupTask::CleanupRecordedTables(), clone_capturecard(), TV::ConfiguredTunerCards(), DBUtil::CountClients(), ChannelEditor::Create(), DiSEqCDevDevice::CreateById(), CardUtil::CreateCaptureCard(), Scheduler::CreateConflictLists(), MusicMetadata::createFromFilename(), MusicMetadata::createFromID(), ImageDb< ImageAdapterLocal >::CreateImage(), CardUtil::CreateInputGroup(), RecordingProfileEditor::CreateNewProfile(), MythVideoProfile::CreateProfile(), SourceUtil::CreateSource(), PlaybackBox::createTranscodingProfilesMenu(), ChannelEditor::customEvent(), ProgramRecPriority::deactivate(), commDetector2::debugDirectory(), CaptureCardEditor::DeleteAllCaptureCardsOnHost(), JobQueue::DeleteAllJobs(), SmartPlaylistEditor::deleteCategory(), ChannelGroup::DeleteChannel(), Ripper::deleteExistingTrack(), ProgramData::DeleteOverlaps(), MythVideoProfile::DeleteProfileGroup(), MainServer::DeleteRecordedFiles(), SmartPlaylistEditor::deleteSmartPlaylist(), DisplayRecGroup(), StatusBox::doListingsStatus(), StatusBox::doLogEntries(), GameScanner::doScanAll(), StatusBox::doScheduleStatus(), JobQueue::DoTranscodeThread(), StatusBox::doTunerStatus(), SearchStream::doUpdateStreams(), doUpgradeMusicDatabaseSchema(), doUpgradeTVDatabaseSchema(), doUpgradeVideoDatabaseSchema(), DiSEqCDevTree::Exists(), ExpertSettingsEditor::ExpertSettingsEditor(), AutoExpire::ExpireEpisodesOverMax(), AutoExpire::ExpireRecordings(), NativeArchive::exportRecording(), NativeArchive::exportVideo(), extractDetailsFromFilename(), SingleValueImp::fill_from_db(), MultiValueImp::fill_from_db(), FileAssociationsImp::fill_from_db(), fill_settings(), FillCastMemberList(), RomInfo::fillData(), AutoExpire::FillDBOrdered(), V2Status::FillDriveSpace(), MusicMetadata::fillFieldList(), DTVMultiplex::FillFromDB(), ScanDTVTransport::FillFromDB(), FillGenreList(), ProgLister::FillItemList(), ChannelEditor::fillList(), ChannelRecPriority::FillList(), ProgramRecPriority::FillList(), PlaybackBox::fillRecGroupPasswordCache(), Scheduler::FillRecordingDir(), ImportNative::fillSearchList(), ProfileGroup::fillSelections(), Source::fillSelections(), RecordingProfile::fillSelections(), VideoSource::fillSelections(), CaptureCard::fillSelections(), Playlist::fillSonglistFromQuery(), Playlist::fillSonglistFromSmartPlaylist(), HttpStatus::FillStatusXML(), V2Status::FillStatusXML(), ProgLister::FillViewList(), findAllDBRSS(), findAllDBRSSByType(), findAllDBSearchGrabbers(), findAllDBTreeGrabbers(), findAllDBTreeGrabbersByHost(), findByURL(), ChannelUtil::FindChannel(), ImportNative::findChannelMatch(), StorageGroup::FindDirs(), ChannelID::findHighest(), AlbumArtImages::findImages(), RecordingExtender::findKnownSport(), SourceManager::findScripts(), SourceManager::findScriptsDB(), findSearchGrabberByCommand(), findTreeGrabberByCommand(), ProgramData::fix_end_times(), FlagCommercials(), VideoMetadataImp::fromDBRow(), FromProgramQuery(), get_atsc_stuff(), get_cardtype(), get_chan_id_from_db_atsc(), get_chan_id_from_db_dtv(), get_chan_id_from_db_dvb(), get_dtv_multiplex(), get_highest_input(), get_inputtypes(), get_max_chanid(), get_on_input(), get_use_eit(), get_valid_recorder_list(), StatusBox::getActualRecordedBPS(), MusicMetadata::getAlbumId(), CardUtil::GetAllInputInfo(), RomInfo::GetAllRomInfo(), Scheduler::GetAllScheduled(), ExportNative::getArchiveListFromDB(), MusicMetadata::getArtistId(), VideoMetaDataUtil::GetArtPath(), GetArtwork(), ChannelUtil::GetATSCChannel(), ChannelGroup::GetAutomaticChannelGroups(), V2Channel::GetAvailableChanid(), V2Status::GetBackendStatus(), ChannelUtil::GetBetterMplexID(), ChannelUtil::GetCachedPids(), Capture::GetCaptureCard(), V2Capture::GetCaptureCard(), Capture::GetCaptureCardList(), V2Capture::GetCaptureCardList(), GetCategoryList(), Guide::GetCategoryList(), V2Guide::GetCategoryList(), ChannelBase::GetChanID(), DVBChannel::GetChanID(), ChannelUtil::GetChanID(), ChannelUtil::GetChanIDs(), SourceUtil::GetChannelCount(), ChannelUtil::GetChannelData(), ChannelGroup::GetChannelGroupId(), ChannelGroup::GetChannelGroupName(), MHIContext::GetChannelIndex(), TVRec::GetChannelInfo(), SourceUtil::GetChannelSeparator(), ChannelUtil::GetChannelsInternal(), ChannelUtil::GetChannelStringField(), ChannelUtil::GetChannelValueStr(), CardUtil::GetChildInputCount(), CardUtil::GetChildInputIDs(), MusicMetadata::getCompilationArtistId(), CardUtil::GetConfiguredDVBInputs(), ChannelUtil::GetConflicting(), CardUtil::GetConflictingInputs(), PlayGroup::GetCount(), HTTPLiveStream::GetDBStatus(), ChannelImporter::GetDBTransports(), ChannelUtil::GetDefaultAuthority(), RecordingRule::GetDefaultFilter(), ImageDb< ImageAdapterLocal >::GetDescendantCount(), CardUtil::GetDeviceInputGroup(), CardUtil::GetDeviceLabel(), TVRec::GetDevices(), MusicFileScanner::GetDirectoryId(), MusicMetadata::getDirectoryId(), V2Capture::GetDiseqcConfigList(), V2Capture::GetDiseqcTreeList(), CardUtil::GetDisplayName(), NativeArchive::getFieldList(), ProgramInfo::GetFilesize(), CardUtil::GetFirewireChangerModel(), CardUtil::GetFirewireChangerNode(), V4LChannel::GetFormatForChannel(), MusicMetadata::getGenreId(), getGlobalSetting(), StorageGroup::getGroupDirs(), CardUtil::GetGroupInputIDs(), MainServer::getGuideDataThrough(), ProfileGroup::getHostNames(), Myth::GetHosts(), V2Myth::GetHosts(), ChannelUtil::GetIcon(), PlayGroup::GetInitialName(), CardUtil::GetInputGroups(), CardUtil::GetInputIDs(), CardUtil::GetInputInfo(), CardUtil::GetInputList(), CardUtil::GetInputTypeNames(), CardUtil::GetInputTypes(), ChannelUtil::GetInputTypes(), ChannelUtil::GetIPTVTuningData(), JobQueue::GetJobArgs(), JobQueue::GetJobCmd(), JobQueue::GetJobFlags(), JobQueue::GetJobID(), JobQueue::GetJobInfoFromID(), JobQueue::GetJobsInQueue(), JobQueue::GetJobStatus(), MythMainWindow::GetKey(), Myth::GetKeys(), V2Myth::GetKeys(), V2Video::GetLastPlayPos(), SourceUtil::GetListingsLoginData(), HTTPLiveStream::GetLiveStreamInfoList(), CardUtil::GetLiveTVInputList(), Myth::GetLogs(), V2Myth::GetLogs(), ChannelGroup::GetManualChannelGroups(), ChannelUtil::GetMplexID(), SourceUtil::GetMplexIDs(), Content::GetMusic(), V2Content::GetMusic(), RecordingProfile::getName(), ProfileGroup::getName(), PlayGroup::GetNames(), TVRec::GetNextProgram(), DBEvent::GetOverlappingPrograms(), MythSessionManager::GetPasswordDigest(), DBPerson::GetPersonDB(), MythVideoProfile::GetProfileGroupID(), MythVideoProfile::GetProfiles(), RecordingProfile::GetProfiles(), Dvr::GetProgramCategories(), V2Dvr::GetProgramCategories(), CardUtil::GetQuickTuning(), ProgDetails::getRatings(), RecordingInfo::GetRecgroupID(), Dvr::GetRecGroupList(), V2Dvr::GetRecGroupList(), RecordingInfo::GetRecgroupString(), StorageGroup::getRecordingsGroups(), V2Capture::GetRecProfileGroupList(), Dvr::GetRecRuleFilterList(), V2Dvr::GetRecRuleFilterList(), StorageGroup::GetRelativePathname(), DBPerson::GetRoleDB(), RomInfo::GetRomInfoById(), getRSSArticles(), V2Video::GetSavedBookmark(), Video::GetSavedBookmark(), CardUtil::GetSchedInputList(), ChannelUtil::GetServiceVersion(), PlayGroup::GetSetting(), MythDB::GetSetting(), LogViewer::getSetting(), Myth::GetSetting(), V2Myth::GetSetting(), Myth::GetSettingList(), V2Myth::GetSettingList(), MythDB::GetSettingOnHost(), MythDB::GetSettings(), GetSettingsMap(), ProgFinder::getShowNames(), RemoteEncoder::GetSignalLockTimeout(), GetSiteList(), PlaylistEditorView::getSmartPlaylistCategories(), SmartPlaylistEditor::getSmartPlaylistCategories(), PlaylistEditorView::getSmartPlaylists(), PlaylistEditorView::getSmartPlaylistTracks(), SourceUtil::GetSourceID(), ChannelUtil::GetSourceID(), CardUtil::GetSourceID(), ChannelUtil::GetSourceIDForChannel(), SourceUtil::GetSourceName(), CardUtil::GetStartChannel(), Myth::GetStorageGroupDirs(), V2Myth::GetStorageGroupDirs(), Guide::GetStoredSearches(), V2Guide::GetStoredSearches(), DBUtil::GetTables(), RecordingRule::GetTemplateNames(), CardUtil::GetTimeouts(), Dvr::GetTitleInfoList(), V2Dvr::GetTitleInfoList(), Dvr::GetTitleList(), V2Dvr::GetTitleList(), getTreeArticles(), CardUtil::GetTunerTypeFromMultiplex(), ChannelUtil::GetTuningParams(), V2Capture::GetUserInputGroupList(), Content::GetVideo(), V2Content::GetVideo(), Content::GetVideoArtwork(), V2Content::GetVideoArtwork(), V2Video::GetVideoCommBreak(), V2Video::GetVideoCutList(), CardUtil::GetVideoDevices(), VideoSelector::getVideoListFromDB(), Channel::GetVideoMultiplex(), V2Channel::GetVideoMultiplex(), Channel::GetVideoMultiplexList(), V2Channel::GetVideoMultiplexList(), Channel::GetVideoSource(), V2Channel::GetVideoSource(), Channel::GetVideoSourceList(), V2Channel::GetVideoSourceList(), Channel::GetXMLTVIdList(), V2Channel::GetXMLTVIdList(), ImportNative::gotCallsign(), ImportNative::gotChanID(), ImportNative::gotChanNo(), ImportNative::gotName(), FillData::GrabData(), RecordingProfile::groupType(), MainServer::HandleLockTuner(), ProgramData::HandlePrograms(), MainServer::HandleQueryFindFile(), MainServer::HandleScanMusic(), TV::HandleStateChange(), HardwareProfile::HardwareProfile(), SourceUtil::HasDigitalChannel(), NativeArchive::importVideo(), ChannelBase::InitializeInput(), ImportIconsWizard::initialLoad(), Scheduler::InitInputInfoMap(), EditPowerSearchPopup::initLists(), GameHandler::InitMetaDataMap(), ImageDb< ImageAdapterLocal >::InsertDbImage(), is_dishnet_eit(), SourceUtil::IsAnySourceScanable(), SourceUtil::IsEncoder(), CardUtil::IsInputTypePresent(), IsMarked(), CardUtil::IsTunerShared(), ProgramData::IsUnchanged(), CardUtil::IsUniqueDisplayName(), lastUpdate(), CardUtil::LinkInputGroup(), NetworkControl::listChannels(), NetworkControl::listRecordings(), NetworkControl::listSchedule(), StorageGroupEditor::Load(), MultiplexSetting::Load(), RecordingFile::Load(), StorageGroupListEditor::Load(), RecordingRule::Load(), DiSEqCDevSettings::Load(), InputSelector::Load(), PlaylistContainer::load(), ChannelInfo::Load(), GamePlayersList::Load(), ProgramInfoCache::Load(), SimpleDBStorage::Load(), StoreOptMixin::Load(), VideoSourceSelector::Load(), TransportListEditor::Load(), DiSEqCDevTree::Load(), VideoSourceShow::Load(), TransFreqTableSelector::Load(), FilterOptMixin::Load(), DiSEqCDevSwitch::Load(), DiSEqCDevRotor::Load(), DiSEqCDevSCR::Load(), DiSEqCDevLNB::Load(), CardInputEditor::Load(), InputGroup::Load(), load_markup_datum(), UPnpCDSMusic::LoadAlbums(), UPnpCDSMusic::LoadArtists(), RecordingProfile::loadByGroup(), RecordingProfile::loadByID(), CardInput::loadByInput(), RecordingRule::LoadBySearch(), RecordingProfile::loadByType(), EITCache::LoadChannel(), MHIContext::LoadChannelCache(), ChannelGroupSetting::LoadChannelGroupChannels(), UPnpCDSTv::LoadChannels(), ChannelUtil::LoadChannels(), CustomEdit::loadClauses(), MythBurn::loadConfiguration(), KeyBindings::LoadContexts(), CustomPriority::loadData(), CustomEdit::loadData(), ScreenSetup::loadData(), SourceSetup::loadData(), UPnpCDSTv::LoadDates(), PrevRecordedList::LoadDates(), MythVideoProfile::LoadDB(), SmartPlaylistEditor::loadFromDatabase(), HTTPLiveStream::LoadFromDB(), LoadFromOldRecorded(), LoadFromProgram(), LoadFromRecorded(), UPnpCDSTv::LoadGenres(), UPnpCDSVideo::LoadGenres(), UPnpCDSMusic::LoadGenres(), ChannelInfo::LoadGroupIds(), ChannelInfo::LoadInputIds(), KeyBindings::LoadJumppoints(), ProgDetails::loadPage(), Playlist::loadPlaylist(), Playlist::loadPlaylistByID(), ProgramInfo::LoadProgramFromRecorded(), UPnpCDSTv::LoadRecGroups(), UPnpCDSTv::LoadRecordings(), LoadScan(), LoadScanList(), UPnpCDSVideo::LoadSeasons(), UPnpCDSVideo::LoadSeries(), MythSessionManager::LoadSessions(), MythNews::loadSites(), AllStream::loadStreams(), RecordingRule::LoadTemplate(), UPnpCDSTv::LoadTitles(), PrevRecordedList::LoadTitles(), UPnpCDSMusic::LoadTracks(), UPnpCDSVideo::LoadVideos(), FileServerHandler::LocalFilePath(), MainServer::LocalFilePath(), lock_channel(), MythSessionManager::LoginUser(), SmartPlaylistEditor::lookupCategoryID(), main(), ProgramInfo::MarkAsInUse(), RecordingExtender::nameCleanup(), OverTimeCategory(), IPTVChannelFetcher::ParsePlaylist(), ProgDetails::PowerPriorities(), WeatherSource::ProbeScript(), ProgLister::ProgLister(), ProgramInfo::ProgramInfo(), Scheduler::PutInactiveSlavesToSleep(), ProgramInfo::QueryAutoExpire(), ProgramInfo::QueryAverageAspectRatio(), ProgramInfo::QueryBasename(), ProgramInfo::QueryBDBookmark(), ProgramInfo::QueryBookmarkTimeStamp(), ProgramInfo::QueryCategoryType(), PlaybackState::QueryData(), DBUtil::QueryDBMSVersion(), ProgramInfo::QueryDVDBookmark(), FileServerHandler::QueryFileSystems(), ProgramInfo::QueryInUseMap(), ProgramInfo::QueryIsEditing(), ProgramInfo::QueryIsInUse(), ProgramInfo::QueryJobsRunning(), ProgramInfo::QueryKeyFrameInfo(), ProgramInfo::QueryKeyFromPathname(), HouseKeeperTask::QueryLast(), ProgramInfo::QueryMarkup(), ProgramInfo::QueryMarkupMap(), ProgramInfo::QueryMplexID(), ProgramInfo::QueryPositionMap(), RecordingInfo::QueryRecordedIdForKey(), ProgramInfo::QueryRecordedIdFromPathname(), ProgramInfo::QueryRecordingGroup(), ProgramInfo::QueryRecordingGroupPassword(), ProgramInfo::QueryTranscoderID(), ProgramInfo::QueryTranscodeStatus(), ProgramInfo::QueryTuningInfo(), JobQueue::QueueJob(), RecordingInfo::RecordingInfo(), MythMainWindow::RegisterJump(), MythMainWindow::RegisterKey(), LiveTVChain::ReloadAll(), ReloadBookmark(), V2Capture::RemoveDiseqcTree(), HTTPLiveStream::RemoveStream(), RestoreData::Restore(), AllMusic::resync(), romInDB(), FillData::Run(), runHomepage(), AutoIncrementSetting::Save(), ChannelGroupSetting::Save(), SmartPlaylistEditor::saveClicked(), ScreenSetup::saveData(), MythVideoProfile::SaveDB(), SaveScan(), ScanDTVTransport::SaveScan(), VideoMetadataImp::saveToDatabase(), MusicFileScanner::ScanArtwork(), MusicFileScanner::ScanMusic(), ProgramRecPriority::scheduleChanged(), seekDebug(), V2Video::SetLastPlayPos(), ScanWizard::SetPaneDefaults(), V2Video::SetSavedBookmark(), Video::SetSavedBookmark(), SmartPLResultViewer::setSQL(), Weather::SetupScreens(), SourceManager::setupSources(), setupTVs(), TVRec::ShouldSwitchToAnotherInput(), PlaybackBox::showGroupFilter(), PlaybackBox::ShowRecGroupChanger(), ChannelOptionsCommon::sourceChanged(), HouseKeeper::Start(), EITScanner::StartActiveScan(), ChannelGroup::ToggleChannel(), MainServer::TruncateAndClose(), DBUtil::TryLockSchema(), SearchStream::updateBroadcasters(), ChannelGroup::UpdateChannelGroups(), ChannelUtil::UpdateChannelNumberFromDB(), SearchStream::updateCountries(), AutoExpire::UpdateDontExpireSet(), UpdateGameCounts(), SearchStream::updateGenres(), VideoMetadata::UpdateHashedDBRecord(), UpdateHashes(), ChannelUtil::UpdateInsertInfoFromDB(), SearchStream::updateLanguages(), Scheduler::UpdateManuals(), SmartPlaylistEditor::updateMatches(), Scheduler::UpdateMatches(), Scheduler::UpdateNextRecord(), V2Capture::UpdateRecProfile(), GameHandler::updateSettings(), SearchView::updateTracksList(), PlaybackBox::UpdateUILists(), V2FillCastMemberList(), V2FillGenreList(), Scheduler::VerifyCards(), GameHandler::VerifyGameDB(), and WaitToDelete().

◆ executedQuery()

QString MSqlQuery::executedQuery ( void  ) const
inline

◆ boundValues()

QVariantList MSqlQuery::boundValues ( void  ) const
inline

Definition at line 211 of file mythdbcon.h.

Referenced by exec(), and MythDB::GetError().

◆ lastError()

QSqlError MSqlQuery::lastError ( void  ) const
inline

◆ size()

int MSqlQuery::size ( void  ) const
inline

Definition at line 214 of file mythdbcon.h.

Referenced by ChannelGroup::AddChannel(), AddFileType(), Scheduler::AddNewRecords(), Scheduler::AddNotListed(), MainServer::BackendQueryDiskSpace(), chanid_available(), ChannelBase::CheckChannel(), TVRec::CheckChannelPrefix(), checkImageStoragePaths(), checkStoragePaths(), TV::ConfiguredTunerCards(), JobQueue::DeleteAllJobs(), SmartPlaylistEditor::deleteCategory(), MainServer::DeleteRecordedFiles(), SmartPlaylistEditor::deleteSmartPlaylist(), ChannelImporter::DeleteUnusedTransports(), MainServer::DoDeleteInDB(), StatusBox::doLogEntries(), SearchStream::doUpdateStreams(), doUpgradeMusicDatabaseSchema(), doUpgradeTVDatabaseSchema(), exec(), AutoExpire::ExpireEpisodesOverMax(), NativeArchive::exportRecording(), NativeArchive::exportVideo(), MultiValueImp::fill_from_db(), FillCastMemberList(), FillGenreList(), ChannelEditor::fillList(), VideoSource::fillSelections(), Playlist::fillSonglistFromSmartPlaylist(), ChannelID::findHighest(), FindInDB(), findInDB(), findSearchGrabberInDB(), findTreeGrabberInDB(), get_chan_id_from_db_dtv(), get_chan_id_from_db_dvb(), ChannelUtil::GetBetterMplexID(), ChannelUtil::GetChannelCount(), SourceUtil::GetChannelSeparator(), ImageDb< ImageAdapterLocal >::GetDirectory(), ChannelUtil::GetIcon(), JobQueue::GetJobsInQueue(), PlaylistEditorView::getSmartPlaylistCategories(), SmartPlaylistEditor::getSmartPlaylistCategories(), PlaylistEditorView::getSmartPlaylists(), PlaylistEditorView::getSmartPlaylistTracks(), VideoSelector::getVideoListFromDB(), Channel::GetVideoMultiplexList(), V2Channel::GetVideoMultiplexList(), ExportNative::handleAddVideo(), MythBurn::handleAddVideo(), MainServer::HandleGetPendingRecordings(), TV::HandleStateChange(), NativeArchive::importRecording(), ChannelBase::InitializeInput(), InitializeMythSchema(), ImportIconsWizard::initialLoad(), ImageDb< ImageAdapterLocal >::InsertDbImage(), MythBurn::isArchiveItemValid(), IsMarked(), isNewTune(), NetworkControl::listChannels(), MultiplexSetting::Load(), VideoSourceSelector::Load(), UPnpCDSMusic::LoadAlbums(), UPnpCDSMusic::LoadArtists(), UPnpCDSTv::LoadChannels(), ChannelUtil::LoadChannels(), SourceSetup::loadData(), UPnpCDSTv::LoadDates(), SmartPlaylistEditor::loadFromDatabase(), LoadFromProgram(), UPnpCDSTv::LoadGenres(), UPnpCDSVideo::LoadGenres(), UPnpCDSMusic::LoadGenres(), ChannelInfo::LoadGroupIds(), ProgDetails::loadPage(), Playlist::loadPlaylist(), UPnpCDSTv::LoadRecGroups(), UPnpCDSTv::LoadRecordings(), UPnpCDSVideo::LoadSeasons(), UPnpCDSVideo::LoadSeries(), AllStream::loadStreams(), UPnpCDSTv::LoadTitles(), UPnpCDSMusic::LoadTracks(), UPnpCDSVideo::LoadVideos(), lockShutdown(), MythSessionManager::LoginUser(), SmartPlaylistEditor::lookupCategoryID(), main(), needsMFDBReminder(), FileServerHandler::QueryFileSystems(), ProgramInfo::QueryIsInUse(), ImageDb< ImageAdapterLocal >::ReadImages(), LiveTVChain::ReloadAll(), AllMusic::resync(), runHomepage(), ChannelID::Save(), SmartPlaylistEditor::saveClicked(), MusicFileScanner::ScanArtwork(), MusicFileScanner::ScanMusic(), Weather::SetupScreens(), TVRec::ShouldSwitchToAnotherInput(), ChannelOptionsCommon::sourceChanged(), WeatherSource::startUpdate(), ChannelGroup::ToggleChannel(), unlockShutdown(), UpdateHashes(), Scheduler::UpdateManuals(), Scheduler::UpdateMatches(), V2FillCastMemberList(), V2FillGenreList(), and GameHandler::VerifyGameDB().

◆ isActive()

bool MSqlQuery::isActive ( void  ) const
inline

Definition at line 215 of file mythdbcon.h.

Referenced by FileAssociationsImp::add(), AllStream::addStream(), LiveTVChain::AppendNewProgram(), ChannelRecPriority::applyChannelRecPriorityChange(), Scheduler::BuildNewRecordsQueries(), change_record(), chanid_available(), ChannelOptionsCommon::ChannelOptionsCommon(), ChannelScanSM::ChannelScanSM(), check_cardsource(), StorageGroup::CheckAllStorageGroupDirs(), ChannelBase::CheckChannel(), TVRec::CheckChannelPrefix(), checkChannelPresets(), checkImageStoragePaths(), checkStorageGroup(), checkStoragePaths(), ImportMusicDialog::chooseBackend(), Ripper::chooseBackend(), CleanupTask::CleanupOrphanedLiveTV(), CleanupTask::CleanupRecordedTables(), clearRSSArticles(), clearTreeItems(), KeyBindings::CommitAction(), KeyBindings::CommitJumppoint(), TV::ConfiguredTunerCards(), DiSEqCDevDevice::CreateById(), ChannelUtil::CreateChannel(), SourceUtil::CreateSource(), ChannelEditor::customEvent(), TransportListEditor::Delete(), CaptureCardEditor::DeleteAllCaptureCardsOnHost(), SourceUtil::DeleteAllSources(), SmartPlaylistEditor::deleteCategory(), GamePlayerSetting::deleteEntry(), Ripper::deleteExistingTrack(), MythVideoProfile::DeleteProfileGroup(), SmartPlaylistEditor::deleteSmartPlaylist(), SourceUtil::DeleteSource(), StatusBox::doTunerStatus(), SearchStream::doUpdateStreams(), doUpgradeMusicDatabaseSchema(), MusicMetadata::dumpToDatabase(), AutoExpire::ExpireEpisodesOverMax(), NativeArchive::exportVideo(), MusicMetadata::fillFieldList(), ChannelRecPriority::FillList(), Source::fillSelections(), VideoSource::fillSelections(), Playlist::fillSonglistFromSmartPlaylist(), findAllDBSearchGrabbers(), findAllDBTreeGrabbers(), findAllDBTreeGrabbersByHost(), ChannelUtil::FindChannel(), StorageGroup::FindDirs(), ChannelID::findHighest(), findInDB(), findSearchGrabberByCommand(), findSearchGrabberInDB(), findTreeGrabberByCommand(), findTreeGrabberInDB(), LiveTVChain::FinishedRecording(), get_atsc_stuff(), get_cardtype(), get_chan_id_from_db_atsc(), get_chan_id_from_db_dtv(), get_chan_id_from_db_dvb(), get_dtv_multiplex(), get_highest_input(), get_inputtypes(), get_max_chanid(), get_use_eit(), get_valid_recorder_list(), MusicMetadata::getAlbumId(), MusicMetadata::getArtistId(), ChannelUtil::GetATSCChannel(), ChannelUtil::GetBetterMplexID(), ChannelBase::GetChanID(), DVBChannel::GetChanID(), SourceUtil::GetChannelCount(), ChannelUtil::GetChannelCount(), ChannelUtil::GetChannelData(), MHIContext::GetChannelIndex(), TVRec::GetChannelInfo(), SourceUtil::GetChannelSeparator(), ChannelUtil::GetChannelValueStr(), MusicMetadata::getCompilationArtistId(), CardUtil::GetConfiguredDVBInputs(), TVRec::GetDevices(), MusicFileScanner::GetDirectoryId(), MusicMetadata::getDirectoryId(), V4LChannel::GetFormatForChannel(), MusicMetadata::getGenreId(), MythMainWindow::GetKey(), SourceUtil::GetListingsLoginData(), ChannelUtil::GetMplexID(), TVRec::GetNextProgram(), MythVideoProfile::GetProfileGroupID(), MythVideoProfile::GetProfiles(), CardUtil::GetQuickTuning(), ProgDetails::getRatings(), getRSSArticles(), RemoteEncoder::GetSignalLockTimeout(), PlaylistEditorView::getSmartPlaylistCategories(), SmartPlaylistEditor::getSmartPlaylistCategories(), PlaylistEditorView::getSmartPlaylists(), PlaylistEditorView::getSmartPlaylistTracks(), CardUtil::GetSourceID(), CardUtil::GetStartChannel(), CardUtil::GetTimeouts(), getTreeArticles(), MainServer::HandleQueryFindFile(), MainServer::HandleScanMusic(), TV::HandleStateChange(), NativeArchive::importRecording(), ChannelBase::InitializeInput(), InitializeMythSchema(), insert_dtv_multiplex(), insertGrabberInDB(), insertInDB(), RecordingInfo::InsertProgram(), insertRSSArticleInDB(), insertTreeArticleInDB(), is_dishnet_eit(), SourceUtil::IsAnySourceScanable(), SourceUtil::IsEncoder(), IsMarked(), isNewTune(), SourceUtil::IsSourceIDValid(), isTreeInUse(), lastUpdate(), StorageGroupEditor::Load(), MultiplexSetting::Load(), DiSEqCDevSettings::Load(), InputSelector::Load(), GamePlayersList::Load(), SimpleDBStorage::Load(), VideoSourceSelector::Load(), TransportListEditor::Load(), VideoSourceShow::Load(), TransFreqTableSelector::Load(), DiSEqCDevSwitch::Load(), DiSEqCDevRotor::Load(), DiSEqCDevSCR::Load(), DiSEqCDevLNB::Load(), VideoMetadataListManager::loadAllFromDatabase(), CardInput::loadByInput(), EITCache::LoadChannel(), MHIContext::LoadChannelCache(), ChannelGroupSetting::LoadChannelGroupChannels(), KeyBindings::LoadContexts(), SmartPlaylistEditor::loadFromDatabase(), KeyBindings::LoadJumppoints(), ProgDetails::loadPage(), AllStream::loadStreams(), lock_channel(), SmartPlaylistEditor::lookupCategoryID(), main(), markTreeUpdated(), markUpdated(), needsMFDBReminder(), FileServerHandler::QueryFileSystems(), MythMainWindow::RegisterJump(), LiveTVChain::ReloadAll(), MultiValueImp::remove(), removeFromDB(), removeGrabberFromDB(), RestoreData::Restore(), AllMusic::resync(), FillData::Run(), ChannelID::Save(), SimpleDBStorage::Save(), RestoreData::Save(), TransFreqTableSelector::Save(), SmartPlaylistEditor::saveClicked(), VideoMetadataImp::saveToDatabase(), MusicFileScanner::ScanArtwork(), MusicFileScanner::ScanMusic(), setGlobalSetting(), ScanWizard::SetPaneDefaults(), TVRec::ShouldSwitchToAnotherInput(), MythNews::slotNewsRetrieved(), ChannelOptionsCommon::sourceChanged(), EITScanner::StartActiveScan(), RecordingInfo::StartedRecording(), DiSEqCDevSettings::Store(), ChannelBase::StoreInputChannels(), SearchStream::updateBroadcasters(), SearchStream::updateCountries(), SearchStream::updateGenres(), VideoMetadata::UpdateHashedDBRecord(), SearchStream::updateLanguages(), Scheduler::UpdateNextRecord(), SourceUtil::UpdateSource(), AllStream::updateStream(), MusicMetadata::updateStreamList(), and SearchView::updateTracksList().

◆ record()

QSqlRecord MSqlQuery::record ( void  ) const
inline

Definition at line 216 of file mythdbcon.h.

Referenced by DBUtil::CheckRepairStatus(), DBUtil::CountClients(), and seekDebug().

◆ numRowsAffected()

int MSqlQuery::numRowsAffected ( ) const
inline

◆ setForwardOnly()

void MSqlQuery::setForwardOnly ( bool  f)
inline

◆ isNull()

bool MSqlQuery::isNull ( int  field) const
inline

Definition at line 219 of file mythdbcon.h.

Referenced by V2Capture::GetRecProfileGroupList(), main(), and FillData::Run().

◆ driver()

const QSqlDriver* MSqlQuery::driver ( void  ) const
inline

Definition at line 220 of file mythdbcon.h.

Referenced by formattedFieldValue(), and MSqlEscapeAsAQuery().

◆ at()

int MSqlQuery::at ( void  ) const
inline

Definition at line 221 of file mythdbcon.h.

Referenced by AllMusic::resync().

◆ testDBConnection()

bool MSqlQuery::testDBConnection ( )
static

◆ InitCon()

MSqlQueryInfo MSqlQuery::InitCon ( ConnectionReuse  _reuse = kNormalConnection)
static

Only use this in combination with MSqlQuery constructor.

Definition at line 551 of file mythdbcon.cpp.

Referenced by SingleValueImp::add(), MultiValueImp::add(), FileAssociationsImp::add(), ChannelGroup::AddChannel(), AddChannelGroup(), CardUtil::AddChildInput(), MythSessionManager::AddDigestUser(), V2Capture::AddDiseqcConfig(), V2Capture::AddDiseqcTree(), MusicFileScanner::AddFileToDB(), AddFileType(), RecordingInfo::AddHistory(), ProfileGroup::addMissingDynamicProfiles(), Dvr::AddRecordedCredits(), V2Dvr::AddRecordedCredits(), Dvr::AddRecordedProgram(), V2Dvr::AddRecordedProgram(), V2Capture::AddRecProfile(), HTTPLiveStream::AddSegment(), Myth::AddStorageGroupDir(), V2Myth::AddStorageGroupDir(), HTTPLiveStream::AddStream(), AllStream::addStream(), ChannelScanSM::AddToList(), ProfileGroup::allowedGroupName(), LiveTVChain::AppendNewProgram(), ChannelRecPriority::applyChannelRecPriorityChange(), RecordingInfo::ApplyOriginalAirDateChange(), RecordingInfo::ApplyRecordPlayGroupChange(), RecordingInfo::ApplyRecordRecGroupChange(), RecordingInfo::ApplyRecordRecID(), RecordingInfo::ApplyRecordRecTitleChange(), RecordingInfo::ApplyStarsChange(), RecordingInfo::ApplyStorageGroupChange(), RecordingInfo::ApplyTranscoderProfileChange(), RecordingInfo::ApplyTranscoderProfileChangeById(), MainServer::BackendQueryDiskSpace(), DBUtil::BackupDB(), VideoSourceEditor::cardTypesInclude(), MythSessionManager::ChangeDigestUserPassword(), JobQueue::ChangeJobArgs(), JobQueue::ChangeJobCmds(), JobQueue::ChangeJobComment(), JobQueue::ChangeJobFlags(), JobQueue::ChangeJobHost(), JobQueue::ChangeJobStatus(), ChannelEditor::channelIconImport(), ChannelOptionsCommon::ChannelOptionsCommon(), ChannelScanSM::ChannelScanSM(), check_cardsource(), StorageGroup::CheckAllStorageGroupDirs(), ImportIconsWizard::checkAndDownload(), ChannelBase::CheckChannel(), TVRec::CheckChannelPrefix(), checkChannelPresets(), checkHandlers(), checkImageStoragePaths(), checkInputDisplayNames(), checkMusicAvailable(), ProgramInfo::CheckProgramIDAuthorities(), HTTPLiveStream::CheckStop(), checkStorageGroup(), checkStoragePaths(), CustomPriority::checkSyntax(), CustomEdit::checkSyntax(), DBUtil::CheckTableColumnExists(), DBUtil::CheckTables(), DBUtil::CheckTimeZoneSupport(), ImportMusicDialog::chooseBackend(), Ripper::chooseBackend(), MusicFileScanner::cleanDB(), CleanupTask::CleanupChannelTables(), CleanupTask::CleanupInUsePrograms(), CleanupMyOldInUsePrograms(), JobQueue::CleanupOldJobsInQueue(), CleanupTask::CleanupOldRecordings(), CleanupTask::CleanupOrphanedLiveTV(), CleanupTask::CleanupProgramListings(), CleanupTask::CleanupRecordedTables(), clearAllKeys(), GameHandler::clearAllMetadata(), clearArchiveTable(), EITCache::ClearChannelLocks(), ProgramData::ClearDataByChannel(), ImageDb< ImageAdapterLocal >::ClearDb(), ClearEIT(), ProgramInfo::ClearMarkupMap(), ProgramInfo::ClearPositionMap(), clearRSSArticles(), clearTreeItems(), clone_capturecard(), KeyBindings::CommitAction(), KeyBindings::CommitJumppoint(), CompleteJob(), TV::ConfiguredTunerCards(), DBUtil::CountClients(), ChannelEditor::Create(), DiSEqCDevDevice::CreateById(), CardUtil::CreateCaptureCard(), CardUtil::CreateCardInput(), ChannelUtil::CreateChannel(), Scheduler::CreateConflictLists(), MusicMetadata::createFromFilename(), MusicMetadata::createFromID(), CardUtil::CreateInputGroup(), CardInput::CreateNewInputGroupSlot(), PlayGroupEditor::CreateNewPlayBackGroupSlot(), RecordingProfileEditor::CreateNewProfile(), MythVideoProfile::CreateProfile(), MythVideoProfile::CreateProfileGroup(), StoreOptMixin::CreateRecordingGroup(), CreateRecordingGroup(), SourceUtil::CreateSource(), ImageDbLocal::CreateTable(), PlaybackBox::createTranscodingProfilesMenu(), ChannelEditor::customEvent(), StorageGroupEditor::customEvent(), DatabaseSettings::DatabaseSettings(), ProgramRecPriority::deactivate(), commDetector2::debugDirectory(), RecordingRule::Delete(), TransportListEditor::Delete(), delete_in_db(), delete_markup_datum(), CaptureCardEditor::DeleteAllCaptureCardsOnHost(), CardUtil::DeleteAllInputs(), JobQueue::DeleteAllJobs(), SourceUtil::DeleteAllSources(), SmartPlaylistEditor::deleteCategory(), ChannelGroup::DeleteChannel(), ChannelUtil::DeleteChannel(), CustomPriority::deleteClicked(), PhrasePopup::deleteClicked(), PowerSearchPopup::deleteClicked(), MythVideoProfile::DeleteDB(), GamePlayerSetting::deleteEntry(), PlayGroupConfig::deleteEntry(), RecordingProfile::deleteEntry(), ChannelGroupSetting::deleteEntry(), Ripper::deleteExistingTrack(), RomInfo::DeleteFromDatabase(), VideoMetadataImp::DeleteFromDatabase(), RecordingInfo::DeleteHistory(), CardUtil::DeleteInput(), PrevRecordedList::DeleteOldEpisode(), ProgLister::DeleteOldEpisode(), PrevRecordedList::DeleteOldSeries(), ProgLister::DeleteOldSeries(), PlaylistContainer::deletePlaylist(), MythVideoProfile::DeleteProfileGroup(), LiveTVChain::DeleteProgram(), MainServer::DeleteRecordedFiles(), V2Capture::DeleteRecProfile(), CustomEdit::deleteRule(), ScanInfo::DeleteScan(), SmartPlaylistEditor::deleteSmartPlaylist(), SourceUtil::DeleteSource(), ChannelImporter::DeleteUnusedTransports(), LiveTVChain::DestroyChain(), MythSessionManager::DestroyUserSession(), DisplayRecGroup(), MainServer::DoDeleteInDB(), StorageGroupEditor::DoDeleteSlot(), StorageGroupDirSetting::DoDeleteSlot(), StatusBox::doListingsStatus(), StatusBox::doLogEntries(), GameScanner::doScanAll(), StatusBox::doScheduleStatus(), JobQueue::DoTranscodeThread(), StatusBox::doTunerStatus(), SearchStream::doUpdateStreams(), doUpgradeMusicDatabaseSchema(), doUpgradeTVDatabaseSchema(), doUpgradeVideoDatabaseSchema(), ImageDbLocal::DropTable(), MusicMetadata::dumpToDatabase(), AlbumArtImages::dumpToDatabase(), DiSEqCDevTree::Exists(), ExpertSettingsEditor::ExpertSettingsEditor(), AutoExpire::ExpireEpisodesOverMax(), AutoExpire::ExpireRecordings(), NativeArchive::exportRecording(), NativeArchive::exportVideo(), extractDetailsFromFilename(), SingleValueImp::fill_from_db(), MultiValueImp::fill_from_db(), FileAssociationsImp::fill_from_db(), FillCastMemberList(), RomInfo::fillData(), AutoExpire::FillDBOrdered(), V2Status::FillDriveSpace(), MusicMetadata::fillFieldList(), DTVMultiplex::FillFromDB(), ScanDTVTransport::FillFromDB(), FillGenreList(), ProgLister::FillItemList(), ChannelEditor::fillList(), ChannelRecPriority::FillList(), ProgramRecPriority::FillList(), GameUI::fillNode(), PlaybackBox::fillRecGroupPasswordCache(), Scheduler::FillRecordingDir(), ImportNative::fillSearchList(), ProfileGroup::fillSelections(), Source::fillSelections(), RecordingProfile::fillSelections(), VideoSource::fillSelections(), CaptureCard::fillSelections(), Playlist::fillSonglistFromQuery(), Playlist::fillSonglistFromSmartPlaylist(), HttpStatus::FillStatusXML(), V2Status::FillStatusXML(), ProgLister::FillViewList(), findAllDBRSS(), findAllDBRSSByType(), findAllDBSearchGrabbers(), findAllDBTreeGrabbers(), findAllDBTreeGrabbersByHost(), findByURL(), ChannelUtil::FindChannel(), ImportNative::findChannelMatch(), StorageGroup::FindDirs(), ChannelID::findHighest(), AlbumArtImages::findImages(), FindInDB(), findInDB(), RecordingExtender::findKnownSport(), SourceManager::findScripts(), SourceManager::findScriptsDB(), findSearchGrabberByCommand(), findSearchGrabberInDB(), findTreeGrabberByCommand(), findTreeGrabberInDB(), LiveTVChain::FinishedRecording(), RecordingInfo::FinishedRecording(), ProgramData::fix_end_times(), FlagCommercials(), RecordingInfo::ForgetHistory(), formattedFieldValue(), get_cardtype(), get_chan_id_from_db_atsc(), get_chan_id_from_db_dtv(), get_chan_id_from_db_dvb(), get_dtv_multiplex(), get_highest_input(), get_inputtypes(), get_on_input(), get_use_eit(), get_valid_recorder_list(), StatusBox::getActualRecordedBPS(), MusicMetadata::getAlbumId(), CardUtil::GetAllInputInfo(), RomInfo::GetAllRomInfo(), Scheduler::GetAllScheduled(), ExportNative::getArchiveListFromDB(), MusicMetadata::getArtistId(), VideoMetaDataUtil::GetArtPath(), GetArtwork(), ChannelUtil::GetATSCChannel(), ChannelGroup::GetAutomaticChannelGroups(), V2Channel::GetAvailableChanid(), V2Status::GetBackendStatus(), ChannelUtil::GetBetterMplexID(), ChannelUtil::GetCachedPids(), Capture::GetCaptureCard(), V2Capture::GetCaptureCard(), Capture::GetCaptureCardList(), V2Capture::GetCaptureCardList(), GetCategoryList(), Guide::GetCategoryList(), V2Guide::GetCategoryList(), ChannelBase::GetChanID(), DVBChannel::GetChanID(), ChannelUtil::GetChanID(), ChannelUtil::GetChanIDs(), SourceUtil::GetChannelCount(), ChannelUtil::GetChannelCount(), ChannelUtil::GetChannelData(), ChannelGroup::GetChannelGroupId(), ChannelGroup::GetChannelGroupName(), MHIContext::GetChannelIndex(), TVRec::GetChannelInfo(), SourceUtil::GetChannelSeparator(), ChannelUtil::GetChannelsInternal(), ChannelUtil::GetChannelStringField(), ChannelUtil::GetChannelValueStr(), CardUtil::GetChildInputCount(), CardUtil::GetChildInputIDs(), MusicMetadata::getCompilationArtistId(), CardUtil::GetConfiguredDVBInputs(), ChannelUtil::GetConflicting(), CardUtil::GetConflictingInputs(), PlayGroup::GetCount(), HTTPLiveStream::GetDBStatus(), ChannelImporter::GetDBTransports(), ChannelUtil::GetDefaultAuthority(), RecordingRule::GetDefaultFilter(), ImageDb< ImageAdapterLocal >::GetDescendantCount(), ImageDb< ImageAdapterLocal >::GetDescendants(), CardUtil::GetDeviceInputGroup(), CardUtil::GetDeviceLabel(), TVRec::GetDevices(), ImageDb< ImageAdapterLocal >::GetDirectory(), MusicFileScanner::GetDirectoryId(), MusicMetadata::getDirectoryId(), V2Capture::GetDiseqcConfigList(), V2Capture::GetDiseqcTreeList(), CardUtil::GetDisplayName(), NativeArchive::getFieldList(), ProgramInfo::GetFilesize(), CardUtil::GetFirewireChangerModel(), CardUtil::GetFirewireChangerNode(), V4LChannel::GetFormatForChannel(), MusicMetadata::getGenreId(), getGlobalSetting(), StorageGroup::getGroupDirs(), CardUtil::GetGroupInputIDs(), MainServer::getGuideDataThrough(), ProfileGroup::getHostNames(), Myth::GetHosts(), V2Myth::GetHosts(), ChannelUtil::GetIcon(), PlayGroup::GetInitialName(), CardUtil::GetInputGroups(), CardUtil::GetInputIDs(), CardUtil::GetInputInfo(), CardUtil::GetInputList(), CardUtil::GetInputTypeNames(), CardUtil::GetInputTypes(), ChannelUtil::GetInputTypes(), ChannelUtil::GetIPTVTuningData(), JobQueue::GetJobArgs(), JobQueue::GetJobCmd(), JobQueue::GetJobCommand(), JobQueue::GetJobFlags(), JobQueue::GetJobID(), JobQueue::GetJobInfoFromID(), JobQueue::GetJobsInQueue(), JobQueue::GetJobStatus(), MythMainWindow::GetKey(), Myth::GetKeys(), V2Myth::GetKeys(), V2Video::GetLastPlayPos(), SourceUtil::GetListingsLoginData(), HTTPLiveStream::GetLiveStreamInfoList(), CardUtil::GetLiveTVInputList(), Myth::GetLogs(), V2Myth::GetLogs(), ChannelGroup::GetManualChannelGroups(), ChannelUtil::GetMplexID(), SourceUtil::GetMplexIDs(), Content::GetMusic(), V2Content::GetMusic(), RecordingProfile::getName(), ProfileGroup::getName(), PlayGroup::GetNames(), TVRec::GetNextProgram(), MythSessionManager::GetPasswordDigest(), MythVideoProfile::GetProfileGroupID(), MythVideoProfile::GetProfiles(), RecordingProfile::GetProfiles(), Dvr::GetProgramCategories(), V2Dvr::GetProgramCategories(), Guide::GetProgramList(), V2Guide::GetProgramList(), CardUtil::GetQuickTuning(), ProgDetails::getRatings(), RecordingInfo::GetRecgroupID(), Dvr::GetRecGroupList(), V2Dvr::GetRecGroupList(), RecordingInfo::GetRecgroupString(), StorageGroup::getRecordingsGroups(), V2Capture::GetRecProfileGroupList(), Dvr::GetRecRuleFilterList(), V2Dvr::GetRecRuleFilterList(), StorageGroup::GetRelativePathname(), RomInfo::GetRomInfoById(), getRSSArticles(), V2Video::GetSavedBookmark(), Video::GetSavedBookmark(), CardUtil::GetSchedInputList(), ChannelUtil::GetServiceVersion(), PlayGroup::GetSetting(), LogViewer::getSetting(), MythDB::GetSetting(), Myth::GetSetting(), V2Myth::GetSetting(), Myth::GetSettingList(), V2Myth::GetSettingList(), MythDB::GetSettingOnHost(), MythDB::GetSettings(), GetSettingsMap(), ProgFinder::getShowNames(), RemoteEncoder::GetSignalLockTimeout(), GetSiteList(), PlaylistEditorView::getSmartPlaylistCategories(), SmartPlaylistEditor::getSmartPlaylistCategories(), PlaylistEditorView::getSmartPlaylists(), PlaylistEditorView::getSmartPlaylistTracks(), SourceUtil::GetSourceID(), ChannelUtil::GetSourceID(), CardUtil::GetSourceID(), ChannelUtil::GetSourceIDForChannel(), SourceUtil::GetSourceName(), CardUtil::GetStartChannel(), Myth::GetStorageGroupDirs(), V2Myth::GetStorageGroupDirs(), Guide::GetStoredSearches(), V2Guide::GetStoredSearches(), DBUtil::GetTables(), RecordingRule::GetTemplateNames(), CardUtil::GetTimeouts(), Dvr::GetTitleInfoList(), V2Dvr::GetTitleInfoList(), Dvr::GetTitleList(), V2Dvr::GetTitleList(), getTreeArticles(), CardUtil::GetTunerTypeFromMultiplex(), ChannelUtil::GetTuningParams(), V2Capture::GetUserInputGroupList(), Content::GetVideo(), V2Content::GetVideo(), Content::GetVideoArtwork(), V2Content::GetVideoArtwork(), V2Video::GetVideoCommBreak(), V2Video::GetVideoCutList(), CardUtil::GetVideoDevices(), VideoSelector::getVideoListFromDB(), Channel::GetVideoMultiplex(), V2Channel::GetVideoMultiplex(), Channel::GetVideoMultiplexList(), V2Channel::GetVideoMultiplexList(), Channel::GetVideoSource(), V2Channel::GetVideoSource(), Channel::GetVideoSourceList(), V2Channel::GetVideoSourceList(), Channel::GetXMLTVIdList(), V2Channel::GetXMLTVIdList(), ImportNative::gotCallsign(), ImportNative::gotChanID(), ImportNative::gotChanNo(), ImportNative::gotName(), FillData::GrabData(), RecordingProfile::groupType(), ExportNative::handleAddVideo(), MythBurn::handleAddVideo(), ChannelData::handleChannels(), MainServer::HandleGetPendingRecordings(), MainServer::HandleLockTuner(), ProgramData::HandlePrograms(), MainServer::HandleQueryFindFile(), MainServer::HandleScanMusic(), TV::HandleStateChange(), HardwareProfile::HardwareProfile(), SourceUtil::HasDigitalChannel(), NativeArchive::importRecording(), NativeArchive::importVideo(), ChannelBase::InitializeInput(), InitializeMythSchema(), InitializeVideoSchema(), ImportIconsWizard::initialLoad(), Scheduler::InitInputInfoMap(), EditPowerSearchPopup::initLists(), GameHandler::InitMetaDataMap(), insert_dtv_multiplex(), insert_markup_datum(), ImageDb< ImageAdapterLocal >::InsertDbImage(), insertGrabberInDB(), InsertInDB(), insertInDB(), RecordingInfo::InsertProgram(), insertRSSArticleInDB(), insertTreeArticleInDB(), CustomPriority::installClicked(), is_dishnet_eit(), SourceUtil::IsAnySourceScanable(), MythBurn::isArchiveItemValid(), SourceUtil::IsEncoder(), CardUtil::IsInputTypePresent(), IsMarked(), isNewTune(), SourceUtil::IsSourceIDValid(), isTreeInUse(), CardUtil::IsTunerShared(), CardUtil::IsUniqueDisplayName(), RecordingRule::IsValid(), MythSessionManager::IsValidUser(), lastUpdate(), CardUtil::LinkInputGroup(), NetworkControl::listChannels(), NetworkControl::listRecordings(), NetworkControl::listSchedule(), StorageGroupEditor::Load(), MultiplexSetting::Load(), StorageGroupListEditor::Load(), RecordingFile::Load(), RecordingRule::Load(), DiSEqCDevSettings::Load(), InputSelector::Load(), PlaylistContainer::load(), GamePlayersList::Load(), ChannelInfo::Load(), ProgramInfoCache::Load(), SimpleDBStorage::Load(), StoreOptMixin::Load(), VideoSourceSelector::Load(), TransportListEditor::Load(), DiSEqCDevTree::Load(), VideoSourceShow::Load(), TransFreqTableSelector::Load(), FilterOptMixin::Load(), DiSEqCDevSwitch::Load(), DiSEqCDevRotor::Load(), DiSEqCDevSCR::Load(), DiSEqCDevLNB::Load(), CardInputEditor::Load(), InputGroup::Load(), load_markup_datum(), load_settings(), UPnpCDSMusic::LoadAlbums(), VideoMetadataListManager::loadAllFromDatabase(), UPnpCDSMusic::LoadArtists(), RecordingProfile::loadByGroup(), RecordingProfile::loadByID(), CardInput::loadByInput(), RecordingRule::LoadBySearch(), RecordingProfile::loadByType(), EITCache::LoadChannel(), MHIContext::LoadChannelCache(), ChannelGroupSetting::LoadChannelGroupChannels(), UPnpCDSTv::LoadChannels(), ChannelUtil::LoadChannels(), CustomEdit::loadClauses(), MythBurn::loadConfiguration(), KeyBindings::LoadContexts(), CustomPriority::loadData(), CustomEdit::loadData(), ScreenSetup::loadData(), SourceSetup::loadData(), UPnpCDSTv::LoadDates(), PrevRecordedList::LoadDates(), MythVideoProfile::LoadDB(), SmartPlaylistEditor::loadFromDatabase(), HTTPLiveStream::LoadFromDB(), LoadFromOldRecorded(), LoadFromProgram(), LoadFromRecorded(), UPnpCDSTv::LoadGenres(), UPnpCDSMusic::LoadGenres(), UPnpCDSVideo::LoadGenres(), ChannelInfo::LoadGroupIds(), ChannelInfo::LoadInputIds(), KeyBindings::LoadJumppoints(), ProgDetails::loadPage(), Playlist::loadPlaylist(), Playlist::loadPlaylistByID(), ProgramInfo::LoadProgramFromRecorded(), UPnpCDSTv::LoadRecGroups(), UPnpCDSTv::LoadRecordings(), LoadScan(), LoadScanList(), UPnpCDSVideo::LoadSeasons(), UPnpCDSVideo::LoadSeries(), MythSessionManager::LoadSessions(), MythNews::loadSites(), AllStream::loadStreams(), RecordingRule::LoadTemplate(), UPnpCDSTv::LoadTitles(), PrevRecordedList::LoadTitles(), UPnpCDSMusic::LoadTracks(), UPnpCDSVideo::LoadVideos(), FileServerHandler::LocalFilePath(), MainServer::LocalFilePath(), lock_channel(), lockShutdown(), MythSessionManager::LoginUser(), SmartPlaylistEditor::lookupCategoryID(), main(), ProgramInfo::MarkAsInUse(), ScanInfo::MarkProcessed(), markTreeUpdated(), markUpdated(), MSqlEscapeAsAQuery(), RecordingExtender::nameCleanup(), needsMFDBReminder(), SmartPlaylistEditor::newCategory(), OverTimeCategory(), IPTVChannelFetcher::ParsePlaylist(), performActualUpdate(), performUpdateSeries(), MusicMetadata::persist(), ProgDetails::PowerPriorities(), WeatherSource::ProbeScript(), EITHelper::ProcessEvents(), WeatherSource::processExit(), GameHandler::processGames(), ProgLister::ProgLister(), ProgramInfo::ProgramInfo(), purgeGameDB(), Scheduler::PutInactiveSlavesToSleep(), ProgramInfo::QueryAutoExpire(), ProgramInfo::QueryAverageAspectRatio(), ProgramInfo::QueryBasename(), ProgramInfo::QueryBDBookmark(), ProgramInfo::QueryBookmarkTimeStamp(), ProgramInfo::QueryCategoryType(), PlaybackState::QueryData(), DBUtil::QueryDBMSVersion(), ProgramInfo::QueryDVDBookmark(), FileServerHandler::QueryFileSystems(), ProgramInfo::QueryInUseMap(), ProgramInfo::QueryIsEditing(), ProgramInfo::QueryIsInUse(), ProgramInfo::QueryJobsRunning(), ProgramInfo::QueryKeyFrameInfo(), ProgramInfo::QueryKeyFromPathname(), HouseKeeperTask::QueryLast(), ProgramInfo::QueryMarkup(), ProgramInfo::QueryMarkupMap(), ProgramInfo::QueryMplexID(), ProgramInfo::QueryPositionMap(), RecordingInfo::QueryRecordedIdForKey(), ProgramInfo::QueryRecordedIdFromPathname(), ProgramInfo::QueryRecordingGroup(), ProgramInfo::QueryRecordingGroupPassword(), ProgramInfo::QueryTranscoderID(), ProgramInfo::QueryTranscodeStatus(), ProgramInfo::QueryTuningInfo(), JobQueue::QueueJob(), RecordingInfo::ReactivateRecording(), ImageDb< ImageAdapterLocal >::ReadAllImages(), ImageDb< ImageAdapterLocal >::ReadImages(), RecordingInfo::RecordingInfo(), MythMainWindow::RegisterJump(), MythMainWindow::RegisterKey(), LiveTVChain::ReloadAll(), ReloadBookmark(), SingleValueImp::remove(), MultiValueImp::remove(), FileAssociationsImp::remove(), RemoveChannelGroup(), MythSessionManager::RemoveDigestUser(), V2Capture::RemoveDiseqcConfig(), V2Capture::RemoveDiseqcTree(), MusicFileScanner::RemoveFileFromDB(), RemoveFromDB(), removeFromDB(), ImageDb< ImageAdapterLocal >::RemoveFromDB(), removeGrabberFromDB(), ExportNative::removeItem(), Myth::RemoveStorageGroupDir(), V2Myth::RemoveStorageGroupDir(), HTTPLiveStream::RemoveStream(), AllStream::removeStream(), SmartPlaylistEditor::renameCategory(), DBUtil::RepairTables(), ResetHomepageFromDB(), RestoreData::Restore(), AllMusic::resync(), romInDB(), FillData::Run(), runHomepage(), JobQueue::SafeDeleteJob(), ChannelID::Save(), RecordingFile::Save(), PlayGroupConfig::Save(), RecordingRule::Save(), SimpleDBStorage::Save(), MythUserSession::Save(), RestoreData::Save(), TransFreqTableSelector::Save(), AutoIncrementSetting::Save(), ChannelGroupSetting::Save(), XMLTVGrabber::Save(), ProgramInfo::SaveAspect(), ProgramInfo::SaveAutoExpire(), ProgramInfo::SaveBasename(), ProgramInfo::SaveBDBookmark(), ChannelUtil::SaveCachedPids(), SmartPlaylistEditor::saveClicked(), ProgramInfo::SaveCommFlagged(), ExportNative::saveConfiguration(), MythBurn::saveConfiguration(), ProgramInfo::SaveCutList(), ScreenSetup::saveData(), SourceSetup::saveData(), MythVideoProfile::SaveDB(), ProgramInfo::SaveDeletePendingFlag(), ProgramInfo::SaveDVDBookmark(), ProgramInfo::SaveEditing(), ProgramInfo::SaveFilesize(), ProgramInfo::SaveFrameRate(), MusicMetadata::saveHostname(), ProgramInfo::SaveInetRef(), ProgramInfo::SaveMarkup(), ProgramInfo::SaveMarkupMap(), Playlist::savePlaylist(), ProgramInfo::SavePositionMap(), ProgramInfo::SavePositionMapDelta(), ProgramInfo::SavePreserve(), ProgramInfo::SaveResolution(), SaveScan(), ScanDTVTransport::SaveScan(), ChannelInsertInfo::SaveScan(), ProgramInfo::SaveSeasonEpisode(), HTTPLiveStream::SaveSegmentInfo(), MythDB::SaveSettingOnHost(), SmartPLCriteriaRow::saveToDatabase(), RomInfo::SaveToDatabase(), VideoMetadataImp::saveToDatabase(), ProgramInfo::SaveTranscodeStatus(), ProgramInfo::SaveVideoProperties(), ProgramInfo::SaveVideoScanType(), ProgramInfo::SaveWatched(), MusicFileScanner::ScanArtwork(), MusicFileScanner::ScanMusic(), ProgramRecPriority::scheduleChanged(), set_on_input(), SetArtwork(), TVRec::SetChannelInfo(), ChannelUtil::SetChannelValue(), ImageDb< ImageAdapterLocal >::SetCover(), RecordingInfo::SetDupHistory(), RomInfo::setFavorite(), setGlobalSetting(), ImageDb< ImageAdapterLocal >::SetHidden(), V2Video::SetLastPlayPos(), ImageDb< ImageAdapterLocal >::SetOrientation(), ScanWizard::SetPaneDefaults(), PlaybackBox::SetRecGroupPassword(), V2Video::SetSavedBookmark(), Video::SetSavedBookmark(), ChannelUtil::SetServiceVersion(), SmartPLResultViewer::setSQL(), CardUtil::SetStartChannel(), Weather::SetupScreens(), SourceManager::setupSources(), setupTVs(), ChannelUtil::SetVisible(), TVRec::ShouldSwitchToAnotherInput(), PlaybackBox::showGroupFilter(), PlaybackBox::ShowRecGroupChanger(), GeneralSettings::slotDoResetDB(), MythNews::slotNewsRetrieved(), ChannelOptionsCommon::sourceChanged(), HouseKeeper::Start(), EITScanner::StartActiveScan(), RecordingInfo::StartedRecording(), WeatherSource::startUpdate(), HTTPLiveStream::StopStream(), DiSEqCDevSettings::Store(), DiSEqCDevTree::Store(), DiSEqCDevSwitch::Store(), DiSEqCDevRotor::Store(), DiSEqCDevSCR::Store(), DiSEqCDevLNB::Store(), CustomEdit::storeClicked(), ChannelBase::StoreInputChannels(), CustomEdit::storeRule(), ChannelGroup::ToggleChannel(), GuideGrid::toggleChannelFavorite(), MainServer::TruncateAndClose(), CardUtil::UnlinkInputGroup(), unlock_channel(), unlockShutdown(), SearchStream::updateBroadcasters(), ChannelUtil::UpdateChannel(), ChannelGroup::UpdateChannelGroups(), ChannelUtil::UpdateChannelNumberFromDB(), SearchStream::updateCountries(), ImageDb< ImageAdapterLocal >::UpdateDbImage(), UpdateDBVersionNumber(), V2Capture::UpdateDiseqcTree(), updateDiskCount(), updateDisplayRom(), AutoExpire::UpdateDontExpireSet(), UpdateGameCounts(), GameHandler::UpdateGameDB(), updateGameName(), SearchStream::updateGenres(), VideoMetadata::UpdateHashedDBRecord(), UpdateHashes(), UpdateHomepageInDB(), ChannelUtil::UpdateInsertInfoFromDB(), ChannelUtil::UpdateIPTVTuningData(), ProgLister::UpdateKeywordInDB(), SearchStream::updateLanguages(), ProgramInfo::UpdateLastDelete(), ProgramInfo::UpdateLastPlayTimeStamp(), HouseKeeperTask::UpdateLastRun(), ProgramInfo::UpdateMarkTimeStamp(), SmartPlaylistEditor::updateMatches(), HTTPLiveStream::UpdatePercentComplete(), RecordingInfo::UpdateRecordingEnd(), V2Capture::UpdateRecProfile(), V2Capture::UpdateRecProfileParam(), GameHandler::updateSettings(), HTTPLiveStream::UpdateSizeInfo(), SourceUtil::UpdateSource(), HTTPLiveStream::UpdateStatus(), HTTPLiveStream::UpdateStatusMessage(), AllStream::updateStream(), MusicMetadata::updateStreamList(), SearchView::updateTracksList(), PlaybackBox::UpdateUILists(), Channel::UpdateVideoSource(), V2Channel::UpdateVideoSource(), UpgradeGameDatabaseSchema(), UpgradeMusicDatabaseSchema(), UpgradeTVDatabaseSchema(), V2CreateRecordingGroup(), V2FillCastMemberList(), V2FillGenreList(), Scheduler::VerifyCards(), GameHandler::VerifyGameDB(), WaitToDelete(), and EITCache::WriteToDB().

◆ SchedCon()

MSqlQueryInfo MSqlQuery::SchedCon ( )
static

Returns dedicated connection. (Required for using temporary SQL tables.)

Definition at line 581 of file mythdbcon.cpp.

Referenced by Scheduler::HandleReschedule(), Scheduler::run(), CustomPriority::testSchedule(), and RecordingRule::UseTempTable().

◆ ChannelCon()

MSqlQueryInfo MSqlQuery::ChannelCon ( )
static

Returns dedicated connection. (Required for using temporary SQL tables.)

Definition at line 600 of file mythdbcon.cpp.

Referenced by chanid_available(), get_atsc_stuff(), get_max_chanid(), and Scheduler::Scheduler().

◆ bindValue() [2/3]

void MSqlQuery::bindValue ( const QString &  ,
const QVariant &  ,
QSql::ParamType   
)
private

◆ bindValue() [3/3]

void MSqlQuery::bindValue ( int  ,
const QVariant &  ,
QSql::ParamType   
)
private

◆ addBindValue()

void MSqlQuery::addBindValue ( const QVariant &  ,
QSql::ParamType  = QSql::In 
)
private

◆ seekDebug()

bool MSqlQuery::seekDebug ( const char *  type,
bool  result,
int  where,
bool  relative 
) const
private

Definition at line 778 of file mythdbcon.cpp.

Referenced by first(), last(), next(), previous(), and seek().

Friends And Related Function Documentation

◆ MSqlEscapeAsAQuery

MBASE_PUBLIC friend void MSqlEscapeAsAQuery ( QString &  query,
MSqlBindings bindings 
)
friend

Member Data Documentation

◆ m_db

MSqlDatabase* MSqlQuery::m_db {nullptr}
private

Definition at line 251 of file mythdbcon.h.

Referenced by exec(), MSqlQuery(), prepare(), Reconnect(), seekDebug(), and ~MSqlQuery().

◆ m_isConnected

bool MSqlQuery::m_isConnected {false}
private

Definition at line 252 of file mythdbcon.h.

Referenced by MSqlQuery().

◆ m_returnConnection

bool MSqlQuery::m_returnConnection {false}
private

Definition at line 253 of file mythdbcon.h.

Referenced by MSqlQuery(), and ~MSqlQuery().

◆ m_lastPreparedQuery

QString MSqlQuery::m_lastPreparedQuery
private

Definition at line 254 of file mythdbcon.h.

Referenced by exec(), prepare(), and Reconnect().


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