MSqlQuery Class Reference

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

#include <mythdbcon.h>

List of all members.

Public Types

enum  ConnectionReuse { kDedicatedConnection, kNormalConnection }

Public Member Functions

 MSqlQuery (const MSqlQueryInfo &qi)
 Get DB connection from pool.
 ~MSqlQuery ()
 Returns conneciton to pool.
bool isConnected (void)
 Only updated once during object creation.
bool exec (void)
 Wrap QSqlQuery::exec() so we can display SQL.
bool next (void)
 Wrap QSqlQuery::next() so we can display the query results.
bool previous (void)
 Wrap QSqlQuery::previous() so we can display the query results.
bool first (void)
 Wrap QSqlQuery::first() so we can display the query results.
bool last (void)
 Wrap QSqlQuery::last() so we can display the query results.
bool seek (int, bool relative=false)
 Wrap QSqlQuery::seek(int,bool).
bool exec (const QString &query)
 Wrap QSqlQuery::exec(const QString &query) so we can display SQL.
bool prepare (const QString &query)
 QSqlQuery::prepare() is not thread safe in Qt <= 3.3.2.
void bindValue (const QString &placeholder, const QVariant &val)
void bindValues (const MSqlBindings &bindings)
 Add all the bindings in the passed in bindings.
QVariant lastInsertId ()
 Return the id of the last inserted row.
bool Reconnect (void)
 Reconnects server and re-prepares and re-binds the last prepared query.
QVariant value (int i) const
QString executedQuery (void) const
QMap< QString, QVariant > 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).
static MSqlQueryInfo InitCon (ConnectionReuse=kNormalConnection)
 Only use this in combination with MSqlQuery constructor.
static MSqlQueryInfo SchedCon ()
 Returns dedicated connection. (Required for using temporary SQL tables.).
static MSqlQueryInfo DDCon ()
 Returns dedicated connection. (Required for using temporary SQL tables.).
static void CloseSchedCon ()
static void CloseDDCon ()

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
bool m_isConnected
bool m_returnConnection
QString m_last_prepared_query
QRegExp m_testbindings

Friends

MBASE_PUBLIC friend void MSqlEscapeAsAQuery (QString &, MSqlBindings &)
 Given a partial query string and a bindings object, escape the string.

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

Enumerator:
kDedicatedConnection 
kNormalConnection 

Definition at line 201 of file mythdbcon.h.


Constructor & Destructor Documentation

MSqlQuery::MSqlQuery ( const MSqlQueryInfo qi  ) 

Get DB connection from pool.

Definition at line 514 of file mythdbcon.cpp.

MSqlQuery::~MSqlQuery (  ) 

Returns conneciton to pool.

Definition at line 528 of file mythdbcon.cpp.


Member Function Documentation

bool MSqlQuery::isConnected ( void   )  [inline]
bool MSqlQuery::exec ( void   ) 

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

Definition at line 619 of file mythdbcon.cpp.

Referenced by FileAssociationsImp::add(), MultiValueImp::add(), SingleValueImp::add(), ChannelGroup::AddChannel(), FileScanner::AddFileToDB(), AddFileType(), RecordingInfo::AddHistory(), UPnpCDSTv::AddItem(), Scheduler::AddNewRecords(), Scheduler::AddNotListed(), Myth::AddStorageGroupDir(), HTTPLiveStream::AddStream(), ChannelScanSM::AddToList(), ProfileGroup::allowedGroupName(), LiveTVChain::AppendNewProgram(), ChannelRecPriority::applyChannelRecPriorityChange(), RecordingInfo::ApplyRecordPlayGroupChange(), RecordingInfo::ApplyRecordRecGroupChange(), RecordingInfo::ApplyRecordRecID(), RecordingInfo::ApplyRecordRecTitleChange(), RecordingInfo::ApplyStorageGroupChange(), RecordingInfo::ApplyTranscoderProfileChange(), RecordingInfo::ApplyTranscoderProfileChangeById(), MainServer::BackendQueryDiskSpace(), DBUtil::BackupDB(), InputGroupMap::Build(), Scheduler::BuildNewRecordsQueries(), ProfileGroupEditor::callDelete(), VideoSourceEditor::cardTypesInclude(), change_program(), JobQueue::ChangeJobArgs(), JobQueue::ChangeJobCmds(), JobQueue::ChangeJobComment(), JobQueue::ChangeJobFlags(), JobQueue::ChangeJobHost(), JobQueue::ChangeJobStatus(), chanid_available(), ChannelEditor::channelIconImport(), DDStructureParser::characters(), StorageGroup::CheckAllStorageGroupDirs(), ImportIconsWizard::checkAndDownload(), ChannelBase::CheckChannel(), TVRec::CheckChannelPrefix(), checkChannelPresets(), checkHandlers(), checkImageStoragePaths(), ProgramInfo::CheckProgramIDAuthorities(), HTTPLiveStream::CheckStop(), checkStoragePaths(), CustomPriority::checkSyntax(), CustomEdit::checkSyntax(), DBUtil::CheckTables(), FileScanner::cleanDB(), HouseKeeper::CleanupAllOldInUsePrograms(), CleanupMyOldInUsePrograms(), HouseKeeper::CleanupMyOldRecordings(), JobQueue::CleanupOldJobsInQueue(), HouseKeeper::CleanupOrphanedLivetvChains(), HouseKeeper::CleanupProgramListings(), HouseKeeper::CleanupRecordedTables(), clearAllKeys(), GameHandler::clearAllMetadata(), clearArchiveTable(), EITCache::ClearChannelLocks(), ProgramData::ClearDataByChannel(), ProgramInfo::ClearMarkupMap(), ProgramInfo::ClearPositionMap(), clearRSSArticles(), clearTreeItems(), clone_capturecard(), clone_cardinputs(), KeyBindings::CommitAction(), KeyBindings::CommitJumppoint(), CompleteJob(), TV::ConfiguredTunerCards(), convert_diseqc_db(), GalleryUtil::Copy(), DBUtil::CountClients(), DataDirectProcessor::CreateATempTable(), DiSEqCDevDevice::CreateById(), CardUtil::CreateCaptureCard(), CardUtil::CreateCardInput(), ChannelUtil::CreateChannel(), CardUtil::CreateInputGroup(), UPnpCDSExtension::CreateItems(), CardInput::CreateNewInputGroup(), VideoDisplayProfile::CreateProfile(), VideoDisplayProfile::CreateProfileGroup(), SourceUtil::CreateSource(), PlaybackBox::createTranscodingProfilesMenu(), StatusBox::customEvent(), ChannelEditor::customEvent(), DataDirectProcessor::DataDirectProgramUpdate(), ProgramRecPriority::deactivate(), MythGamePlayerEditor::del(), TransportListEditor::Delete(), RecordingRule::Delete(), GalleryUtil::Delete(), delete_in_db(), delete_program(), CardUtil::DeleteAllCards(), JobQueue::DeleteAllJobs(), SourceUtil::DeleteAllSources(), CardUtil::DeleteCard(), ChannelUtil::DeleteChannel(), ChannelGroup::DeleteChannel(), PowerSearchPopup::deleteClicked(), PhrasePopup::deleteClicked(), CustomPriority::deleteClicked(), VideoDisplayProfile::DeleteDB(), Ripper::deleteExistingTrack(), VideoMetadataImp::DeleteFromDatabase(), RomInfo::DeleteFromDatabase(), RecordingInfo::DeleteHistory(), CardUtil::DeleteInput(), JobQueue::DeleteJob(), ProgLister::DeleteOldEpisode(), ProgLister::DeleteOldSeries(), CardUtil::DeleteOrphanInputs(), ProgramData::DeleteOverlaps(), PlaylistContainer::deletePlaylist(), VideoDisplayProfile::DeleteProfileGroup(), VideoDisplayProfile::DeleteProfiles(), LiveTVChain::DeleteProgram(), MainServer::DeleteRecordedFiles(), CustomEdit::deleteRule(), ScanInfo::DeleteScan(), SourceUtil::DeleteSource(), ChannelImporter::DeleteUnusedTransports(), LiveTVChain::DestroyChain(), DisplayRecGroup(), StorageGroupListEditor::doDelete(), StorageGroupEditor::doDelete(), PlayGroupEditor::doDelete(), ChannelGroupEditor::doDelete(), MainServer::DoDeleteInDB(), StatusBox::doListingsStatus(), StatusBox::doLogEntries(), GameScanner::doScanAll(), StatusBox::doScheduleStatus(), JobQueue::DoTranscodeThread(), StatusBox::doTunerStatus(), doUpgradeMusicDatabaseSchema(), doUpgradeTVDatabaseSchema(), doUpgradeVideoDatabaseSchema(), AlbumArtImages::dumpToDatabase(), Metadata::dumpToDatabase(), CaptureCardEditor::edit(), DDStructureParser::endElement(), exec(), DiSEqCDevTree::Exists(), ExpertSettingsEditor::ExpertSettingsEditor(), AutoExpire::ExpireEpisodesOverMax(), AutoExpire::ExpireRecordings(), IconData::ExportIconMap(), NativeArchive::exportRecording(), NativeArchive::exportVideo(), extractDetailsFromFilename(), FileScanner::FileScanner(), FileAssociationsImp::fill_from_db(), MultiValueImp::fill_from_db(), SingleValueImp::fill_from_db(), RomInfo::fillData(), AutoExpire::FillDBOrdered(), Metadata::fillFieldList(), ScanDTVTransport::FillFromDB(), DTVMultiplex::FillFromDB(), ProgLister::FillItemList(), ProgramRecPriority::FillList(), ChannelRecPriority::FillList(), ChannelEditor::fillList(), PlaybackBox::fillRecGroupPasswordCache(), Scheduler::FillRecordingDir(), Scheduler::FillRecordListFromDB(), ImportNative::fillSearchList(), CaptureCard::fillSelections(), VideoSource::fillSelections(), TransportList::fillSelections(), ChannelSetting::fillSelections(), RecordingProfile::fillSelections(), ProfileGroup::fillSelections(), MythGamePlayerSettings::fillSelections(), Source::fillSelections(), Playlist::fillSonglistFromQuery(), Playlist::fillSonglistFromSmartPlaylist(), HttpStatus::FillStatusXML(), ProgLister::FillViewList(), findAllDBRSS(), findAllDBRSSByType(), findAllDBSearchGrabbers(), findAllDBTreeGrabbers(), findAllDBTreeGrabbersByHost(), Scheduler::findAllScheduledPrograms(), findByURL(), ChannelUtil::FindChannel(), ImportNative::findChannelMatch(), StorageGroup::FindDirs(), ChannelID::findHighest(), AlbumArtImages::findImages(), findInDB(), FindInDB(), SourceManager::findScripts(), SourceManager::findScriptsDB(), findSearchGrabberByCommand(), findSearchGrabberInDB(), findTreeGrabberByCommand(), findTreeGrabberInDB(), RecordingInfo::FinishedRecording(), LiveTVChain::FinishedRecording(), ProgramData::fix_end_times(), FlagCommercials(), HouseKeeper::flushDBLogs(), RecordingInfo::ForgetHistory(), FromProgramQuery(), get_atsc_stuff(), get_cardtype(), get_cardtypes(), get_chan_id_from_db(), get_dtv_multiplex(), get_input_id(), get_max_chanid(), get_on_cardid(), get_on_inputid(), get_use_eit(), get_valid_recorder_list(), StatusBox::getActualRecordedBPS(), Content::GetAlbumArt(), RomInfo::GetAllRomInfo(), ExportNative::getArchiveListFromDB(), VideoMetaDataUtil::GetArtPath(), GetArtwork(), ChannelUtil::GetATSCChannel(), ChannelUtil::GetBetterMplexID(), ChannelUtil::GetCachedPids(), Capture::GetCaptureCard(), Capture::GetCaptureCardList(), CardUtil::GetCardIDs(), CardUtil::GetCardInputID(), CardUtil::GetCardList(), ChannelUtil::GetCardTypes(), CardUtil::GetCardTypes(), GetCategoryList(), DVBChannel::GetChanID(), ChannelUtil::GetChanID(), ChannelBase::GetChanID(), ChannelUtil::GetChanIDs(), IPTVChannel::GetChanInfo(), SourceUtil::GetChannelCount(), ChannelUtil::GetChannelCount(), ChannelUtil::GetChannelData(), ChannelGroup::GetChannelGroupId(), ChannelGroup::GetChannelGroupName(), ChannelGroup::GetChannelGroups(), MHIContext::GetChannelIndex(), TVRec::GetChannelInfo(), ChannelUtil::GetChannels(), SourceUtil::GetChannelSeparator(), ChannelUtil::GetChannelStringField(), ChannelUtil::GetChannelValueStr(), CardUtil::GetCloneCardIDs(), CardUtil::GetConfiguredDVBInputs(), ChannelUtil::GetConflicting(), UPnpCDSExtension::GetCount(), PlayGroup::GetCount(), HTTPLiveStream::GetDBStatus(), ChannelImporter::GetDBTransports(), ChannelUtil::GetDefaultAuthority(), RecordingRule::GetDefaultFilter(), CardUtil::GetDeviceLabel(), TVRec::GetDevices(), FileScanner::GetDirectoryId(), CardUtil::GetDisplayName(), UPnpCDSVideo::GetDistinctCount(), UPnpCDSExtension::GetDistinctCount(), ChannelUtil::GetExtendedChannelData(), CardUtil::GetFirewireChangerModel(), CardUtil::GetFirewireChangerNode(), V4LChannel::GetFormatForChannel(), getGlobalSetting(), CardUtil::GetGroupCardIDs(), StorageGroup::getGroupDirs(), MainServer::getGuideDataThrough(), ProfileGroup::getHostNames(), Myth::GetHosts(), ChannelUtil::GetIcon(), PlayGroup::GetInitialName(), CardUtil::GetInputGroups(), ChannelUtil::GetInputID(), CardUtil::GetInputID(), CardUtil::GetInputIDs(), CardUtil::GetInputInfo(), CardUtil::GetInputNames(), JobQueue::GetJobArgs(), JobQueue::GetJobCmd(), JobQueue::GetJobFlags(), JobQueue::GetJobID(), JobQueue::GetJobInfoFromID(), JobQueue::GetJobsInQueue(), JobQueue::GetJobStatus(), MythMainWindow::GetKey(), Myth::GetKeys(), HouseKeeper::getLastRun(), SourceUtil::GetListingsLoginData(), HTTPLiveStream::GetLiveStreamInfoList(), ChannelUtil::GetMplexID(), SourceUtil::GetMplexIDs(), Content::GetMusic(), GetMythXMLURL(), RecordingProfile::getName(), ProfileGroup::getName(), PlayGroup::GetNames(), TVRec::GetNextProgram(), DBEvent::GetOverlappingPrograms(), DBPerson::GetPersonDB(), VideoDisplayProfile::GetProfileGroupID(), VideoDisplayProfile::GetProfiles(), Guide::GetProgramGuide(), CardUtil::GetQuickTuning(), ProgDetails::getRatings(), StorageGroup::getRecordingsGroups(), StorageGroup::GetRelativePathname(), RomInfo::GetRomInfoById(), ThumbItem::GetRotationAngle(), getRSSArticles(), MHIContext::GetServiceInfo(), ChannelUtil::GetServiceVersion(), PlayGroup::GetSetting(), MythDB::GetSetting(), Myth::GetSetting(), LogViewer::getSetting(), MythDB::GetSettingOnHost(), MythDB::GetSettings(), GetSettingsMap(), ProgFinder::getShowNames(), RemoteEncoder::GetSignalLockTimeout(), GetSiteList(), ChannelUtil::GetSourceID(), CardUtil::GetSourceID(), ChannelUtil::GetSourceIDForChannel(), SourceUtil::GetSourceName(), TVRec::GetStartChannel(), CardUtil::GetStartingChannel(), CardUtil::GetStartInput(), Myth::GetStorageGroupDirs(), DBUtil::GetTables(), CardUtil::GetTimeouts(), getTreeArticles(), ChannelUtil::GetTuningParams(), Content::GetVideo(), Content::GetVideoArtwork(), CardUtil::GetVideoDevices(), VideoSelector::getVideoListFromDB(), Channel::GetVideoMultiplex(), Channel::GetVideoMultiplexList(), Channel::GetVideoSource(), Channel::GetVideoSourceList(), Channel::GetXMLTVIdList(), ImportNative::gotCallsign(), ImportNative::gotChanID(), ImportNative::gotChanNo(), ImportNative::gotName(), FillData::GrabData(), FillData::GrabDDData(), RecordingProfile::groupType(), MythBurn::handleAddVideo(), ExportNative::handleAddVideo(), ChannelData::handleChannels(), MainServer::HandleGetPendingRecordings(), MainServer::HandleLockTuner(), ProgramData::HandlePrograms(), MainServer::HandleQueryFileHash(), FileServerHandler::HandleQueryFileHash(), Scheduler::HandleReschedule(), TV::HandleStateChange(), SourceUtil::HasDigitalChannel(), IconData::ImportIconMap(), NativeArchive::importRecording(), NativeArchive::importVideo(), ChannelBase::InitializeInputs(), InitializeMythSchema(), ImportIconsWizard::initialLoad(), EditPowerSearchPopup::initLists(), GameHandler::InitMetaDataMap(), insert_dtv_multiplex(), DBPerson::InsertCreditsDB(), ProgInfo::InsertDB(), DBEvent::InsertDB(), insertGrabberInDB(), insertInDB(), InsertInDB(), DBPerson::InsertPersonDB(), RecordingInfo::InsertProgram(), insertRSSArticleInDB(), insertTreeArticleInDB(), CustomPriority::installClicked(), is_dishnet_eit(), is_input_group_busy(), SourceUtil::IsAnySourceScanable(), MythBurn::isArchiveItemValid(), CardUtil::IsCardTypePresent(), SourceUtil::IsEncoder(), isHostMaster(), Metadata::isInDatabase(), IsMarked(), isNewTune(), isTreeInUse(), CardUtil::IsTunerShared(), ProgramData::IsUnchanged(), lastUpdate(), CardUtil::LinkInputGroup(), NetworkControl::listChannels(), RecordingProfile::listProfiles(), NetworkControl::listRecordings(), NetworkControl::listSchedule(), CardInputEditor::Load(), InputGroup::Load(), TransFreqTableSelector::Load(), VideoSourceSelector::Load(), StorageGroupListEditor::Load(), StorageGroupEditor::Load(), StoreOptEditor::Load(), SchedFilterEditor::Load(), SchedOptEditor::Load(), RecordingRule::Load(), PlaylistContainer::load(), SimpleDBStorage::Load(), MultiplexSetting::Load(), InputSelector::Load(), DiSEqCDevLNB::Load(), DiSEqCDevRotor::Load(), DiSEqCDevSwitch::Load(), DiSEqCDevTree::Load(), DiSEqCDevSettings::Load(), ChannelGroupStorage::Load(), load_markup_datum(), load_settings(), VideoMetadataListManager::loadAllFromDatabase(), RecordingProfile::loadByGroup(), RecordingProfile::loadByID(), CardInput::loadByInput(), RecordingRule::LoadBySearch(), RecordingProfile::loadByType(), EITCache::LoadChannel(), CustomEdit::loadClauses(), MythBurn::loadConfiguration(), KeyBindings::LoadContexts(), SourceSetup::loadData(), ScreenSetup::loadData(), CustomPriority::loadData(), CustomEdit::loadData(), VideoDisplayProfile::LoadDB(), HTTPLiveStream::LoadFromDB(), LoadFromOldRecorded(), LoadFromRecorded(), KeyBindings::LoadJumppoints(), loadMusic(), ProgDetails::loadPage(), Playlist::loadPlaylist(), Playlist::loadPlaylistByID(), ProgramInfo::LoadProgramFromRecorded(), LoadScan(), LoadScanList(), MythNews::loadSites(), MainServer::LocalFilePath(), FileServerHandler::LocalFilePath(), lock_channel(), DBUtil::lockSchema(), lockShutdown(), DatabaseLogger::logqmsg(), main(), ProgramInfo::MarkAsInUse(), ScanInfo::MarkProcessed(), markTreeUpdated(), markUpdated(), GalleryUtil::Move(), needsMFDBReminder(), no_capturecards(), Scheduler::OldRecordedFixups(), StorageGroupEditor::open(), RecordingProfileEditor::open(), ProfileGroupEditor::open(), PlayGroupEditor::open(), ChannelGroupEditor::open(), OverTimeCategory(), performActualUpdate(), Metadata::persist(), WeatherSource::ProbeScript(), UPnpCDSExtension::ProcessContainer(), WeatherSource::processExit(), UPnpCDSExtension::ProcessItem(), UPnpCDSExtension::ProcessKey(), ProgramInfo::ProgramInfo(), purgeGameDB(), Scheduler::PutInactiveSlavesToSleep(), ProgramInfo::QueryAutoExpire(), ProgramInfo::QueryBasename(), ProgramInfo::QueryBookmarkTimeStamp(), ProgramInfo::QueryCategoryType(), DBUtil::QueryDBMSVersion(), ProgramInfo::QueryDVDBookmark(), ProgramInfo::QueryFilesize(), FileServerHandler::QueryFileSystems(), ProgramInfo::QueryInUseMap(), ProgramInfo::QueryIsEditing(), ProgramInfo::QueryIsInUse(), ProgramInfo::QueryJobsRunning(), ProgramInfo::QueryKeyFromPathname(), ProgramInfo::QueryMarkupMap(), ProgramInfo::QueryMplexID(), ProgramInfo::QueryPositionMap(), ProgramInfo::QueryRecordingGroup(), ProgramInfo::QueryRecordingGroupPassword(), ProgramInfo::QueryTranscoderID(), ProgramInfo::QueryTranscodeStatus(), ProgramInfo::QueryTuningInfo(), JobQueue::QueueJob(), RecordingInfo::ReactivateRecording(), RecordingInfo::RecordingInfo(), MythMainWindow::RegisterJump(), MythMainWindow::RegisterKey(), LiveTVChain::ReloadAll(), ReloadBookmark(), ThumbItem::Remove(), FileAssociationsImp::remove(), MultiValueImp::remove(), SingleValueImp::remove(), FileScanner::RemoveFileFromDB(), removeFromDB(), RemoveFromDB(), removeGrabberFromDB(), ExportNative::removeItem(), Myth::RemoveStorageGroupDir(), HTTPLiveStream::RemoveStream(), GalleryUtil::Rename(), GalleryUtil::RenameDirectory(), DBUtil::RepairTables(), replace_in_db(), IconData::ResetIconMap(), AllMusic::resync(), romInDB(), FillData::Run(), HouseKeeper::RunHouseKeeping(), RunSimpleQuery(), CardInput::Save(), XMLTVConfig::Save(), TransFreqTableSelector::Save(), AutoIncrementDBSetting::Save(), RecordingRule::Save(), SimpleDBStorage::Save(), IconData::Save(), ChannelID::Save(), ProgramInfo::SaveAspect(), ProgramInfo::SaveAutoExpire(), ProgramInfo::SaveBasename(), ProgramInfo::SaveBookmark(), ChannelUtil::SaveCachedPids(), ProgramInfo::SaveCommFlagged(), MythBurn::saveConfiguration(), ExportNative::saveConfiguration(), ProgramInfo::SaveCutList(), SourceSetup::saveData(), ScreenSetup::saveData(), VideoDisplayProfile::SaveDB(), ProgramInfo::SaveDeletePendingFlag(), ProgramInfo::SaveDVDBookmark(), ProgramInfo::SaveEditing(), ProgramInfo::SaveFilesize(), ProgramInfo::SaveFrameRate(), ProgramInfo::SaveInetRef(), ProgramInfo::SaveMarkupMap(), SavePending(), Playlist::savePlaylist(), ProgramInfo::SavePositionMap(), ProgramInfo::SavePositionMapDelta(), ProgramInfo::SavePreserve(), ProgramInfo::SaveResolution(), SaveScan(), ScanDTVTransport::SaveScan(), ChannelInsertInfo::SaveScan(), ProgramInfo::SaveSeasonEpisode(), HTTPLiveStream::SaveSegmentInfo(), MythDB::SaveSettingOnHost(), VideoMetadataImp::saveToDatabase(), SmartPLCriteriaRow::saveToDatabase(), RomInfo::SaveToDatabase(), ProgramInfo::SaveTotalDuration(), ProgramInfo::SaveTotalFrames(), ProgramInfo::SaveTranscodeStatus(), ProgramInfo::SaveVideoProperties(), ProgramInfo::SaveWatched(), FileScanner::ScanArtwork(), FileScanner::ScanMusic(), ProgramRecPriority::scheduleChanged(), set_lineup_type(), set_on_input(), set_on_source(), SetArtwork(), TVRec::SetChannelInfo(), ChannelUtil::SetChannelValue(), RecordingInfo::SetDupHistory(), RomInfo::setFavorite(), setGlobalSetting(), PlaybackBox::SetRecGroupPassword(), ThumbItem::SetRotationAngle(), ChannelUtil::SetServiceVersion(), SmartPLResultViewer::setSQL(), CardUtil::SetStartChannel(), Weather::SetupScreens(), SourceManager::setupSources(), setupTVs(), ChannelUtil::SetVisible(), TVRec::ShouldSwitchToAnotherCard(), PlaybackBox::showGroupFilter(), PlaybackBox::ShowRecGroupChanger(), MythNews::slotNewsRetrieved(), ChannelOptionsCommon::sourceChanged(), EITScanner::StartActiveScan(), RecordingInfo::StartedRecording(), WeatherSource::startUpdate(), HTTPLiveStream::StopStream(), DiSEqCDevLNB::Store(), DiSEqCDevRotor::Store(), DiSEqCDevSwitch::Store(), DiSEqCDevTree::Store(), DiSEqCDevSettings::Store(), CustomEdit::storeClicked(), ChannelBase::StoreInputChannels(), CustomEdit::storeRule(), DatabaseLogger::tableExists(), CustomPriority::testSchedule(), ChannelGroup::ToggleChannel(), MainServer::TruncateAndClose(), CardUtil::UnlinkInputGroup(), unlock_channel(), DBUtil::unlockSchema(), unlockShutdown(), update_channel_basic(), ChannelUtil::UpdateChannel(), DataDirectProcessor::UpdateChannelsSafe(), DataDirectProcessor::UpdateChannelsUnsafe(), DBEvent::UpdateDB(), UpdateDBVersionNumber(), updateDiskCount(), updateDisplayRom(), AutoExpire::UpdateDontExpireSet(), UpdateGameCounts(), GameHandler::UpdateGameDB(), updateGameName(), VideoMetadata::UpdateHashedDBRecord(), UpdateHashes(), ChannelUtil::UpdateInsertInfoFromDB(), ProgLister::UpdateKeywordInDB(), ProgramInfo::UpdateLastDelete(), HouseKeeper::updateLastrun(), updateLastRunEnd(), updateLastRunStart(), updateLastRunStatus(), DataDirectProcessor::UpdateListings(), Scheduler::UpdateManuals(), Scheduler::UpdateMatches(), Metadata::UpdateModTime(), Scheduler::UpdateNextRecord(), HTTPLiveStream::UpdatePercentComplete(), DataDirectProcessor::UpdateProgramViewTable(), RecordingInfo::UpdateRecordingEnd(), GameHandler::updateSettings(), HTTPLiveStream::UpdateSizeInfo(), SourceUtil::UpdateSource(), IconData::UpdateSourceIcons(), DataDirectProcessor::UpdateStationViewTable(), HTTPLiveStream::UpdateStatus(), HTTPLiveStream::UpdateStatusMessage(), SearchView::updateTracksList(), PlaybackBox::UpdateUILists(), UpgradeGameDatabaseSchema(), UpgradeTVDatabaseSchema(), RecordingRule::UseTempTable(), Scheduler::VerifyCards(), GameHandler::VerifyGameDB(), WaitToDelete(), and HouseKeeper::wantToRun().

bool MSqlQuery::next ( void   ) 

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

Definition at line 787 of file mythdbcon.cpp.

Referenced by FileAssociationsImp::add(), SingleValueImp::add(), UPnpCDSTv::AddItem(), Scheduler::AddNewRecords(), Scheduler::AddNotListed(), Myth::AddStorageGroupDir(), HTTPLiveStream::AddStream(), ChannelScanSM::AddToList(), RecordingInfo::ApplyTranscoderProfileChange(), MainServer::BackendQueryDiskSpace(), InputGroupMap::Build(), Scheduler::BuildNewRecordsQueries(), ProfileGroupEditor::callDelete(), VideoSourceEditor::cardTypesInclude(), ChannelEditor::channelIconImport(), StorageGroup::CheckAllStorageGroupDirs(), ChannelBase::CheckChannel(), TVRec::CheckChannelPrefix(), checkChannelPresets(), checkHandlers(), checkImageStoragePaths(), ProgramInfo::CheckProgramIDAuthorities(), DBUtil::CheckRepairStatus(), HTTPLiveStream::CheckStop(), checkStoragePaths(), FileScanner::cleanDB(), HouseKeeper::CleanupOrphanedLivetvChains(), HouseKeeper::CleanupProgramListings(), HouseKeeper::CleanupRecordedTables(), clone_capturecard(), clone_cardinputs(), TV::ConfiguredTunerCards(), convert_diseqc_db(), DBUtil::CountClients(), DiSEqCDevDevice::CreateById(), CardUtil::CreateCaptureCard(), CardUtil::CreateCardInput(), CardUtil::CreateInputGroup(), UPnpCDSExtension::CreateItems(), CardInput::CreateNewInputGroup(), VideoDisplayProfile::CreateProfile(), SourceUtil::CreateSource(), PlaybackBox::createTranscodingProfilesMenu(), ChannelEditor::customEvent(), ProgramRecPriority::deactivate(), JobQueue::DeleteAllJobs(), CardUtil::DeleteCard(), ChannelGroup::DeleteChannel(), Ripper::deleteExistingTrack(), CardUtil::DeleteOrphanInputs(), ProgramData::DeleteOverlaps(), VideoDisplayProfile::DeleteProfileGroup(), VideoDisplayProfile::DeleteProfiles(), MainServer::DeleteRecordedFiles(), DisplayRecGroup(), ChannelGroupEditor::doDelete(), StatusBox::doListingsStatus(), StatusBox::doLogEntries(), GameScanner::doScanAll(), StatusBox::doScheduleStatus(), JobQueue::DoTranscodeThread(), StatusBox::doTunerStatus(), doUpgradeMusicDatabaseSchema(), doUpgradeTVDatabaseSchema(), doUpgradeVideoDatabaseSchema(), Metadata::dumpToDatabase(), CaptureCardEditor::edit(), DiSEqCDevTree::Exists(), ExpertSettingsEditor::ExpertSettingsEditor(), AutoExpire::ExpireEpisodesOverMax(), AutoExpire::ExpireRecordings(), IconData::ExportIconMap(), NativeArchive::exportRecording(), NativeArchive::exportVideo(), extractDetailsFromFilename(), FileScanner::FileScanner(), FileAssociationsImp::fill_from_db(), MultiValueImp::fill_from_db(), SingleValueImp::fill_from_db(), fill_settings(), RomInfo::fillData(), AutoExpire::FillDBOrdered(), Metadata::fillFieldList(), ScanDTVTransport::FillFromDB(), DTVMultiplex::FillFromDB(), ProgLister::FillItemList(), ProgramRecPriority::FillList(), ChannelRecPriority::FillList(), ChannelEditor::fillList(), PlaybackBox::fillRecGroupPasswordCache(), Scheduler::FillRecordingDir(), ImportNative::fillSearchList(), CaptureCard::fillSelections(), VideoSource::fillSelections(), TransportList::fillSelections(), ChannelSetting::fillSelections(), RecordingProfile::fillSelections(), ProfileGroup::fillSelections(), MythGamePlayerSettings::fillSelections(), Source::fillSelections(), Playlist::fillSonglistFromQuery(), Playlist::fillSonglistFromSmartPlaylist(), HttpStatus::FillStatusXML(), ProgLister::FillViewList(), findAllDBRSS(), findAllDBRSSByType(), findAllDBSearchGrabbers(), findAllDBTreeGrabbers(), findAllDBTreeGrabbersByHost(), Scheduler::findAllScheduledPrograms(), findByURL(), ChannelUtil::FindChannel(), ImportNative::findChannelMatch(), StorageGroup::FindDirs(), ChannelID::findHighest(), AlbumArtImages::findImages(), SourceManager::findScripts(), SourceManager::findScriptsDB(), ProgramData::fix_end_times(), FlagCommercials(), HouseKeeper::flushDBLogs(), get_atsc_stuff(), get_cardtype(), get_cardtypes(), get_chan_id_from_db(), get_dtv_multiplex(), get_input_id(), get_max_chanid(), get_on_cardid(), get_on_inputid(), get_use_eit(), get_valid_recorder_list(), StatusBox::getActualRecordedBPS(), Content::GetAlbumArt(), RomInfo::GetAllRomInfo(), ExportNative::getArchiveListFromDB(), VideoMetaDataUtil::GetArtPath(), GetArtwork(), ChannelUtil::GetATSCChannel(), ChannelUtil::GetBetterMplexID(), ChannelUtil::GetCachedPids(), Capture::GetCaptureCard(), Capture::GetCaptureCardList(), CardUtil::GetCardIDs(), CardUtil::GetCardInputID(), CardUtil::GetCardList(), ChannelUtil::GetCardTypes(), CardUtil::GetCardTypes(), GetCategoryList(), DVBChannel::GetChanID(), ChannelUtil::GetChanID(), ChannelBase::GetChanID(), ChannelUtil::GetChanIDs(), IPTVChannel::GetChanInfo(), SourceUtil::GetChannelCount(), ChannelUtil::GetChannelData(), ChannelGroup::GetChannelGroupId(), ChannelGroup::GetChannelGroupName(), ChannelGroup::GetChannelGroups(), MHIContext::GetChannelIndex(), TVRec::GetChannelInfo(), ChannelUtil::GetChannels(), SourceUtil::GetChannelSeparator(), ChannelUtil::GetChannelStringField(), ChannelUtil::GetChannelValueStr(), CardUtil::GetCloneCardIDs(), CardUtil::GetConfiguredDVBInputs(), ChannelUtil::GetConflicting(), UPnpCDSExtension::GetCount(), PlayGroup::GetCount(), HTTPLiveStream::GetDBStatus(), ChannelImporter::GetDBTransports(), ChannelUtil::GetDefaultAuthority(), RecordingRule::GetDefaultFilter(), CardUtil::GetDeviceLabel(), TVRec::GetDevices(), FileScanner::GetDirectoryId(), CardUtil::GetDisplayName(), UPnpCDSVideo::GetDistinctCount(), UPnpCDSExtension::GetDistinctCount(), ChannelUtil::GetExtendedChannelData(), CardUtil::GetFirewireChangerModel(), CardUtil::GetFirewireChangerNode(), V4LChannel::GetFormatForChannel(), getGlobalSetting(), CardUtil::GetGroupCardIDs(), StorageGroup::getGroupDirs(), MainServer::getGuideDataThrough(), ProfileGroup::getHostNames(), Myth::GetHosts(), ChannelUtil::GetIcon(), PlayGroup::GetInitialName(), CardUtil::GetInputGroups(), ChannelUtil::GetInputID(), CardUtil::GetInputID(), CardUtil::GetInputIDs(), CardUtil::GetInputInfo(), CardUtil::GetInputNames(), JobQueue::GetJobArgs(), JobQueue::GetJobCmd(), JobQueue::GetJobFlags(), JobQueue::GetJobID(), JobQueue::GetJobInfoFromID(), JobQueue::GetJobsInQueue(), JobQueue::GetJobStatus(), MythMainWindow::GetKey(), Myth::GetKeys(), HouseKeeper::getLastRun(), SourceUtil::GetListingsLoginData(), HTTPLiveStream::GetLiveStreamInfoList(), ChannelUtil::GetMplexID(), SourceUtil::GetMplexIDs(), Content::GetMusic(), GetMythXMLURL(), RecordingProfile::getName(), ProfileGroup::getName(), PlayGroup::GetNames(), TVRec::GetNextProgram(), DBEvent::GetOverlappingPrograms(), DBPerson::GetPersonDB(), VideoDisplayProfile::GetProfileGroupID(), VideoDisplayProfile::GetProfiles(), CardUtil::GetQuickTuning(), ProgDetails::getRatings(), StorageGroup::getRecordingsGroups(), StorageGroup::GetRelativePathname(), RomInfo::GetRomInfoById(), ThumbItem::GetRotationAngle(), getRSSArticles(), MHIContext::GetServiceInfo(), ChannelUtil::GetServiceVersion(), PlayGroup::GetSetting(), MythDB::GetSetting(), Myth::GetSetting(), LogViewer::getSetting(), MythDB::GetSettingOnHost(), MythDB::GetSettings(), GetSettingsMap(), ProgFinder::getShowNames(), RemoteEncoder::GetSignalLockTimeout(), GetSiteList(), ChannelUtil::GetSourceID(), CardUtil::GetSourceID(), ChannelUtil::GetSourceIDForChannel(), SourceUtil::GetSourceName(), TVRec::GetStartChannel(), CardUtil::GetStartingChannel(), CardUtil::GetStartInput(), Myth::GetStorageGroupDirs(), DBUtil::GetTables(), CardUtil::GetTimeouts(), getTreeArticles(), ChannelUtil::GetTuningParams(), Content::GetVideo(), Content::GetVideoArtwork(), CardUtil::GetVideoDevices(), VideoSelector::getVideoListFromDB(), Channel::GetVideoMultiplex(), Channel::GetVideoSource(), Channel::GetVideoSourceList(), Channel::GetXMLTVIdList(), ImportNative::gotCallsign(), ImportNative::gotChanID(), ImportNative::gotChanNo(), ImportNative::gotName(), FillData::GrabData(), FillData::GrabDDData(), RecordingProfile::groupType(), ChannelData::handleChannels(), MainServer::HandleLockTuner(), ProgramData::HandlePrograms(), MainServer::HandleQueryFileHash(), FileServerHandler::HandleQueryFileHash(), TV::HandleStateChange(), SourceUtil::HasDigitalChannel(), IconData::ImportIconMap(), NativeArchive::importVideo(), ChannelBase::InitializeInputs(), ImportIconsWizard::initialLoad(), EditPowerSearchPopup::initLists(), GameHandler::InitMetaDataMap(), RecordingInfo::InsertProgram(), is_dishnet_eit(), is_input_group_busy(), SourceUtil::IsAnySourceScanable(), CardUtil::IsCardTypePresent(), SourceUtil::IsEncoder(), isHostMaster(), Metadata::isInDatabase(), IsMarked(), isTreeInUse(), CardUtil::IsTunerShared(), ProgramData::IsUnchanged(), lastUpdate(), CardUtil::LinkInputGroup(), NetworkControl::listChannels(), RecordingProfile::listProfiles(), NetworkControl::listRecordings(), NetworkControl::listSchedule(), CardInputEditor::Load(), InputGroup::Load(), TransFreqTableSelector::Load(), VideoSourceSelector::Load(), StorageGroupListEditor::Load(), StorageGroupEditor::Load(), StoreOptEditor::Load(), SchedFilterEditor::Load(), SchedOptEditor::Load(), RecordingRule::Load(), PlaylistContainer::load(), SimpleDBStorage::Load(), MultiplexSetting::Load(), InputSelector::Load(), DiSEqCDevLNB::Load(), DiSEqCDevRotor::Load(), DiSEqCDevSwitch::Load(), DiSEqCDevTree::Load(), DiSEqCDevSettings::Load(), ChannelGroupStorage::Load(), load_markup_datum(), VideoMetadataListManager::loadAllFromDatabase(), RecordingProfile::loadByGroup(), RecordingProfile::loadByID(), CardInput::loadByInput(), RecordingRule::LoadBySearch(), RecordingProfile::loadByType(), EITCache::LoadChannel(), CustomEdit::loadClauses(), MythBurn::loadConfiguration(), KeyBindings::LoadContexts(), SourceSetup::loadData(), ScreenSetup::loadData(), CustomPriority::loadData(), CustomEdit::loadData(), VideoDisplayProfile::LoadDB(), HTTPLiveStream::LoadFromDB(), LoadFromOldRecorded(), LoadFromProgram(), LoadFromRecorded(), KeyBindings::LoadJumppoints(), loadMusic(), ProgDetails::loadPage(), Playlist::loadPlaylist(), Playlist::loadPlaylistByID(), ProgramInfo::LoadProgramFromRecorded(), LoadScan(), LoadScanList(), MythNews::loadSites(), MainServer::LocalFilePath(), FileServerHandler::LocalFilePath(), lock_channel(), main(), ProgramInfo::MarkAsInUse(), no_capturecards(), RecordingProfileEditor::open(), ProfileGroupEditor::open(), OverTimeCategory(), WeatherSource::ProbeScript(), UPnpCDSExtension::ProcessContainer(), UPnpCDSExtension::ProcessItem(), UPnpCDSExtension::ProcessKey(), ProgramInfo::ProgramInfo(), Scheduler::PutInactiveSlavesToSleep(), ProgramInfo::QueryAutoExpire(), ProgramInfo::QueryBasename(), ProgramInfo::QueryBookmarkTimeStamp(), ProgramInfo::QueryCategoryType(), DBUtil::QueryDBMSVersion(), ProgramInfo::QueryDVDBookmark(), ProgramInfo::QueryFilesize(), FileServerHandler::QueryFileSystems(), ProgramInfo::QueryInUseMap(), ProgramInfo::QueryIsEditing(), ProgramInfo::QueryIsInUse(), ProgramInfo::QueryJobsRunning(), ProgramInfo::QueryKeyFromPathname(), ProgramInfo::QueryMarkupMap(), ProgramInfo::QueryMplexID(), ProgramInfo::QueryPositionMap(), ProgramInfo::QueryRecordingGroup(), ProgramInfo::QueryRecordingGroupPassword(), ProgramInfo::QueryTranscoderID(), ProgramInfo::QueryTranscodeStatus(), ProgramInfo::QueryTuningInfo(), JobQueue::QueueJob(), RecordingInfo::RecordingInfo(), MythMainWindow::RegisterJump(), MythMainWindow::RegisterKey(), LiveTVChain::ReloadAll(), ReloadBookmark(), HTTPLiveStream::RemoveStream(), GalleryUtil::RenameDirectory(), AllMusic::resync(), romInDB(), FillData::Run(), HouseKeeper::RunHouseKeeping(), AutoIncrementDBSetting::Save(), SimpleDBStorage::Save(), ScreenSetup::saveData(), VideoDisplayProfile::SaveDB(), ProgramInfo::SaveMarkupMap(), SaveScan(), ScanDTVTransport::SaveScan(), VideoMetadataImp::saveToDatabase(), FileScanner::ScanArtwork(), FileScanner::ScanMusic(), ProgramRecPriority::scheduleChanged(), set_lineup_type(), SmartPLResultViewer::setSQL(), Weather::SetupScreens(), SourceManager::setupSources(), setupTVs(), TVRec::ShouldSwitchToAnotherCard(), PlaybackBox::showGroupFilter(), PlaybackBox::ShowRecGroupChanger(), ChannelOptionsCommon::sourceChanged(), EITScanner::StartActiveScan(), CustomEdit::storeClicked(), DatabaseLogger::tableExists(), ChannelGroup::ToggleChannel(), MainServer::TruncateAndClose(), update_channel_basic(), DataDirectProcessor::UpdateChannelsSafe(), DataDirectProcessor::UpdateChannelsUnsafe(), AutoExpire::UpdateDontExpireSet(), UpdateGameCounts(), VideoMetadata::UpdateHashedDBRecord(), UpdateHashes(), ChannelUtil::UpdateInsertInfoFromDB(), DataDirectProcessor::UpdateListings(), Scheduler::UpdateManuals(), Scheduler::UpdateMatches(), Scheduler::UpdateNextRecord(), GameHandler::updateSettings(), IconData::UpdateSourceIcons(), SearchView::updateTracksList(), PlaybackBox::UpdateUILists(), Scheduler::VerifyCards(), GameHandler::VerifyGameDB(), WaitToDelete(), and HouseKeeper::wantToRun().

bool MSqlQuery::previous ( void   ) 

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

Definition at line 792 of file mythdbcon.cpp.

bool MSqlQuery::first ( void   ) 

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

Definition at line 797 of file mythdbcon.cpp.

Referenced by doUpgradeMusicDatabaseSchema(), Playlist::fillSonglistFromSmartPlaylist(), Guide::GetProgramGuide(), NativeArchive::importRecording(), and setupTVs().

bool MSqlQuery::last ( void   ) 

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

Definition at line 802 of file mythdbcon.cpp.

Referenced by Guide::GetProgramGuide().

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

Wrap QSqlQuery::seek(int,bool).

Definition at line 807 of file mythdbcon.cpp.

Referenced by Channel::GetVideoMultiplexList().

bool MSqlQuery::exec ( const QString &  query  ) 

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

Definition at line 718 of file mythdbcon.cpp.

bool MSqlQuery::prepare ( const QString &  query  ) 

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

Definition at line 812 of file mythdbcon.cpp.

Referenced by FileAssociationsImp::add(), MultiValueImp::add(), SingleValueImp::add(), ChannelGroup::AddChannel(), FileScanner::AddFileToDB(), AddFileType(), RecordingInfo::AddHistory(), UPnpCDSTv::AddItem(), Scheduler::AddNewRecords(), Scheduler::AddNotListed(), Myth::AddStorageGroupDir(), HTTPLiveStream::AddStream(), ChannelScanSM::AddToList(), ProfileGroup::allowedGroupName(), LiveTVChain::AppendNewProgram(), ChannelRecPriority::applyChannelRecPriorityChange(), RecordingInfo::ApplyRecordPlayGroupChange(), RecordingInfo::ApplyRecordRecGroupChange(), RecordingInfo::ApplyRecordRecID(), RecordingInfo::ApplyRecordRecTitleChange(), RecordingInfo::ApplyStorageGroupChange(), RecordingInfo::ApplyTranscoderProfileChange(), RecordingInfo::ApplyTranscoderProfileChangeById(), MainServer::BackendQueryDiskSpace(), DBUtil::BackupDB(), InputGroupMap::Build(), UPnpCDSVideo::BuildItemQuery(), UPnpCDSTv::BuildItemQuery(), UPnpCDSMusic::BuildItemQuery(), Scheduler::BuildNewRecordsQueries(), ProfileGroupEditor::callDelete(), VideoSourceEditor::cardTypesInclude(), change_program(), JobQueue::ChangeJobArgs(), JobQueue::ChangeJobCmds(), JobQueue::ChangeJobComment(), JobQueue::ChangeJobFlags(), JobQueue::ChangeJobHost(), JobQueue::ChangeJobStatus(), chanid_available(), ChannelEditor::channelIconImport(), DDStructureParser::characters(), StorageGroup::CheckAllStorageGroupDirs(), ImportIconsWizard::checkAndDownload(), ChannelBase::CheckChannel(), TVRec::CheckChannelPrefix(), checkChannelPresets(), checkImageStoragePaths(), ProgramInfo::CheckProgramIDAuthorities(), HTTPLiveStream::CheckStop(), checkStoragePaths(), CustomPriority::checkSyntax(), CustomEdit::checkSyntax(), FileScanner::cleanDB(), HouseKeeper::CleanupAllOldInUsePrograms(), CleanupMyOldInUsePrograms(), HouseKeeper::CleanupMyOldRecordings(), JobQueue::CleanupOldJobsInQueue(), HouseKeeper::CleanupOrphanedLivetvChains(), HouseKeeper::CleanupProgramListings(), HouseKeeper::CleanupRecordedTables(), clearAllKeys(), clearArchiveTable(), EITCache::ClearChannelLocks(), ProgramData::ClearDataByChannel(), ProgramInfo::ClearMarkupMap(), ProgramInfo::ClearPositionMap(), clearRSSArticles(), clearTreeItems(), clone_capturecard(), clone_cardinputs(), KeyBindings::CommitAction(), KeyBindings::CommitJumppoint(), CompleteJob(), TV::ConfiguredTunerCards(), convert_diseqc_db(), GalleryUtil::Copy(), DiSEqCDevDevice::CreateById(), CardUtil::CreateCaptureCard(), CardUtil::CreateCardInput(), ChannelUtil::CreateChannel(), CardUtil::CreateInputGroup(), UPnpCDSExtension::CreateItems(), CardInput::CreateNewInputGroup(), VideoDisplayProfile::CreateProfile(), VideoDisplayProfile::CreateProfileGroup(), SourceUtil::CreateSource(), PlaybackBox::createTranscodingProfilesMenu(), StatusBox::customEvent(), ChannelEditor::customEvent(), DataDirectProcessor::DataDirectProgramUpdate(), ProgramRecPriority::deactivate(), MythGamePlayerEditor::del(), TransportListEditor::Delete(), RecordingRule::Delete(), GalleryUtil::Delete(), delete_in_db(), delete_program(), JobQueue::DeleteAllJobs(), CardUtil::DeleteCard(), ChannelUtil::DeleteChannel(), ChannelGroup::DeleteChannel(), PowerSearchPopup::deleteClicked(), PhrasePopup::deleteClicked(), CustomPriority::deleteClicked(), VideoDisplayProfile::DeleteDB(), Ripper::deleteExistingTrack(), VideoMetadataImp::DeleteFromDatabase(), RomInfo::DeleteFromDatabase(), RecordingInfo::DeleteHistory(), CardUtil::DeleteInput(), JobQueue::DeleteJob(), ProgLister::DeleteOldEpisode(), ProgLister::DeleteOldSeries(), CardUtil::DeleteOrphanInputs(), ProgramData::DeleteOverlaps(), PlaylistContainer::deletePlaylist(), VideoDisplayProfile::DeleteProfileGroup(), VideoDisplayProfile::DeleteProfiles(), LiveTVChain::DeleteProgram(), MainServer::DeleteRecordedFiles(), CustomEdit::deleteRule(), ScanInfo::DeleteScan(), SourceUtil::DeleteSource(), ChannelImporter::DeleteUnusedTransports(), LiveTVChain::DestroyChain(), DisplayRecGroup(), StorageGroupListEditor::doDelete(), StorageGroupEditor::doDelete(), PlayGroupEditor::doDelete(), ChannelGroupEditor::doDelete(), MainServer::DoDeleteInDB(), StatusBox::doListingsStatus(), StatusBox::doLogEntries(), GameScanner::doScanAll(), StatusBox::doScheduleStatus(), JobQueue::DoTranscodeThread(), StatusBox::doTunerStatus(), doUpgradeMusicDatabaseSchema(), doUpgradeTVDatabaseSchema(), doUpgradeVideoDatabaseSchema(), AlbumArtImages::dumpToDatabase(), Metadata::dumpToDatabase(), CaptureCardEditor::edit(), DDStructureParser::endElement(), DiSEqCDevTree::Exists(), ExpertSettingsEditor::ExpertSettingsEditor(), AutoExpire::ExpireEpisodesOverMax(), AutoExpire::ExpireRecordings(), IconData::ExportIconMap(), NativeArchive::exportRecording(), NativeArchive::exportVideo(), extractDetailsFromFilename(), FileScanner::FileScanner(), RomInfo::fillData(), AutoExpire::FillDBOrdered(), Metadata::fillFieldList(), ScanDTVTransport::FillFromDB(), DTVMultiplex::FillFromDB(), ProgLister::FillItemList(), ProgramRecPriority::FillList(), ChannelRecPriority::FillList(), ChannelEditor::fillList(), PlaybackBox::fillRecGroupPasswordCache(), Scheduler::FillRecordingDir(), Scheduler::FillRecordListFromDB(), CaptureCard::fillSelections(), VideoSource::fillSelections(), TransportList::fillSelections(), ChannelSetting::fillSelections(), RecordingProfile::fillSelections(), ProfileGroup::fillSelections(), MythGamePlayerSettings::fillSelections(), Source::fillSelections(), Playlist::fillSonglistFromSmartPlaylist(), HttpStatus::FillStatusXML(), ProgLister::FillViewList(), findAllDBRSS(), findAllDBRSSByType(), findAllDBSearchGrabbers(), findAllDBTreeGrabbers(), findAllDBTreeGrabbersByHost(), Scheduler::findAllScheduledPrograms(), findByURL(), ChannelUtil::FindChannel(), ImportNative::findChannelMatch(), StorageGroup::FindDirs(), ChannelID::findHighest(), AlbumArtImages::findImages(), findInDB(), FindInDB(), SourceManager::findScripts(), SourceManager::findScriptsDB(), findSearchGrabberByCommand(), findSearchGrabberInDB(), findTreeGrabberByCommand(), findTreeGrabberInDB(), RecordingInfo::FinishedRecording(), LiveTVChain::FinishedRecording(), FlagCommercials(), HouseKeeper::flushDBLogs(), RecordingInfo::ForgetHistory(), FromProgramQuery(), get_atsc_stuff(), get_cardtype(), get_cardtypes(), get_chan_id_from_db(), get_dtv_multiplex(), get_input_id(), get_max_chanid(), get_on_cardid(), get_on_inputid(), get_use_eit(), get_valid_recorder_list(), StatusBox::getActualRecordedBPS(), Content::GetAlbumArt(), RomInfo::GetAllRomInfo(), ExportNative::getArchiveListFromDB(), VideoMetaDataUtil::GetArtPath(), GetArtwork(), ChannelUtil::GetATSCChannel(), ChannelUtil::GetBetterMplexID(), ChannelUtil::GetCachedPids(), Capture::GetCaptureCard(), Capture::GetCaptureCardList(), CardUtil::GetCardIDs(), CardUtil::GetCardInputID(), CardUtil::GetCardList(), ChannelUtil::GetCardTypes(), CardUtil::GetCardTypes(), GetCategoryList(), DVBChannel::GetChanID(), ChannelUtil::GetChanID(), ChannelBase::GetChanID(), IPTVChannel::GetChanInfo(), SourceUtil::GetChannelCount(), ChannelUtil::GetChannelCount(), ChannelUtil::GetChannelData(), ChannelGroup::GetChannelGroupId(), ChannelGroup::GetChannelGroupName(), ChannelGroup::GetChannelGroups(), MHIContext::GetChannelIndex(), TVRec::GetChannelInfo(), ChannelUtil::GetChannels(), SourceUtil::GetChannelSeparator(), ChannelUtil::GetChannelStringField(), ChannelUtil::GetChannelValueStr(), CardUtil::GetCloneCardIDs(), CardUtil::GetConfiguredDVBInputs(), ChannelUtil::GetConflicting(), UPnpCDSExtension::GetCount(), PlayGroup::GetCount(), HTTPLiveStream::GetDBStatus(), ChannelImporter::GetDBTransports(), ChannelUtil::GetDefaultAuthority(), RecordingRule::GetDefaultFilter(), CardUtil::GetDeviceLabel(), TVRec::GetDevices(), FileScanner::GetDirectoryId(), CardUtil::GetDisplayName(), UPnpCDSVideo::GetDistinctCount(), UPnpCDSExtension::GetDistinctCount(), ChannelUtil::GetExtendedChannelData(), CardUtil::GetFirewireChangerModel(), CardUtil::GetFirewireChangerNode(), V4LChannel::GetFormatForChannel(), getGlobalSetting(), CardUtil::GetGroupCardIDs(), StorageGroup::getGroupDirs(), MainServer::getGuideDataThrough(), ProfileGroup::getHostNames(), Myth::GetHosts(), ChannelUtil::GetIcon(), PlayGroup::GetInitialName(), CardUtil::GetInputGroups(), ChannelUtil::GetInputID(), CardUtil::GetInputID(), CardUtil::GetInputIDs(), CardUtil::GetInputInfo(), CardUtil::GetInputNames(), JobQueue::GetJobArgs(), JobQueue::GetJobCmd(), JobQueue::GetJobFlags(), JobQueue::GetJobID(), JobQueue::GetJobInfoFromID(), JobQueue::GetJobsInQueue(), JobQueue::GetJobStatus(), MythMainWindow::GetKey(), Myth::GetKeys(), HouseKeeper::getLastRun(), SourceUtil::GetListingsLoginData(), HTTPLiveStream::GetLiveStreamInfoList(), ChannelUtil::GetMplexID(), SourceUtil::GetMplexIDs(), Content::GetMusic(), GetMythXMLURL(), RecordingProfile::getName(), ProfileGroup::getName(), PlayGroup::GetNames(), TVRec::GetNextProgram(), DBEvent::GetOverlappingPrograms(), DBPerson::GetPersonDB(), VideoDisplayProfile::GetProfileGroupID(), VideoDisplayProfile::GetProfiles(), Guide::GetProgramGuide(), CardUtil::GetQuickTuning(), ProgDetails::getRatings(), StorageGroup::getRecordingsGroups(), StorageGroup::GetRelativePathname(), RomInfo::GetRomInfoById(), ThumbItem::GetRotationAngle(), getRSSArticles(), MHIContext::GetServiceInfo(), ChannelUtil::GetServiceVersion(), PlayGroup::GetSetting(), MythDB::GetSetting(), Myth::GetSetting(), LogViewer::getSetting(), MythDB::GetSettingOnHost(), ProgFinder::getShowNames(), RemoteEncoder::GetSignalLockTimeout(), ChannelUtil::GetSourceID(), CardUtil::GetSourceID(), ChannelUtil::GetSourceIDForChannel(), SourceUtil::GetSourceName(), TVRec::GetStartChannel(), CardUtil::GetStartingChannel(), CardUtil::GetStartInput(), Myth::GetStorageGroupDirs(), CardUtil::GetTimeouts(), getTreeArticles(), ChannelUtil::GetTuningParams(), Content::GetVideo(), Content::GetVideoArtwork(), CardUtil::GetVideoDevices(), VideoSelector::getVideoListFromDB(), Channel::GetVideoMultiplex(), Channel::GetVideoMultiplexList(), Channel::GetVideoSource(), Channel::GetVideoSourceList(), Channel::GetXMLTVIdList(), ImportNative::gotCallsign(), ImportNative::gotChanID(), ImportNative::gotChanNo(), ImportNative::gotName(), FillData::GrabData(), FillData::GrabDDData(), RecordingProfile::groupType(), MythBurn::handleAddVideo(), ExportNative::handleAddVideo(), ChannelData::handleChannels(), MainServer::HandleGetPendingRecordings(), MainServer::HandleLockTuner(), ProgramData::HandlePrograms(), MainServer::HandleQueryFileHash(), FileServerHandler::HandleQueryFileHash(), Scheduler::HandleReschedule(), TV::HandleStateChange(), SourceUtil::HasDigitalChannel(), IconData::ImportIconMap(), NativeArchive::importRecording(), NativeArchive::importVideo(), ChannelBase::InitializeInputs(), InitializeMythSchema(), ImportIconsWizard::initialLoad(), EditPowerSearchPopup::initLists(), GameHandler::InitMetaDataMap(), insert_dtv_multiplex(), DBPerson::InsertCreditsDB(), ProgInfo::InsertDB(), DBEvent::InsertDB(), insertGrabberInDB(), insertInDB(), InsertInDB(), DBPerson::InsertPersonDB(), RecordingInfo::InsertProgram(), insertRSSArticleInDB(), insertTreeArticleInDB(), CustomPriority::installClicked(), is_dishnet_eit(), is_input_group_busy(), SourceUtil::IsAnySourceScanable(), MythBurn::isArchiveItemValid(), CardUtil::IsCardTypePresent(), SourceUtil::IsEncoder(), isHostMaster(), Metadata::isInDatabase(), IsMarked(), isNewTune(), isTreeInUse(), CardUtil::IsTunerShared(), ProgramData::IsUnchanged(), lastUpdate(), CardUtil::LinkInputGroup(), NetworkControl::listChannels(), RecordingProfile::listProfiles(), NetworkControl::listRecordings(), NetworkControl::listSchedule(), CardInputEditor::Load(), InputGroup::Load(), TransFreqTableSelector::Load(), VideoSourceSelector::Load(), StorageGroupListEditor::Load(), StorageGroupEditor::Load(), StoreOptEditor::Load(), SchedFilterEditor::Load(), SchedOptEditor::Load(), RecordingRule::Load(), PlaylistContainer::load(), SimpleDBStorage::Load(), MultiplexSetting::Load(), InputSelector::Load(), DiSEqCDevLNB::Load(), DiSEqCDevRotor::Load(), DiSEqCDevSwitch::Load(), DiSEqCDevTree::Load(), DiSEqCDevSettings::Load(), ChannelGroupStorage::Load(), load_markup_datum(), VideoMetadataListManager::loadAllFromDatabase(), RecordingProfile::loadByGroup(), RecordingProfile::loadByID(), CardInput::loadByInput(), RecordingRule::LoadBySearch(), RecordingProfile::loadByType(), EITCache::LoadChannel(), CustomEdit::loadClauses(), MythBurn::loadConfiguration(), KeyBindings::LoadContexts(), SourceSetup::loadData(), ScreenSetup::loadData(), CustomPriority::loadData(), CustomEdit::loadData(), VideoDisplayProfile::LoadDB(), HTTPLiveStream::LoadFromDB(), LoadFromOldRecorded(), LoadFromRecorded(), KeyBindings::LoadJumppoints(), ProgDetails::loadPage(), Playlist::loadPlaylist(), Playlist::loadPlaylistByID(), ProgramInfo::LoadProgramFromRecorded(), LoadScan(), LoadScanList(), MythNews::loadSites(), MainServer::LocalFilePath(), FileServerHandler::LocalFilePath(), lock_channel(), lockShutdown(), main(), ProgramInfo::MarkAsInUse(), ScanInfo::MarkProcessed(), markTreeUpdated(), markUpdated(), GalleryUtil::Move(), needsMFDBReminder(), no_capturecards(), Scheduler::OldRecordedFixups(), StorageGroupEditor::open(), RecordingProfileEditor::open(), ProfileGroupEditor::open(), PlayGroupEditor::open(), ChannelGroupEditor::open(), OverTimeCategory(), Metadata::persist(), DatabaseLogger::prepare(), WeatherSource::ProbeScript(), UPnpCDSExtension::ProcessContainer(), WeatherSource::processExit(), UPnpCDSExtension::ProcessKey(), ProgramInfo::ProgramInfo(), purgeGameDB(), Scheduler::PutInactiveSlavesToSleep(), ProgramInfo::QueryAutoExpire(), ProgramInfo::QueryBasename(), ProgramInfo::QueryBookmarkTimeStamp(), ProgramInfo::QueryCategoryType(), DBUtil::QueryDBMSVersion(), ProgramInfo::QueryDVDBookmark(), ProgramInfo::QueryFilesize(), FileServerHandler::QueryFileSystems(), ProgramInfo::QueryInUseMap(), ProgramInfo::QueryIsEditing(), ProgramInfo::QueryIsInUse(), ProgramInfo::QueryJobsRunning(), ProgramInfo::QueryKeyFromPathname(), ProgramInfo::QueryMarkupMap(), ProgramInfo::QueryMplexID(), ProgramInfo::QueryPositionMap(), ProgramInfo::QueryRecordingGroup(), ProgramInfo::QueryRecordingGroupPassword(), ProgramInfo::QueryTranscoderID(), ProgramInfo::QueryTranscodeStatus(), ProgramInfo::QueryTuningInfo(), JobQueue::QueueJob(), RecordingInfo::ReactivateRecording(), RecordingInfo::RecordingInfo(), MythMainWindow::RegisterJump(), MythMainWindow::RegisterKey(), LiveTVChain::ReloadAll(), ReloadBookmark(), ThumbItem::Remove(), FileAssociationsImp::remove(), MultiValueImp::remove(), SingleValueImp::remove(), FileScanner::RemoveFileFromDB(), removeFromDB(), RemoveFromDB(), removeGrabberFromDB(), ExportNative::removeItem(), Myth::RemoveStorageGroupDir(), HTTPLiveStream::RemoveStream(), GalleryUtil::Rename(), GalleryUtil::RenameDirectory(), replace_in_db(), IconData::ResetIconMap(), romInDB(), FillData::Run(), HouseKeeper::RunHouseKeeping(), CardInput::Save(), XMLTVConfig::Save(), TransFreqTableSelector::Save(), RecordingRule::Save(), SimpleDBStorage::Save(), IconData::Save(), ChannelID::Save(), ProgramInfo::SaveAspect(), ProgramInfo::SaveAutoExpire(), ProgramInfo::SaveBasename(), ProgramInfo::SaveBookmark(), ChannelUtil::SaveCachedPids(), ProgramInfo::SaveCommFlagged(), MythBurn::saveConfiguration(), ExportNative::saveConfiguration(), ProgramInfo::SaveCutList(), SourceSetup::saveData(), ScreenSetup::saveData(), VideoDisplayProfile::SaveDB(), ProgramInfo::SaveDeletePendingFlag(), ProgramInfo::SaveDVDBookmark(), ProgramInfo::SaveEditing(), ProgramInfo::SaveFilesize(), ProgramInfo::SaveFrameRate(), ProgramInfo::SaveInetRef(), ProgramInfo::SaveMarkupMap(), SavePending(), Playlist::savePlaylist(), ProgramInfo::SavePositionMap(), ProgramInfo::SavePositionMapDelta(), ProgramInfo::SavePreserve(), ProgramInfo::SaveResolution(), SaveScan(), ScanDTVTransport::SaveScan(), ChannelInsertInfo::SaveScan(), ProgramInfo::SaveSeasonEpisode(), HTTPLiveStream::SaveSegmentInfo(), MythDB::SaveSettingOnHost(), VideoMetadataImp::saveToDatabase(), SmartPLCriteriaRow::saveToDatabase(), RomInfo::SaveToDatabase(), ProgramInfo::SaveTotalDuration(), ProgramInfo::SaveTotalFrames(), ProgramInfo::SaveTranscodeStatus(), ProgramInfo::SaveVideoProperties(), ProgramInfo::SaveWatched(), ProgramRecPriority::scheduleChanged(), set_lineup_type(), set_on_input(), set_on_source(), SetArtwork(), TVRec::SetChannelInfo(), ChannelUtil::SetChannelValue(), RecordingInfo::SetDupHistory(), RomInfo::setFavorite(), setGlobalSetting(), PlaybackBox::SetRecGroupPassword(), ThumbItem::SetRotationAngle(), ChannelUtil::SetServiceVersion(), CardUtil::SetStartChannel(), Weather::SetupScreens(), SourceManager::setupSources(), setupTVs(), ChannelUtil::SetVisible(), TVRec::ShouldSwitchToAnotherCard(), PlaybackBox::showGroupFilter(), PlaybackBox::ShowRecGroupChanger(), MythNews::slotNewsRetrieved(), ChannelOptionsCommon::sourceChanged(), EITScanner::StartActiveScan(), RecordingInfo::StartedRecording(), WeatherSource::startUpdate(), HTTPLiveStream::StopStream(), DiSEqCDevLNB::Store(), DiSEqCDevRotor::Store(), DiSEqCDevSwitch::Store(), DiSEqCDevTree::Store(), DiSEqCDevSettings::Store(), CustomEdit::storeClicked(), ChannelBase::StoreInputChannels(), CustomEdit::storeRule(), DatabaseLogger::tableExists(), CustomPriority::testSchedule(), ChannelGroup::ToggleChannel(), MainServer::TruncateAndClose(), CardUtil::UnlinkInputGroup(), unlock_channel(), unlockShutdown(), update_channel_basic(), ChannelUtil::UpdateChannel(), DataDirectProcessor::UpdateChannelsSafe(), DataDirectProcessor::UpdateChannelsUnsafe(), DBEvent::UpdateDB(), UpdateDBVersionNumber(), updateDiskCount(), updateDisplayRom(), AutoExpire::UpdateDontExpireSet(), UpdateGameCounts(), GameHandler::UpdateGameDB(), updateGameName(), VideoMetadata::UpdateHashedDBRecord(), UpdateHashes(), ChannelUtil::UpdateInsertInfoFromDB(), ProgLister::UpdateKeywordInDB(), ProgramInfo::UpdateLastDelete(), HouseKeeper::updateLastrun(), updateLastRunEnd(), updateLastRunStart(), updateLastRunStatus(), DataDirectProcessor::UpdateListings(), Scheduler::UpdateManuals(), Scheduler::UpdateMatches(), Metadata::UpdateModTime(), Scheduler::UpdateNextRecord(), HTTPLiveStream::UpdatePercentComplete(), DataDirectProcessor::UpdateProgramViewTable(), RecordingInfo::UpdateRecordingEnd(), GameHandler::updateSettings(), HTTPLiveStream::UpdateSizeInfo(), SourceUtil::UpdateSource(), IconData::UpdateSourceIcons(), DataDirectProcessor::UpdateStationViewTable(), HTTPLiveStream::UpdateStatus(), HTTPLiveStream::UpdateStatusMessage(), SearchView::updateTracksList(), PlaybackBox::UpdateUILists(), RecordingRule::UseTempTable(), Scheduler::VerifyCards(), GameHandler::VerifyGameDB(), WaitToDelete(), and HouseKeeper::wantToRun().

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

Definition at line 879 of file mythdbcon.cpp.

Referenced by FileAssociationsImp::add(), MultiValueImp::add(), SingleValueImp::add(), ChannelGroup::AddChannel(), FileScanner::AddFileToDB(), AddFileType(), RecordingInfo::AddHistory(), UPnpCDSTv::AddItem(), Scheduler::AddNewRecords(), Myth::AddStorageGroupDir(), HTTPLiveStream::AddStream(), ChannelScanSM::AddToList(), LiveTVChain::AppendNewProgram(), ChannelRecPriority::applyChannelRecPriorityChange(), RecordingInfo::ApplyRecordPlayGroupChange(), RecordingInfo::ApplyRecordRecGroupChange(), RecordingInfo::ApplyRecordRecID(), RecordingInfo::ApplyRecordRecTitleChange(), RecordingInfo::ApplyStorageGroupChange(), RecordingInfo::ApplyTranscoderProfileChange(), RecordingInfo::ApplyTranscoderProfileChangeById(), MainServer::BackendQueryDiskSpace(), DBUtil::BackupDB(), bindValues(), UPnpCDSVideo::BuildItemQuery(), UPnpCDSTv::BuildItemQuery(), UPnpCDSMusic::BuildItemQuery(), VideoSourceEditor::cardTypesInclude(), change_program(), JobQueue::ChangeJobArgs(), JobQueue::ChangeJobCmds(), JobQueue::ChangeJobComment(), JobQueue::ChangeJobFlags(), JobQueue::ChangeJobHost(), JobQueue::ChangeJobStatus(), chanid_available(), StorageGroup::CheckAllStorageGroupDirs(), ImportIconsWizard::checkAndDownload(), ChannelBase::CheckChannel(), checkImageStoragePaths(), HTTPLiveStream::CheckStop(), checkStoragePaths(), FileScanner::cleanDB(), HouseKeeper::CleanupAllOldInUsePrograms(), CleanupMyOldInUsePrograms(), HouseKeeper::CleanupMyOldRecordings(), JobQueue::CleanupOldJobsInQueue(), HouseKeeper::CleanupOrphanedLivetvChains(), HouseKeeper::CleanupProgramListings(), HouseKeeper::CleanupRecordedTables(), clearAllKeys(), EITCache::ClearChannelLocks(), ProgramData::ClearDataByChannel(), ProgramInfo::ClearMarkupMap(), ProgramInfo::ClearPositionMap(), clearRSSArticles(), clearTreeItems(), clone_capturecard(), clone_cardinputs(), KeyBindings::CommitAction(), KeyBindings::CommitJumppoint(), CompleteJob(), convert_diseqc_db(), GalleryUtil::Copy(), DiSEqCDevDevice::CreateById(), CardUtil::CreateCaptureCard(), CardUtil::CreateCardInput(), ChannelUtil::CreateChannel(), CardUtil::CreateInputGroup(), UPnpCDSExtension::CreateItems(), CardInput::CreateNewInputGroup(), VideoDisplayProfile::CreateProfile(), VideoDisplayProfile::CreateProfileGroup(), SourceUtil::CreateSource(), StatusBox::customEvent(), ChannelEditor::customEvent(), DataDirectProcessor::DataDirectProgramUpdate(), ProgramRecPriority::deactivate(), MythGamePlayerEditor::del(), TransportListEditor::Delete(), RecordingRule::Delete(), GalleryUtil::Delete(), delete_in_db(), delete_program(), JobQueue::DeleteAllJobs(), CardUtil::DeleteCard(), ChannelUtil::DeleteChannel(), ChannelGroup::DeleteChannel(), PowerSearchPopup::deleteClicked(), PhrasePopup::deleteClicked(), CustomPriority::deleteClicked(), VideoDisplayProfile::DeleteDB(), Ripper::deleteExistingTrack(), VideoMetadataImp::DeleteFromDatabase(), RomInfo::DeleteFromDatabase(), RecordingInfo::DeleteHistory(), CardUtil::DeleteInput(), JobQueue::DeleteJob(), ProgLister::DeleteOldEpisode(), ProgLister::DeleteOldSeries(), ProgramData::DeleteOverlaps(), PlaylistContainer::deletePlaylist(), VideoDisplayProfile::DeleteProfileGroup(), VideoDisplayProfile::DeleteProfiles(), LiveTVChain::DeleteProgram(), MainServer::DeleteRecordedFiles(), CustomEdit::deleteRule(), ScanInfo::DeleteScan(), SourceUtil::DeleteSource(), ChannelImporter::DeleteUnusedTransports(), LiveTVChain::DestroyChain(), StorageGroupListEditor::doDelete(), StorageGroupEditor::doDelete(), PlayGroupEditor::doDelete(), ChannelGroupEditor::doDelete(), MainServer::DoDeleteInDB(), StatusBox::doLogEntries(), JobQueue::DoTranscodeThread(), doUpgradeMusicDatabaseSchema(), doUpgradeTVDatabaseSchema(), doUpgradeVideoDatabaseSchema(), AlbumArtImages::dumpToDatabase(), Metadata::dumpToDatabase(), CaptureCardEditor::edit(), DDStructureParser::endElement(), DiSEqCDevTree::Exists(), ExpertSettingsEditor::ExpertSettingsEditor(), AutoExpire::ExpireEpisodesOverMax(), IconData::ExportIconMap(), NativeArchive::exportRecording(), NativeArchive::exportVideo(), extractDetailsFromFilename(), RomInfo::fillData(), ScanDTVTransport::FillFromDB(), DTVMultiplex::FillFromDB(), ProgLister::FillItemList(), Scheduler::FillRecordingDir(), CaptureCard::fillSelections(), TransportList::fillSelections(), RecordingProfile::fillSelections(), Playlist::fillSonglistFromSmartPlaylist(), HttpStatus::FillStatusXML(), ProgLister::FillViewList(), findAllDBRSSByType(), findAllDBSearchGrabbers(), findAllDBTreeGrabbersByHost(), findByURL(), ChannelUtil::FindChannel(), ImportNative::findChannelMatch(), StorageGroup::FindDirs(), AlbumArtImages::findImages(), findInDB(), FindInDB(), SourceManager::findScripts(), SourceManager::findScriptsDB(), findSearchGrabberByCommand(), findSearchGrabberInDB(), findTreeGrabberByCommand(), findTreeGrabberInDB(), RecordingInfo::FinishedRecording(), LiveTVChain::FinishedRecording(), FlagCommercials(), HouseKeeper::flushDBLogs(), RecordingInfo::ForgetHistory(), FromProgramQuery(), get_atsc_stuff(), get_cardtype(), get_cardtypes(), get_chan_id_from_db(), get_dtv_multiplex(), get_input_id(), get_max_chanid(), get_on_cardid(), get_on_inputid(), get_use_eit(), get_valid_recorder_list(), Content::GetAlbumArt(), VideoMetaDataUtil::GetArtPath(), GetArtwork(), ChannelUtil::GetATSCChannel(), Capture::GetCaptureCard(), Capture::GetCaptureCardList(), CardUtil::GetCardIDs(), CardUtil::GetCardInputID(), ChannelUtil::GetCardTypes(), DVBChannel::GetChanID(), ChannelUtil::GetChanID(), ChannelBase::GetChanID(), IPTVChannel::GetChanInfo(), SourceUtil::GetChannelCount(), ChannelUtil::GetChannelData(), ChannelGroup::GetChannelGroupId(), ChannelGroup::GetChannelGroupName(), MHIContext::GetChannelIndex(), TVRec::GetChannelInfo(), SourceUtil::GetChannelSeparator(), ChannelUtil::GetChannelValueStr(), CardUtil::GetCloneCardIDs(), CardUtil::GetConfiguredDVBInputs(), ChannelUtil::GetConflicting(), UPnpCDSExtension::GetCount(), HTTPLiveStream::GetDBStatus(), ChannelImporter::GetDBTransports(), RecordingRule::GetDefaultFilter(), CardUtil::GetDeviceLabel(), TVRec::GetDevices(), FileScanner::GetDirectoryId(), CardUtil::GetDisplayName(), ChannelUtil::GetExtendedChannelData(), CardUtil::GetFirewireChangerModel(), CardUtil::GetFirewireChangerNode(), V4LChannel::GetFormatForChannel(), getGlobalSetting(), CardUtil::GetGroupCardIDs(), StorageGroup::getGroupDirs(), ChannelUtil::GetIcon(), PlayGroup::GetInitialName(), CardUtil::GetInputGroups(), ChannelUtil::GetInputID(), CardUtil::GetInputID(), CardUtil::GetInputIDs(), CardUtil::GetInputInfo(), CardUtil::GetInputNames(), JobQueue::GetJobArgs(), JobQueue::GetJobCmd(), JobQueue::GetJobFlags(), JobQueue::GetJobID(), JobQueue::GetJobInfoFromID(), JobQueue::GetJobStatus(), MythMainWindow::GetKey(), HouseKeeper::getLastRun(), SourceUtil::GetListingsLoginData(), HTTPLiveStream::GetLiveStreamInfoList(), ChannelUtil::GetMplexID(), SourceUtil::GetMplexIDs(), Content::GetMusic(), GetMythXMLURL(), RecordingProfile::getName(), TVRec::GetNextProgram(), DBEvent::GetOverlappingPrograms(), DBPerson::GetPersonDB(), VideoDisplayProfile::GetProfileGroupID(), VideoDisplayProfile::GetProfiles(), Guide::GetProgramGuide(), CardUtil::GetQuickTuning(), ProgDetails::getRatings(), RomInfo::GetRomInfoById(), ThumbItem::GetRotationAngle(), getRSSArticles(), MHIContext::GetServiceInfo(), PlayGroup::GetSetting(), MythDB::GetSetting(), Myth::GetSetting(), LogViewer::getSetting(), MythDB::GetSettingOnHost(), RemoteEncoder::GetSignalLockTimeout(), CardUtil::GetSourceID(), ChannelUtil::GetSourceIDForChannel(), SourceUtil::GetSourceName(), TVRec::GetStartChannel(), CardUtil::GetStartingChannel(), CardUtil::GetStartInput(), Myth::GetStorageGroupDirs(), CardUtil::GetTimeouts(), getTreeArticles(), ChannelUtil::GetTuningParams(), Content::GetVideo(), Content::GetVideoArtwork(), CardUtil::GetVideoDevices(), Channel::GetVideoMultiplex(), Channel::GetVideoMultiplexList(), Channel::GetVideoSource(), Channel::GetXMLTVIdList(), ImportNative::gotCallsign(), ImportNative::gotChanID(), ImportNative::gotChanNo(), ImportNative::gotName(), FillData::GrabData(), RecordingProfile::groupType(), ChannelData::handleChannels(), MainServer::HandleGetPendingRecordings(), MainServer::HandleLockTuner(), ProgramData::HandlePrograms(), MainServer::HandleQueryFileHash(), FileServerHandler::HandleQueryFileHash(), TV::HandleStateChange(), SourceUtil::HasDigitalChannel(), IconData::ImportIconMap(), NativeArchive::importRecording(), NativeArchive::importVideo(), ChannelBase::InitializeInputs(), GameHandler::InitMetaDataMap(), insert_dtv_multiplex(), DBPerson::InsertCreditsDB(), ProgInfo::InsertDB(), DBEvent::InsertDB(), insertGrabberInDB(), insertInDB(), InsertInDB(), DBPerson::InsertPersonDB(), RecordingInfo::InsertProgram(), insertRSSArticleInDB(), insertTreeArticleInDB(), CustomPriority::installClicked(), is_dishnet_eit(), is_input_group_busy(), MythBurn::isArchiveItemValid(), CardUtil::IsCardTypePresent(), SourceUtil::IsEncoder(), isHostMaster(), Metadata::isInDatabase(), IsMarked(), isNewTune(), isTreeInUse(), CardUtil::IsTunerShared(), ProgramData::IsUnchanged(), lastUpdate(), CardUtil::LinkInputGroup(), RecordingProfile::listProfiles(), NetworkControl::listSchedule(), CardInputEditor::Load(), TransFreqTableSelector::Load(), VideoSourceSelector::Load(), StorageGroupListEditor::Load(), StorageGroupEditor::Load(), RecordingRule::Load(), PlaylistContainer::load(), MultiplexSetting::Load(), InputSelector::Load(), DiSEqCDevLNB::Load(), DiSEqCDevRotor::Load(), DiSEqCDevSwitch::Load(), DiSEqCDevTree::Load(), DiSEqCDevSettings::Load(), ChannelGroupStorage::Load(), load_markup_datum(), RecordingProfile::loadByGroup(), RecordingProfile::loadByID(), CardInput::loadByInput(), RecordingRule::LoadBySearch(), RecordingProfile::loadByType(), EITCache::LoadChannel(), KeyBindings::LoadContexts(), SourceSetup::loadData(), ScreenSetup::loadData(), CustomEdit::loadData(), VideoDisplayProfile::LoadDB(), HTTPLiveStream::LoadFromDB(), LoadFromOldRecorded(), KeyBindings::LoadJumppoints(), ProgDetails::loadPage(), Playlist::loadPlaylist(), Playlist::loadPlaylistByID(), ProgramInfo::LoadProgramFromRecorded(), LoadScan(), MainServer::LocalFilePath(), FileServerHandler::LocalFilePath(), lock_channel(), DatabaseLogger::logqmsg(), main(), ProgramInfo::MarkAsInUse(), ScanInfo::MarkProcessed(), markTreeUpdated(), markUpdated(), GalleryUtil::Move(), no_capturecards(), Scheduler::OldRecordedFixups(), StorageGroupEditor::open(), RecordingProfileEditor::open(), ProfileGroupEditor::open(), PlayGroupEditor::open(), ChannelGroupEditor::open(), Metadata::persist(), DatabaseLogger::prepare(), WeatherSource::ProbeScript(), WeatherSource::processExit(), UPnpCDSExtension::ProcessKey(), ProgramInfo::ProgramInfo(), purgeGameDB(), Scheduler::PutInactiveSlavesToSleep(), ProgramInfo::QueryAutoExpire(), ProgramInfo::QueryBasename(), ProgramInfo::QueryBookmarkTimeStamp(), ProgramInfo::QueryCategoryType(), ProgramInfo::QueryDVDBookmark(), ProgramInfo::QueryFilesize(), FileServerHandler::QueryFileSystems(), ProgramInfo::QueryInUseMap(), ProgramInfo::QueryIsEditing(), ProgramInfo::QueryIsInUse(), ProgramInfo::QueryJobsRunning(), ProgramInfo::QueryKeyFromPathname(), ProgramInfo::QueryMarkupMap(), ProgramInfo::QueryMplexID(), ProgramInfo::QueryPositionMap(), ProgramInfo::QueryRecordingGroup(), ProgramInfo::QueryRecordingGroupPassword(), ProgramInfo::QueryTranscoderID(), ProgramInfo::QueryTranscodeStatus(), ProgramInfo::QueryTuningInfo(), JobQueue::QueueJob(), RecordingInfo::ReactivateRecording(), RecordingInfo::RecordingInfo(), MythMainWindow::RegisterJump(), MythMainWindow::RegisterKey(), LiveTVChain::ReloadAll(), ReloadBookmark(), ThumbItem::Remove(), FileAssociationsImp::remove(), MultiValueImp::remove(), SingleValueImp::remove(), FileScanner::RemoveFileFromDB(), removeFromDB(), RemoveFromDB(), removeGrabberFromDB(), ExportNative::removeItem(), Myth::RemoveStorageGroupDir(), HTTPLiveStream::RemoveStream(), GalleryUtil::Rename(), GalleryUtil::RenameDirectory(), replace_in_db(), IconData::ResetIconMap(), romInDB(), FillData::Run(), CardInput::Save(), TransFreqTableSelector::Save(), RecordingRule::Save(), IconData::Save(), ProgramInfo::SaveAspect(), ProgramInfo::SaveAutoExpire(), ProgramInfo::SaveBasename(), ProgramInfo::SaveBookmark(), ChannelUtil::SaveCachedPids(), ProgramInfo::SaveCommFlagged(), MythBurn::saveConfiguration(), ExportNative::saveConfiguration(), ProgramInfo::SaveCutList(), SourceSetup::saveData(), ScreenSetup::saveData(), VideoDisplayProfile::SaveDB(), ProgramInfo::SaveDeletePendingFlag(), ProgramInfo::SaveDVDBookmark(), ProgramInfo::SaveEditing(), ProgramInfo::SaveFilesize(), ProgramInfo::SaveFrameRate(), ProgramInfo::SaveInetRef(), ProgramInfo::SaveMarkupMap(), SavePending(), Playlist::savePlaylist(), ProgramInfo::SavePositionMap(), ProgramInfo::SavePositionMapDelta(), ProgramInfo::SavePreserve(), ProgramInfo::SaveResolution(), SaveScan(), ScanDTVTransport::SaveScan(), ChannelInsertInfo::SaveScan(), ProgramInfo::SaveSeasonEpisode(), HTTPLiveStream::SaveSegmentInfo(), MythDB::SaveSettingOnHost(), VideoMetadataImp::saveToDatabase(), SmartPLCriteriaRow::saveToDatabase(), RomInfo::SaveToDatabase(), ProgramInfo::SaveTotalDuration(), ProgramInfo::SaveTotalFrames(), ProgramInfo::SaveTranscodeStatus(), ProgramInfo::SaveVideoProperties(), ProgramInfo::SaveWatched(), ProgramRecPriority::scheduleChanged(), set_lineup_type(), set_on_input(), set_on_source(), SetArtwork(), TVRec::SetChannelInfo(), ChannelUtil::SetChannelValue(), RecordingInfo::SetDupHistory(), RomInfo::setFavorite(), setGlobalSetting(), PlaybackBox::SetRecGroupPassword(), ThumbItem::SetRotationAngle(), CardUtil::SetStartChannel(), Weather::SetupScreens(), SourceManager::setupSources(), setupTVs(), ChannelUtil::SetVisible(), TVRec::ShouldSwitchToAnotherCard(), PlaybackBox::showGroupFilter(), MythNews::slotNewsRetrieved(), ChannelOptionsCommon::sourceChanged(), EITScanner::StartActiveScan(), RecordingInfo::StartedRecording(), WeatherSource::startUpdate(), HTTPLiveStream::StopStream(), DiSEqCDevLNB::Store(), DiSEqCDevRotor::Store(), DiSEqCDevSwitch::Store(), DiSEqCDevTree::Store(), DiSEqCDevSettings::Store(), CustomEdit::storeClicked(), ChannelBase::StoreInputChannels(), CustomEdit::storeRule(), DatabaseLogger::tableExists(), CustomPriority::testSchedule(), ChannelGroup::ToggleChannel(), CardUtil::UnlinkInputGroup(), unlock_channel(), update_channel_basic(), ChannelUtil::UpdateChannel(), DataDirectProcessor::UpdateChannelsSafe(), DataDirectProcessor::UpdateChannelsUnsafe(), DBEvent::UpdateDB(), updateDiskCount(), updateDisplayRom(), UpdateGameCounts(), GameHandler::UpdateGameDB(), updateGameName(), VideoMetadata::UpdateHashedDBRecord(), UpdateHashes(), ChannelUtil::UpdateInsertInfoFromDB(), ProgLister::UpdateKeywordInDB(), ProgramInfo::UpdateLastDelete(), HouseKeeper::updateLastrun(), updateLastRunEnd(), updateLastRunStart(), updateLastRunStatus(), DataDirectProcessor::UpdateListings(), Scheduler::UpdateManuals(), Scheduler::UpdateMatches(), Metadata::UpdateModTime(), Scheduler::UpdateNextRecord(), HTTPLiveStream::UpdatePercentComplete(), DataDirectProcessor::UpdateProgramViewTable(), RecordingInfo::UpdateRecordingEnd(), GameHandler::updateSettings(), HTTPLiveStream::UpdateSizeInfo(), SourceUtil::UpdateSource(), IconData::UpdateSourceIcons(), DataDirectProcessor::UpdateStationViewTable(), HTTPLiveStream::UpdateStatus(), HTTPLiveStream::UpdateStatusMessage(), PlaybackBox::UpdateUILists(), RecordingRule::UseTempTable(), Scheduler::VerifyCards(), GameHandler::VerifyGameDB(), WaitToDelete(), and HouseKeeper::wantToRun().

void MSqlQuery::bindValues ( const MSqlBindings bindings  ) 

Add all the bindings in the passed in bindings.

Definition at line 897 of file mythdbcon.cpp.

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

QVariant MSqlQuery::lastInsertId (  ) 

Return the id of the last inserted row.

Note: Currently, this function is only implemented in Qt4 (in QSqlQuery and QSqlResult), and is implemented here until the switch to Qt4. Also, the current implementation will only work for a DBMS that supports the function LAST_INSERT_ID() (i.e. MySQL), and will _not_ work in SQLite.

Definition at line 906 of file mythdbcon.cpp.

Referenced by Metadata::dumpToDatabase(), FileScanner::GetDirectoryId(), AutoIncrementDBSetting::Save(), RecordingRule::Save(), Playlist::savePlaylist(), DiSEqCDevLNB::Store(), DiSEqCDevRotor::Store(), and DiSEqCDevSwitch::Store().

bool MSqlQuery::Reconnect ( void   ) 

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

Definition at line 911 of file mythdbcon.cpp.

Referenced by exec(), and prepare().

QVariant MSqlQuery::value ( int  i  )  const [inline]

Definition at line 184 of file mythdbcon.h.

Referenced by FileAssociationsImp::add(), SingleValueImp::add(), UPnpCDSVideo::AddItem(), UPnpCDSTv::AddItem(), UPnpCDSMusic::AddItem(), Scheduler::AddNewRecords(), Scheduler::AddNotListed(), Myth::AddStorageGroupDir(), HTTPLiveStream::AddStream(), ChannelScanSM::AddToList(), RecordingInfo::ApplyTranscoderProfileChange(), MainServer::BackendQueryDiskSpace(), InputGroupMap::Build(), Scheduler::BuildNewRecordsQueries(), VideoSourceEditor::cardTypesInclude(), ChannelEditor::channelIconImport(), StorageGroup::CheckAllStorageGroupDirs(), ChannelBase::CheckChannel(), TVRec::CheckChannelPrefix(), checkChannelPresets(), checkHandlers(), checkImageStoragePaths(), ProgramInfo::CheckProgramIDAuthorities(), DBUtil::CheckRepairStatus(), HTTPLiveStream::CheckStop(), checkStoragePaths(), FileScanner::cleanDB(), HouseKeeper::CleanupOrphanedLivetvChains(), HouseKeeper::CleanupProgramListings(), HouseKeeper::CleanupRecordedTables(), clone_capturecard(), clone_cardinputs(), TV::ConfiguredTunerCards(), convert_diseqc_db(), DBUtil::CountClients(), DiSEqCDevDevice::CreateById(), CardUtil::CreateCaptureCard(), CardUtil::CreateCardInput(), CardUtil::CreateInputGroup(), VideoDisplayProfile::CreateProfile(), SourceUtil::CreateSource(), PlaybackBox::createTranscodingProfilesMenu(), ChannelEditor::customEvent(), ProgramRecPriority::deactivate(), JobQueue::DeleteAllJobs(), CardUtil::DeleteCard(), ChannelGroup::DeleteChannel(), Ripper::deleteExistingTrack(), CardUtil::DeleteOrphanInputs(), ProgramData::DeleteOverlaps(), VideoDisplayProfile::DeleteProfileGroup(), VideoDisplayProfile::DeleteProfiles(), MainServer::DeleteRecordedFiles(), DisplayRecGroup(), ChannelGroupEditor::doDelete(), StatusBox::doListingsStatus(), StatusBox::doLogEntries(), GameScanner::doScanAll(), StatusBox::doScheduleStatus(), JobQueue::DoTranscodeThread(), StatusBox::doTunerStatus(), doUpgradeMusicDatabaseSchema(), doUpgradeTVDatabaseSchema(), doUpgradeVideoDatabaseSchema(), Metadata::dumpToDatabase(), CaptureCardEditor::edit(), DiSEqCDevTree::Exists(), ExpertSettingsEditor::ExpertSettingsEditor(), AutoExpire::ExpireEpisodesOverMax(), AutoExpire::ExpireRecordings(), IconData::ExportIconMap(), NativeArchive::exportRecording(), NativeArchive::exportVideo(), extractDetailsFromFilename(), FileScanner::FileScanner(), FileAssociationsImp::fill_from_db(), MultiValueImp::fill_from_db(), SingleValueImp::fill_from_db(), fill_settings(), RomInfo::fillData(), AutoExpire::FillDBOrdered(), Metadata::fillFieldList(), ScanDTVTransport::FillFromDB(), DTVMultiplex::FillFromDB(), ProgLister::FillItemList(), ProgramRecPriority::FillList(), ChannelRecPriority::FillList(), ChannelEditor::fillList(), PlaybackBox::fillRecGroupPasswordCache(), Scheduler::FillRecordingDir(), ImportNative::fillSearchList(), CaptureCard::fillSelections(), VideoSource::fillSelections(), TransportList::fillSelections(), ChannelSetting::fillSelections(), RecordingProfile::fillSelections(), ProfileGroup::fillSelections(), MythGamePlayerSettings::fillSelections(), Source::fillSelections(), Playlist::fillSonglistFromQuery(), Playlist::fillSonglistFromSmartPlaylist(), HttpStatus::FillStatusXML(), ProgLister::FillViewList(), findAllDBRSS(), findAllDBRSSByType(), findAllDBSearchGrabbers(), findAllDBTreeGrabbers(), findAllDBTreeGrabbersByHost(), Scheduler::findAllScheduledPrograms(), findByURL(), ChannelUtil::FindChannel(), ImportNative::findChannelMatch(), StorageGroup::FindDirs(), ChannelID::findHighest(), AlbumArtImages::findImages(), SourceManager::findScripts(), SourceManager::findScriptsDB(), findSearchGrabberByCommand(), findTreeGrabberByCommand(), ProgramData::fix_end_times(), FlagCommercials(), HouseKeeper::flushDBLogs(), VideoMetadataImp::fromDBRow(), get_atsc_stuff(), get_cardtype(), get_cardtypes(), get_chan_id_from_db(), get_dtv_multiplex(), get_input_id(), get_max_chanid(), get_on_cardid(), get_on_inputid(), get_use_eit(), get_valid_recorder_list(), StatusBox::getActualRecordedBPS(), Content::GetAlbumArt(), RomInfo::GetAllRomInfo(), ExportNative::getArchiveListFromDB(), VideoMetaDataUtil::GetArtPath(), GetArtwork(), ChannelUtil::GetATSCChannel(), ChannelUtil::GetBetterMplexID(), ChannelUtil::GetCachedPids(), Capture::GetCaptureCard(), Capture::GetCaptureCardList(), CardUtil::GetCardIDs(), CardUtil::GetCardInputID(), CardUtil::GetCardList(), ChannelUtil::GetCardTypes(), CardUtil::GetCardTypes(), GetCategoryList(), DVBChannel::GetChanID(), ChannelUtil::GetChanID(), ChannelBase::GetChanID(), ChannelUtil::GetChanIDs(), IPTVChannel::GetChanInfo(), SourceUtil::GetChannelCount(), ChannelUtil::GetChannelData(), ChannelGroup::GetChannelGroupId(), ChannelGroup::GetChannelGroupName(), ChannelGroup::GetChannelGroups(), MHIContext::GetChannelIndex(), TVRec::GetChannelInfo(), ChannelUtil::GetChannels(), SourceUtil::GetChannelSeparator(), ChannelUtil::GetChannelStringField(), ChannelUtil::GetChannelValueStr(), CardUtil::GetCloneCardIDs(), CardUtil::GetConfiguredDVBInputs(), ChannelUtil::GetConflicting(), UPnpCDSExtension::GetCount(), PlayGroup::GetCount(), HTTPLiveStream::GetDBStatus(), ChannelImporter::GetDBTransports(), ChannelUtil::GetDefaultAuthority(), RecordingRule::GetDefaultFilter(), CardUtil::GetDeviceLabel(), TVRec::GetDevices(), FileScanner::GetDirectoryId(), CardUtil::GetDisplayName(), UPnpCDSVideo::GetDistinctCount(), UPnpCDSExtension::GetDistinctCount(), ChannelUtil::GetExtendedChannelData(), CardUtil::GetFirewireChangerModel(), CardUtil::GetFirewireChangerNode(), V4LChannel::GetFormatForChannel(), getGlobalSetting(), CardUtil::GetGroupCardIDs(), StorageGroup::getGroupDirs(), MainServer::getGuideDataThrough(), ProfileGroup::getHostNames(), Myth::GetHosts(), ChannelUtil::GetIcon(), PlayGroup::GetInitialName(), CardUtil::GetInputGroups(), ChannelUtil::GetInputID(), CardUtil::GetInputID(), CardUtil::GetInputIDs(), CardUtil::GetInputInfo(), CardUtil::GetInputNames(), JobQueue::GetJobArgs(), JobQueue::GetJobCmd(), JobQueue::GetJobFlags(), JobQueue::GetJobID(), JobQueue::GetJobInfoFromID(), JobQueue::GetJobsInQueue(), JobQueue::GetJobStatus(), MythMainWindow::GetKey(), Myth::GetKeys(), HouseKeeper::getLastRun(), SourceUtil::GetListingsLoginData(), HTTPLiveStream::GetLiveStreamInfoList(), ChannelUtil::GetMplexID(), SourceUtil::GetMplexIDs(), Content::GetMusic(), GetMythXMLURL(), RecordingProfile::getName(), ProfileGroup::getName(), PlayGroup::GetNames(), TVRec::GetNextProgram(), DBEvent::GetOverlappingPrograms(), DBPerson::GetPersonDB(), VideoDisplayProfile::GetProfileGroupID(), VideoDisplayProfile::GetProfiles(), Guide::GetProgramGuide(), CardUtil::GetQuickTuning(), ProgDetails::getRatings(), StorageGroup::getRecordingsGroups(), StorageGroup::GetRelativePathname(), RomInfo::GetRomInfoById(), ThumbItem::GetRotationAngle(), getRSSArticles(), MHIContext::GetServiceInfo(), ChannelUtil::GetServiceVersion(), PlayGroup::GetSetting(), MythDB::GetSetting(), Myth::GetSetting(), LogViewer::getSetting(), MythDB::GetSettingOnHost(), MythDB::GetSettings(), GetSettingsMap(), ProgFinder::getShowNames(), RemoteEncoder::GetSignalLockTimeout(), GetSiteList(), ChannelUtil::GetSourceID(), CardUtil::GetSourceID(), ChannelUtil::GetSourceIDForChannel(), SourceUtil::GetSourceName(), TVRec::GetStartChannel(), CardUtil::GetStartingChannel(), CardUtil::GetStartInput(), Myth::GetStorageGroupDirs(), DBUtil::GetTables(), CardUtil::GetTimeouts(), getTreeArticles(), ChannelUtil::GetTuningParams(), Content::GetVideo(), Content::GetVideoArtwork(), CardUtil::GetVideoDevices(), VideoSelector::getVideoListFromDB(), Channel::GetVideoMultiplex(), Channel::GetVideoMultiplexList(), Channel::GetVideoSource(), Channel::GetVideoSourceList(), Channel::GetXMLTVIdList(), ImportNative::gotCallsign(), ImportNative::gotChanID(), ImportNative::gotChanNo(), ImportNative::gotName(), FillData::GrabData(), FillData::GrabDDData(), RecordingProfile::groupType(), ChannelData::handleChannels(), MainServer::HandleLockTuner(), ProgramData::HandlePrograms(), MainServer::HandleQueryFileHash(), FileServerHandler::HandleQueryFileHash(), TV::HandleStateChange(), SourceUtil::HasDigitalChannel(), IconData::ImportIconMap(), NativeArchive::importRecording(), NativeArchive::importVideo(), ChannelBase::InitializeInputs(), ImportIconsWizard::initialLoad(), EditPowerSearchPopup::initLists(), GameHandler::InitMetaDataMap(), is_dishnet_eit(), is_input_group_busy(), SourceUtil::IsAnySourceScanable(), CardUtil::IsCardTypePresent(), SourceUtil::IsEncoder(), isHostMaster(), Metadata::isInDatabase(), IsMarked(), CardUtil::IsTunerShared(), ProgramData::IsUnchanged(), lastUpdate(), CardUtil::LinkInputGroup(), NetworkControl::listChannels(), RecordingProfile::listProfiles(), NetworkControl::listRecordings(), NetworkControl::listSchedule(), CardInputEditor::Load(), InputGroup::Load(), TransFreqTableSelector::Load(), VideoSourceSelector::Load(), StorageGroupListEditor::Load(), StorageGroupEditor::Load(), StoreOptEditor::Load(), SchedFilterEditor::Load(), SchedOptEditor::Load(), RecordingRule::Load(), PlaylistContainer::load(), SimpleDBStorage::Load(), MultiplexSetting::Load(), InputSelector::Load(), DiSEqCDevLNB::Load(), DiSEqCDevRotor::Load(), DiSEqCDevSwitch::Load(), DiSEqCDevTree::Load(), DiSEqCDevSettings::Load(), ChannelGroupStorage::Load(), load_markup_datum(), RecordingProfile::loadByGroup(), RecordingProfile::loadByID(), CardInput::loadByInput(), RecordingRule::LoadBySearch(), RecordingProfile::loadByType(), EITCache::LoadChannel(), CustomEdit::loadClauses(), MythBurn::loadConfiguration(), KeyBindings::LoadContexts(), SourceSetup::loadData(), ScreenSetup::loadData(), CustomPriority::loadData(), CustomEdit::loadData(), VideoDisplayProfile::LoadDB(), HTTPLiveStream::LoadFromDB(), LoadFromOldRecorded(), LoadFromProgram(), LoadFromRecorded(), KeyBindings::LoadJumppoints(), loadMusic(), ProgDetails::loadPage(), Playlist::loadPlaylist(), Playlist::loadPlaylistByID(), ProgramInfo::LoadProgramFromRecorded(), LoadScan(), LoadScanList(), MythNews::loadSites(), MainServer::LocalFilePath(), FileServerHandler::LocalFilePath(), lock_channel(), main(), ProgramInfo::MarkAsInUse(), no_capturecards(), RecordingProfileEditor::open(), ProfileGroupEditor::open(), OverTimeCategory(), WeatherSource::ProbeScript(), UPnpCDSExtension::ProcessContainer(), UPnpCDSExtension::ProcessKey(), ProgramInfo::ProgramInfo(), Scheduler::PutInactiveSlavesToSleep(), ProgramInfo::QueryAutoExpire(), ProgramInfo::QueryBasename(), ProgramInfo::QueryBookmarkTimeStamp(), ProgramInfo::QueryCategoryType(), DBUtil::QueryDBMSVersion(), ProgramInfo::QueryDVDBookmark(), ProgramInfo::QueryFilesize(), FileServerHandler::QueryFileSystems(), ProgramInfo::QueryInUseMap(), ProgramInfo::QueryIsEditing(), ProgramInfo::QueryIsInUse(), ProgramInfo::QueryJobsRunning(), ProgramInfo::QueryKeyFromPathname(), ProgramInfo::QueryMarkupMap(), ProgramInfo::QueryMplexID(), ProgramInfo::QueryPositionMap(), ProgramInfo::QueryRecordingGroup(), ProgramInfo::QueryRecordingGroupPassword(), ProgramInfo::QueryTranscoderID(), ProgramInfo::QueryTranscodeStatus(), ProgramInfo::QueryTuningInfo(), JobQueue::QueueJob(), RecordingInfo::RecordingInfo(), MythMainWindow::RegisterJump(), MythMainWindow::RegisterKey(), LiveTVChain::ReloadAll(), ReloadBookmark(), HTTPLiveStream::RemoveStream(), GalleryUtil::RenameDirectory(), AllMusic::resync(), romInDB(), FillData::Run(), HouseKeeper::RunHouseKeeping(), AutoIncrementDBSetting::Save(), ScreenSetup::saveData(), VideoDisplayProfile::SaveDB(), SaveScan(), ScanDTVTransport::SaveScan(), VideoMetadataImp::saveToDatabase(), FileScanner::ScanArtwork(), FileScanner::ScanMusic(), ProgramRecPriority::scheduleChanged(), seekDebug(), set_lineup_type(), SmartPLResultViewer::setSQL(), Weather::SetupScreens(), SourceManager::setupSources(), setupTVs(), TVRec::ShouldSwitchToAnotherCard(), PlaybackBox::showGroupFilter(), PlaybackBox::ShowRecGroupChanger(), ChannelOptionsCommon::sourceChanged(), EITScanner::StartActiveScan(), ChannelGroup::ToggleChannel(), MainServer::TruncateAndClose(), update_channel_basic(), DataDirectProcessor::UpdateChannelsSafe(), DataDirectProcessor::UpdateChannelsUnsafe(), AutoExpire::UpdateDontExpireSet(), UpdateGameCounts(), VideoMetadata::UpdateHashedDBRecord(), UpdateHashes(), ChannelUtil::UpdateInsertInfoFromDB(), DataDirectProcessor::UpdateListings(), Scheduler::UpdateManuals(), Scheduler::UpdateMatches(), Scheduler::UpdateNextRecord(), GameHandler::updateSettings(), IconData::UpdateSourceIcons(), SearchView::updateTracksList(), PlaybackBox::UpdateUILists(), Scheduler::VerifyCards(), GameHandler::VerifyGameDB(), WaitToDelete(), and HouseKeeper::wantToRun().

QString MSqlQuery::executedQuery ( void   )  const [inline]
QMap<QString, QVariant> MSqlQuery::boundValues ( void   )  const [inline]

Definition at line 186 of file mythdbcon.h.

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

QSqlError MSqlQuery::lastError ( void   )  const [inline]
int MSqlQuery::size ( void   )  const [inline]

Definition at line 189 of file mythdbcon.h.

Referenced by ChannelGroup::AddChannel(), AddFileType(), Scheduler::AddNewRecords(), Scheduler::AddNotListed(), ProfileGroup::allowedGroupName(), MainServer::BackendQueryDiskSpace(), ProfileGroupEditor::callDelete(), VideoSourceEditor::cardTypesInclude(), chanid_available(), ChannelBase::CheckChannel(), TVRec::CheckChannelPrefix(), checkChannelPresets(), checkImageStoragePaths(), checkStoragePaths(), HouseKeeper::CleanupProgramListings(), TV::ConfiguredTunerCards(), JobQueue::DeleteAllJobs(), ChannelImporter::DeleteUnusedTransports(), StatusBox::doLogEntries(), doUpgradeMusicDatabaseSchema(), doUpgradeTVDatabaseSchema(), exec(), AutoExpire::ExpireEpisodesOverMax(), NativeArchive::exportRecording(), NativeArchive::exportVideo(), MultiValueImp::fill_from_db(), ChannelEditor::fillList(), VideoSource::fillSelections(), ChannelSetting::fillSelections(), MythGamePlayerSettings::fillSelections(), Playlist::fillSonglistFromSmartPlaylist(), ChannelID::findHighest(), findInDB(), FindInDB(), findSearchGrabberInDB(), findTreeGrabberInDB(), get_chan_id_from_db(), ChannelUtil::GetBetterMplexID(), DVBChannel::GetChanID(), ChannelBase::GetChanID(), ChannelUtil::GetChannelCount(), SourceUtil::GetChannelSeparator(), ChannelUtil::GetChannelStringField(), StorageGroup::getGroupDirs(), ProfileGroup::getHostNames(), ChannelUtil::GetIcon(), JobQueue::GetJobsInQueue(), HouseKeeper::getLastRun(), ProfileGroup::getName(), StorageGroup::getRecordingsGroups(), ChannelUtil::GetServiceVersion(), LogViewer::getSetting(), ChannelUtil::GetSourceID(), VideoSelector::getVideoListFromDB(), Channel::GetVideoMultiplexList(), FillData::GrabDDData(), MythBurn::handleAddVideo(), ExportNative::handleAddVideo(), MainServer::HandleGetPendingRecordings(), MainServer::HandleLockTuner(), TV::HandleStateChange(), NativeArchive::importRecording(), ChannelBase::InitializeInputs(), InitializeMythSchema(), ImportIconsWizard::initialLoad(), MythBurn::isArchiveItemValid(), Metadata::isInDatabase(), IsMarked(), isNewTune(), NetworkControl::listChannels(), VideoSourceSelector::Load(), MultiplexSetting::Load(), ChannelGroupStorage::Load(), SourceSetup::loadData(), ProgDetails::loadPage(), Playlist::loadPlaylist(), MainServer::LocalFilePath(), FileServerHandler::LocalFilePath(), lockShutdown(), main(), needsMFDBReminder(), ProfileGroupEditor::open(), FileServerHandler::QueryFileSystems(), ProgramInfo::QueryIsInUse(), LiveTVChain::ReloadAll(), AllMusic::resync(), FillData::Run(), HouseKeeper::RunHouseKeeping(), ChannelID::Save(), SavePending(), FileScanner::ScanArtwork(), FileScanner::ScanMusic(), Weather::SetupScreens(), TVRec::ShouldSwitchToAnotherCard(), ChannelOptionsCommon::sourceChanged(), WeatherSource::startUpdate(), ChannelGroup::ToggleChannel(), MainServer::TruncateAndClose(), unlockShutdown(), DataDirectProcessor::UpdateChannelsUnsafe(), UpdateHashes(), Scheduler::UpdateManuals(), Scheduler::UpdateMatches(), GameHandler::VerifyGameDB(), and HouseKeeper::wantToRun().

bool MSqlQuery::isActive ( void   )  const [inline]

Definition at line 190 of file mythdbcon.h.

Referenced by FileAssociationsImp::add(), ProfileGroup::allowedGroupName(), LiveTVChain::AppendNewProgram(), ChannelRecPriority::applyChannelRecPriorityChange(), MainServer::BackendQueryDiskSpace(), Scheduler::BuildNewRecordsQueries(), ProfileGroupEditor::callDelete(), VideoSourceEditor::cardTypesInclude(), chanid_available(), StorageGroup::CheckAllStorageGroupDirs(), ChannelBase::CheckChannel(), TVRec::CheckChannelPrefix(), checkChannelPresets(), checkImageStoragePaths(), checkStoragePaths(), HouseKeeper::CleanupOrphanedLivetvChains(), HouseKeeper::CleanupRecordedTables(), clearRSSArticles(), clearTreeItems(), KeyBindings::CommitAction(), KeyBindings::CommitJumppoint(), TV::ConfiguredTunerCards(), DiSEqCDevDevice::CreateById(), ChannelUtil::CreateChannel(), SourceUtil::CreateSource(), ChannelEditor::customEvent(), MythGamePlayerEditor::del(), TransportListEditor::Delete(), Ripper::deleteExistingTrack(), VideoDisplayProfile::DeleteProfileGroup(), VideoDisplayProfile::DeleteProfiles(), MainServer::DeleteRecordedFiles(), SourceUtil::DeleteSource(), MainServer::DoDeleteInDB(), StatusBox::doTunerStatus(), doUpgradeMusicDatabaseSchema(), doUpgradeTVDatabaseSchema(), Metadata::dumpToDatabase(), CaptureCardEditor::edit(), AutoExpire::ExpireEpisodesOverMax(), NativeArchive::exportVideo(), FileScanner::FileScanner(), Metadata::fillFieldList(), ChannelRecPriority::FillList(), VideoSource::fillSelections(), TransportList::fillSelections(), ChannelSetting::fillSelections(), MythGamePlayerSettings::fillSelections(), Source::fillSelections(), Playlist::fillSonglistFromSmartPlaylist(), findAllDBSearchGrabbers(), findAllDBTreeGrabbers(), findAllDBTreeGrabbersByHost(), findByURL(), ChannelUtil::FindChannel(), StorageGroup::FindDirs(), ChannelID::findHighest(), findInDB(), findSearchGrabberByCommand(), findSearchGrabberInDB(), findTreeGrabberByCommand(), findTreeGrabberInDB(), LiveTVChain::FinishedRecording(), get_atsc_stuff(), get_cardtype(), get_cardtypes(), get_chan_id_from_db(), get_dtv_multiplex(), get_input_id(), get_max_chanid(), get_use_eit(), get_valid_recorder_list(), ChannelUtil::GetATSCChannel(), ChannelUtil::GetBetterMplexID(), ChannelUtil::GetCachedPids(), CardUtil::GetCardInputID(), DVBChannel::GetChanID(), ChannelBase::GetChanID(), IPTVChannel::GetChanInfo(), SourceUtil::GetChannelCount(), ChannelUtil::GetChannelCount(), ChannelUtil::GetChannelData(), MHIContext::GetChannelIndex(), TVRec::GetChannelInfo(), SourceUtil::GetChannelSeparator(), ChannelUtil::GetChannelStringField(), ChannelUtil::GetChannelValueStr(), CardUtil::GetConfiguredDVBInputs(), TVRec::GetDevices(), FileScanner::GetDirectoryId(), ChannelUtil::GetExtendedChannelData(), V4LChannel::GetFormatForChannel(), StorageGroup::getGroupDirs(), ProfileGroup::getHostNames(), ChannelUtil::GetInputID(), MythMainWindow::GetKey(), HouseKeeper::getLastRun(), SourceUtil::GetListingsLoginData(), ChannelUtil::GetMplexID(), ProfileGroup::getName(), TVRec::GetNextProgram(), VideoDisplayProfile::GetProfileGroupID(), VideoDisplayProfile::GetProfiles(), CardUtil::GetQuickTuning(), ProgDetails::getRatings(), StorageGroup::getRecordingsGroups(), ThumbItem::GetRotationAngle(), getRSSArticles(), MHIContext::GetServiceInfo(), ChannelUtil::GetServiceVersion(), LogViewer::getSetting(), RemoteEncoder::GetSignalLockTimeout(), ChannelUtil::GetSourceID(), CardUtil::GetSourceID(), TVRec::GetStartChannel(), CardUtil::GetStartInput(), CardUtil::GetTimeouts(), getTreeArticles(), ChannelUtil::GetTuningParams(), MainServer::HandleLockTuner(), TV::HandleStateChange(), NativeArchive::importRecording(), ChannelBase::InitializeInputs(), InitializeMythSchema(), insert_dtv_multiplex(), insertGrabberInDB(), insertInDB(), RecordingInfo::InsertProgram(), insertRSSArticleInDB(), insertTreeArticleInDB(), is_dishnet_eit(), SourceUtil::IsAnySourceScanable(), SourceUtil::IsEncoder(), Metadata::isInDatabase(), IsMarked(), isNewTune(), isTreeInUse(), lastUpdate(), TransFreqTableSelector::Load(), VideoSourceSelector::Load(), StorageGroupEditor::Load(), SimpleDBStorage::Load(), MultiplexSetting::Load(), InputSelector::Load(), DiSEqCDevLNB::Load(), DiSEqCDevRotor::Load(), DiSEqCDevSwitch::Load(), DiSEqCDevSettings::Load(), ChannelGroupStorage::Load(), VideoMetadataListManager::loadAllFromDatabase(), CardInput::loadByInput(), EITCache::LoadChannel(), KeyBindings::LoadContexts(), KeyBindings::LoadJumppoints(), ProgDetails::loadPage(), MainServer::LocalFilePath(), FileServerHandler::LocalFilePath(), lock_channel(), main(), markTreeUpdated(), markUpdated(), needsMFDBReminder(), no_capturecards(), ProfileGroupEditor::open(), FileServerHandler::QueryFileSystems(), MythMainWindow::RegisterJump(), LiveTVChain::ReloadAll(), MultiValueImp::remove(), removeFromDB(), removeGrabberFromDB(), AllMusic::resync(), FillData::Run(), HouseKeeper::RunHouseKeeping(), TransFreqTableSelector::Save(), SimpleDBStorage::Save(), ChannelID::Save(), VideoMetadataImp::saveToDatabase(), FileScanner::ScanArtwork(), FileScanner::ScanMusic(), set_lineup_type(), setGlobalSetting(), ChannelUtil::SetServiceVersion(), TVRec::ShouldSwitchToAnotherCard(), MythNews::slotNewsRetrieved(), ChannelOptionsCommon::sourceChanged(), EITScanner::StartActiveScan(), RecordingInfo::StartedRecording(), DiSEqCDevSettings::Store(), ChannelBase::StoreInputChannels(), MainServer::TruncateAndClose(), update_channel_basic(), VideoMetadata::UpdateHashedDBRecord(), DataDirectProcessor::UpdateListings(), Scheduler::UpdateNextRecord(), SourceUtil::UpdateSource(), SearchView::updateTracksList(), and HouseKeeper::wantToRun().

QSqlRecord MSqlQuery::record ( void   )  const [inline]

Definition at line 191 of file mythdbcon.h.

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

int MSqlQuery::numRowsAffected (  )  const [inline]
void MSqlQuery::setForwardOnly ( bool  f  )  [inline]

Definition at line 193 of file mythdbcon.h.

Referenced by VideoMetadataListManager::loadAllFromDatabase().

bool MSqlQuery::isNull ( int  field  )  const [inline]

Definition at line 194 of file mythdbcon.h.

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

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

Definition at line 195 of file mythdbcon.h.

Referenced by formattedFieldValue(), and MSqlEscapeAsAQuery().

int MSqlQuery::at ( void   )  const [inline]

Definition at line 196 of file mythdbcon.h.

Referenced by AllMusic::resync().

bool MSqlQuery::testDBConnection (  )  [static]
MSqlQueryInfo MSqlQuery::InitCon ( ConnectionReuse  _reuse = kNormalConnection  )  [static]

Only use this in combination with MSqlQuery constructor.

Definition at line 541 of file mythdbcon.cpp.

Referenced by FileAssociationsImp::add(), MultiValueImp::add(), SingleValueImp::add(), ChannelGroup::AddChannel(), FileScanner::AddFileToDB(), AddFileType(), RecordingInfo::AddHistory(), UPnpCDSTv::AddItem(), HTTPLiveStream::AddSegment(), Myth::AddStorageGroupDir(), HTTPLiveStream::AddStream(), ChannelScanSM::AddToList(), ProfileGroup::allowedGroupName(), LiveTVChain::AppendNewProgram(), ChannelRecPriority::applyChannelRecPriorityChange(), RecordingInfo::ApplyRecordPlayGroupChange(), RecordingInfo::ApplyRecordRecGroupChange(), RecordingInfo::ApplyRecordRecID(), RecordingInfo::ApplyRecordRecTitleChange(), RecordingInfo::ApplyStorageGroupChange(), RecordingInfo::ApplyTranscoderProfileChange(), RecordingInfo::ApplyTranscoderProfileChangeById(), MainServer::BackendQueryDiskSpace(), DBUtil::BackupDB(), InputGroupMap::Build(), ProfileGroupEditor::callDelete(), VideoSourceEditor::cardTypesInclude(), JobQueue::ChangeJobArgs(), JobQueue::ChangeJobCmds(), JobQueue::ChangeJobComment(), JobQueue::ChangeJobFlags(), JobQueue::ChangeJobHost(), JobQueue::ChangeJobStatus(), ChannelEditor::channelIconImport(), StorageGroup::CheckAllStorageGroupDirs(), ImportIconsWizard::checkAndDownload(), ChannelBase::CheckChannel(), TVRec::CheckChannelPrefix(), checkChannelPresets(), checkHandlers(), checkImageStoragePaths(), ProgramInfo::CheckProgramIDAuthorities(), HTTPLiveStream::CheckStop(), checkStoragePaths(), CustomPriority::checkSyntax(), CustomEdit::checkSyntax(), DBUtil::CheckTables(), FileScanner::cleanDB(), HouseKeeper::CleanupAllOldInUsePrograms(), CleanupMyOldInUsePrograms(), HouseKeeper::CleanupMyOldRecordings(), JobQueue::CleanupOldJobsInQueue(), HouseKeeper::CleanupOrphanedLivetvChains(), HouseKeeper::CleanupProgramListings(), HouseKeeper::CleanupRecordedTables(), clearAllKeys(), GameHandler::clearAllMetadata(), clearArchiveTable(), EITCache::ClearChannelLocks(), ProgramData::ClearDataByChannel(), ProgramInfo::ClearMarkupMap(), ProgramInfo::ClearPositionMap(), clearRSSArticles(), clearTreeItems(), clone_capturecard(), clone_cardinputs(), KeyBindings::CommitAction(), KeyBindings::CommitJumppoint(), SchemaUpgradeWizard::CompareAndWait(), CompleteJob(), TV::ConfiguredTunerCards(), convert_diseqc_db(), GalleryUtil::Copy(), DBUtil::CountClients(), DiSEqCDevDevice::CreateById(), CardUtil::CreateCaptureCard(), CardUtil::CreateCardInput(), ChannelUtil::CreateChannel(), CardUtil::CreateInputGroup(), UPnpCDSExtension::CreateItems(), CardInput::CreateNewInputGroup(), VideoDisplayProfile::CreateProfile(), VideoDisplayProfile::CreateProfileGroup(), SourceUtil::CreateSource(), PlaybackBox::createTranscodingProfilesMenu(), StatusBox::customEvent(), ChannelEditor::customEvent(), ProgramRecPriority::deactivate(), MythGamePlayerEditor::del(), TransportListEditor::Delete(), RecordingRule::Delete(), GalleryUtil::Delete(), delete_in_db(), CardUtil::DeleteAllCards(), JobQueue::DeleteAllJobs(), SourceUtil::DeleteAllSources(), CardUtil::DeleteCard(), ChannelUtil::DeleteChannel(), ChannelGroup::DeleteChannel(), PowerSearchPopup::deleteClicked(), PhrasePopup::deleteClicked(), CustomPriority::deleteClicked(), VideoDisplayProfile::DeleteDB(), Ripper::deleteExistingTrack(), VideoMetadataImp::DeleteFromDatabase(), RomInfo::DeleteFromDatabase(), RecordingInfo::DeleteHistory(), CardUtil::DeleteInput(), JobQueue::DeleteJob(), ProgLister::DeleteOldEpisode(), ProgLister::DeleteOldSeries(), CardUtil::DeleteOrphanInputs(), PlaylistContainer::deletePlaylist(), VideoDisplayProfile::DeleteProfileGroup(), VideoDisplayProfile::DeleteProfiles(), LiveTVChain::DeleteProgram(), MainServer::DeleteRecordedFiles(), CustomEdit::deleteRule(), ScanInfo::DeleteScan(), SourceUtil::DeleteSource(), ChannelImporter::DeleteUnusedTransports(), LiveTVChain::DestroyChain(), DisplayRecGroup(), StorageGroupListEditor::doDelete(), StorageGroupEditor::doDelete(), PlayGroupEditor::doDelete(), ChannelGroupEditor::doDelete(), MainServer::DoDeleteInDB(), StatusBox::doListingsStatus(), StatusBox::doLogEntries(), GameScanner::doScanAll(), StatusBox::doScheduleStatus(), JobQueue::DoTranscodeThread(), StatusBox::doTunerStatus(), doUpgradeMusicDatabaseSchema(), doUpgradeTVDatabaseSchema(), doUpgradeVideoDatabaseSchema(), AlbumArtImages::dumpToDatabase(), Metadata::dumpToDatabase(), CaptureCardEditor::edit(), DiSEqCDevTree::Exists(), ExpertSettingsEditor::ExpertSettingsEditor(), AutoExpire::ExpireEpisodesOverMax(), AutoExpire::ExpireRecordings(), IconData::ExportIconMap(), NativeArchive::exportRecording(), NativeArchive::exportVideo(), extractDetailsFromFilename(), FileScanner::FileScanner(), FileAssociationsImp::fill_from_db(), MultiValueImp::fill_from_db(), SingleValueImp::fill_from_db(), RomInfo::fillData(), AutoExpire::FillDBOrdered(), Metadata::fillFieldList(), ScanDTVTransport::FillFromDB(), DTVMultiplex::FillFromDB(), ProgLister::FillItemList(), ProgramRecPriority::FillList(), ChannelRecPriority::FillList(), ChannelEditor::fillList(), GameUI::fillNode(), PlaybackBox::fillRecGroupPasswordCache(), Scheduler::FillRecordingDir(), ImportNative::fillSearchList(), CaptureCard::fillSelections(), VideoSource::fillSelections(), TransportList::fillSelections(), ChannelSetting::fillSelections(), RecordingProfile::fillSelections(), ProfileGroup::fillSelections(), MythGamePlayerSettings::fillSelections(), Source::fillSelections(), Playlist::fillSonglistFromQuery(), Playlist::fillSonglistFromSmartPlaylist(), HttpStatus::FillStatusXML(), ProgLister::FillViewList(), findAllDBRSS(), findAllDBRSSByType(), findAllDBSearchGrabbers(), findAllDBTreeGrabbers(), findAllDBTreeGrabbersByHost(), Scheduler::findAllScheduledPrograms(), findByURL(), ChannelUtil::FindChannel(), ImportNative::findChannelMatch(), StorageGroup::FindDirs(), ChannelID::findHighest(), AlbumArtImages::findImages(), findInDB(), FindInDB(), SourceManager::findScripts(), SourceManager::findScriptsDB(), findSearchGrabberByCommand(), findSearchGrabberInDB(), findTreeGrabberByCommand(), findTreeGrabberInDB(), RecordingInfo::FinishedRecording(), LiveTVChain::FinishedRecording(), ProgramData::fix_end_times(), FlagCommercials(), HouseKeeper::flushDBLogs(), RecordingInfo::ForgetHistory(), formattedFieldValue(), get_cardtype(), get_cardtypes(), get_chan_id_from_db(), get_dtv_multiplex(), get_input_id(), get_on_cardid(), get_on_inputid(), get_use_eit(), get_valid_recorder_list(), StatusBox::getActualRecordedBPS(), Content::GetAlbumArt(), RomInfo::GetAllRomInfo(), ExportNative::getArchiveListFromDB(), VideoMetaDataUtil::GetArtPath(), GetArtwork(), ChannelUtil::GetATSCChannel(), ChannelUtil::GetBetterMplexID(), ChannelUtil::GetCachedPids(), Capture::GetCaptureCard(), Capture::GetCaptureCardList(), CardUtil::GetCardIDs(), CardUtil::GetCardInputID(), CardUtil::GetCardList(), ChannelUtil::GetCardTypes(), CardUtil::GetCardTypes(), GetCategoryList(), DVBChannel::GetChanID(), ChannelUtil::GetChanID(), ChannelBase::GetChanID(), ChannelUtil::GetChanIDs(), IPTVChannel::GetChanInfo(), SourceUtil::GetChannelCount(), ChannelUtil::GetChannelCount(), ChannelUtil::GetChannelData(), ChannelGroup::GetChannelGroupId(), ChannelGroup::GetChannelGroupName(), ChannelGroup::GetChannelGroups(), MHIContext::GetChannelIndex(), TVRec::GetChannelInfo(), ChannelUtil::GetChannels(), SourceUtil::GetChannelSeparator(), ChannelUtil::GetChannelStringField(), ChannelUtil::GetChannelValueStr(), CardUtil::GetCloneCardIDs(), CardUtil::GetConfiguredDVBInputs(), ChannelUtil::GetConflicting(), UPnpCDSExtension::GetCount(), PlayGroup::GetCount(), HTTPLiveStream::GetDBStatus(), ChannelImporter::GetDBTransports(), ChannelUtil::GetDefaultAuthority(), RecordingRule::GetDefaultFilter(), CardUtil::GetDeviceLabel(), TVRec::GetDevices(), FileScanner::GetDirectoryId(), CardUtil::GetDisplayName(), UPnpCDSVideo::GetDistinctCount(), UPnpCDSExtension::GetDistinctCount(), ChannelUtil::GetExtendedChannelData(), CardUtil::GetFirewireChangerModel(), CardUtil::GetFirewireChangerNode(), V4LChannel::GetFormatForChannel(), getGlobalSetting(), CardUtil::GetGroupCardIDs(), StorageGroup::getGroupDirs(), MainServer::getGuideDataThrough(), ProfileGroup::getHostNames(), Myth::GetHosts(), ChannelUtil::GetIcon(), PlayGroup::GetInitialName(), CardUtil::GetInputGroups(), ChannelUtil::GetInputID(), CardUtil::GetInputID(), CardUtil::GetInputIDs(), CardUtil::GetInputInfo(), CardUtil::GetInputNames(), JobQueue::GetJobArgs(), JobQueue::GetJobCmd(), JobQueue::GetJobCommand(), JobQueue::GetJobFlags(), JobQueue::GetJobID(), JobQueue::GetJobInfoFromID(), JobQueue::GetJobsInQueue(), JobQueue::GetJobStatus(), MythMainWindow::GetKey(), Myth::GetKeys(), HouseKeeper::getLastRun(), SourceUtil::GetListingsLoginData(), HTTPLiveStream::GetLiveStreamInfoList(), ChannelUtil::GetMplexID(), SourceUtil::GetMplexIDs(), Content::GetMusic(), GetMythXMLURL(), RecordingProfile::getName(), ProfileGroup::getName(), PlayGroup::GetNames(), TVRec::GetNextProgram(), VideoDisplayProfile::GetProfileGroupID(), VideoDisplayProfile::GetProfiles(), Guide::GetProgramGuide(), CardUtil::GetQuickTuning(), ProgDetails::getRatings(), StorageGroup::getRecordingsGroups(), StorageGroup::GetRelativePathname(), RomInfo::GetRomInfoById(), ThumbItem::GetRotationAngle(), getRSSArticles(), MHIContext::GetServiceInfo(), ChannelUtil::GetServiceVersion(), PlayGroup::GetSetting(), MythDB::GetSetting(), Myth::GetSetting(), LogViewer::getSetting(), MythDB::GetSettingOnHost(), MythDB::GetSettings(), GetSettingsMap(), ProgFinder::getShowNames(), RemoteEncoder::GetSignalLockTimeout(), GetSiteList(), ChannelUtil::GetSourceID(), CardUtil::GetSourceID(), ChannelUtil::GetSourceIDForChannel(), SourceUtil::GetSourceName(), TVRec::GetStartChannel(), CardUtil::GetStartingChannel(), CardUtil::GetStartInput(), Myth::GetStorageGroupDirs(), DBUtil::GetTables(), CardUtil::GetTimeouts(), getTreeArticles(), ChannelUtil::GetTuningParams(), Content::GetVideo(), Content::GetVideoArtwork(), CardUtil::GetVideoDevices(), VideoSelector::getVideoListFromDB(), Channel::GetVideoMultiplex(), Channel::GetVideoMultiplexList(), Channel::GetVideoSource(), Channel::GetVideoSourceList(), Channel::GetXMLTVIdList(), ImportNative::gotCallsign(), ImportNative::gotChanID(), ImportNative::gotChanNo(), ImportNative::gotName(), FillData::GrabData(), RecordingProfile::groupType(), MythBurn::handleAddVideo(), ExportNative::handleAddVideo(), ChannelData::handleChannels(), MainServer::HandleGetPendingRecordings(), MainServer::HandleLockTuner(), ProgramData::HandlePrograms(), MainServer::HandleQueryFileHash(), FileServerHandler::HandleQueryFileHash(), TV::HandleStateChange(), SourceUtil::HasDigitalChannel(), IconData::ImportIconMap(), NativeArchive::importRecording(), NativeArchive::importVideo(), ChannelBase::InitializeInputs(), InitializeMythSchema(), InitializeVideoSchema(), ImportIconsWizard::initialLoad(), EditPowerSearchPopup::initLists(), GameHandler::InitMetaDataMap(), insert_dtv_multiplex(), insertGrabberInDB(), insertInDB(), InsertInDB(), RecordingInfo::InsertProgram(), insertRSSArticleInDB(), insertTreeArticleInDB(), CustomPriority::installClicked(), is_dishnet_eit(), is_input_group_busy(), SourceUtil::IsAnySourceScanable(), MythBurn::isArchiveItemValid(), CardUtil::IsCardTypePresent(), SourceUtil::IsEncoder(), isHostMaster(), Metadata::isInDatabase(), IsMarked(), isNewTune(), isTreeInUse(), CardUtil::IsTunerShared(), lastUpdate(), CardUtil::LinkInputGroup(), NetworkControl::listChannels(), RecordingProfile::listProfiles(), NetworkControl::listRecordings(), NetworkControl::listSchedule(), CardInputEditor::Load(), InputGroup::Load(), TransFreqTableSelector::Load(), VideoSourceSelector::Load(), StorageGroupListEditor::Load(), StorageGroupEditor::Load(), StoreOptEditor::Load(), SchedFilterEditor::Load(), SchedOptEditor::Load(), RecordingRule::Load(), PlaylistContainer::load(), SimpleDBStorage::Load(), MultiplexSetting::Load(), InputSelector::Load(), DiSEqCDevLNB::Load(), DiSEqCDevRotor::Load(), DiSEqCDevSwitch::Load(), DiSEqCDevTree::Load(), DiSEqCDevSettings::Load(), ChannelGroupStorage::Load(), load_markup_datum(), load_settings(), VideoMetadataListManager::loadAllFromDatabase(), RecordingProfile::loadByGroup(), RecordingProfile::loadByID(), CardInput::loadByInput(), RecordingRule::LoadBySearch(), RecordingProfile::loadByType(), EITCache::LoadChannel(), CustomEdit::loadClauses(), MythBurn::loadConfiguration(), KeyBindings::LoadContexts(), SourceSetup::loadData(), ScreenSetup::loadData(), CustomPriority::loadData(), CustomEdit::loadData(), VideoDisplayProfile::LoadDB(), HTTPLiveStream::LoadFromDB(), LoadFromOldRecorded(), LoadFromProgram(), LoadFromRecorded(), KeyBindings::LoadJumppoints(), loadMusic(), ProgDetails::loadPage(), Playlist::loadPlaylist(), Playlist::loadPlaylistByID(), ProgramInfo::LoadProgramFromRecorded(), LoadScan(), LoadScanList(), MythNews::loadSites(), MainServer::LocalFilePath(), FileServerHandler::LocalFilePath(), lock_channel(), lockShutdown(), main(), ProgramInfo::MarkAsInUse(), ScanInfo::MarkProcessed(), markTreeUpdated(), markUpdated(), GalleryUtil::Move(), MSqlEscapeAsAQuery(), MythDbSettings1::MythDbSettings1(), needsMFDBReminder(), no_capturecards(), StorageGroupEditor::open(), RecordingProfileEditor::open(), ProfileGroupEditor::open(), PlayGroupEditor::open(), ChannelGroupEditor::open(), OverTimeCategory(), performActualUpdate(), Metadata::persist(), WeatherSource::ProbeScript(), UPnpCDSExtension::ProcessContainer(), EITHelper::ProcessEvents(), WeatherSource::processExit(), GameHandler::processGames(), UPnpCDSExtension::ProcessItem(), UPnpCDSExtension::ProcessKey(), ProgramInfo::ProgramInfo(), purgeGameDB(), Scheduler::PutInactiveSlavesToSleep(), ProgramInfo::QueryAutoExpire(), ProgramInfo::QueryBasename(), ProgramInfo::QueryBookmarkTimeStamp(), ProgramInfo::QueryCategoryType(), DBUtil::QueryDBMSVersion(), ProgramInfo::QueryDVDBookmark(), ProgramInfo::QueryFilesize(), FileServerHandler::QueryFileSystems(), ProgramInfo::QueryInUseMap(), ProgramInfo::QueryIsEditing(), ProgramInfo::QueryIsInUse(), ProgramInfo::QueryJobsRunning(), ProgramInfo::QueryKeyFromPathname(), ProgramInfo::QueryMarkupMap(), ProgramInfo::QueryMplexID(), ProgramInfo::QueryPositionMap(), ProgramInfo::QueryRecordingGroup(), ProgramInfo::QueryRecordingGroupPassword(), ProgramInfo::QueryTranscoderID(), ProgramInfo::QueryTranscodeStatus(), ProgramInfo::QueryTuningInfo(), JobQueue::QueueJob(), RecordingInfo::ReactivateRecording(), RecordingInfo::RecordingInfo(), MythMainWindow::RegisterJump(), MythMainWindow::RegisterKey(), LiveTVChain::ReloadAll(), ReloadBookmark(), ThumbItem::Remove(), FileAssociationsImp::remove(), MultiValueImp::remove(), SingleValueImp::remove(), FileScanner::RemoveFileFromDB(), removeFromDB(), RemoveFromDB(), removeGrabberFromDB(), ExportNative::removeItem(), Myth::RemoveStorageGroupDir(), HTTPLiveStream::RemoveStream(), GalleryUtil::Rename(), GalleryUtil::RenameDirectory(), DBUtil::RepairTables(), replace_in_db(), IconData::ResetIconMap(), AllMusic::resync(), romInDB(), DBLoggerThread::run(), FillData::Run(), HouseKeeper::RunHouseKeeping(), RunSimpleQuery(), CardInput::Save(), XMLTVConfig::Save(), TransFreqTableSelector::Save(), AutoIncrementDBSetting::Save(), RecordingRule::Save(), SimpleDBStorage::Save(), IconData::Save(), ChannelID::Save(), ProgramInfo::SaveAspect(), ProgramInfo::SaveAutoExpire(), ProgramInfo::SaveBasename(), ProgramInfo::SaveBookmark(), ChannelUtil::SaveCachedPids(), ProgramInfo::SaveCommFlagged(), MythBurn::saveConfiguration(), ExportNative::saveConfiguration(), ProgramInfo::SaveCutList(), SourceSetup::saveData(), ScreenSetup::saveData(), VideoDisplayProfile::SaveDB(), ProgramInfo::SaveDeletePendingFlag(), ProgramInfo::SaveDVDBookmark(), ProgramInfo::SaveEditing(), ProgramInfo::SaveFilesize(), ProgramInfo::SaveFrameRate(), ProgramInfo::SaveInetRef(), ProgramInfo::SaveMarkupMap(), SavePending(), Playlist::savePlaylist(), ProgramInfo::SavePositionMap(), ProgramInfo::SavePositionMapDelta(), ProgramInfo::SavePreserve(), ProgramInfo::SaveResolution(), SaveScan(), ScanDTVTransport::SaveScan(), ChannelInsertInfo::SaveScan(), ProgramInfo::SaveSeasonEpisode(), HTTPLiveStream::SaveSegmentInfo(), MythDB::SaveSettingOnHost(), VideoMetadataImp::saveToDatabase(), SmartPLCriteriaRow::saveToDatabase(), RomInfo::SaveToDatabase(), ProgramInfo::SaveTotalDuration(), ProgramInfo::SaveTotalFrames(), ProgramInfo::SaveTranscodeStatus(), ProgramInfo::SaveVideoProperties(), ProgramInfo::SaveWatched(), FileScanner::ScanArtwork(), FileScanner::ScanMusic(), ProgramRecPriority::scheduleChanged(), set_lineup_type(), set_on_input(), set_on_source(), SetArtwork(), TVRec::SetChannelInfo(), ChannelUtil::SetChannelValue(), RecordingInfo::SetDupHistory(), RomInfo::setFavorite(), setGlobalSetting(), PlaybackBox::SetRecGroupPassword(), ThumbItem::SetRotationAngle(), ChannelUtil::SetServiceVersion(), SmartPLResultViewer::setSQL(), CardUtil::SetStartChannel(), Weather::SetupScreens(), SourceManager::setupSources(), setupTVs(), ChannelUtil::SetVisible(), TVRec::ShouldSwitchToAnotherCard(), PlaybackBox::showGroupFilter(), PlaybackBox::ShowRecGroupChanger(), MythNews::slotNewsRetrieved(), ChannelOptionsCommon::sourceChanged(), EITScanner::StartActiveScan(), RecordingInfo::StartedRecording(), WeatherSource::startUpdate(), HTTPLiveStream::StopStream(), DiSEqCDevLNB::Store(), DiSEqCDevRotor::Store(), DiSEqCDevSwitch::Store(), DiSEqCDevTree::Store(), DiSEqCDevSettings::Store(), CustomEdit::storeClicked(), ChannelBase::StoreInputChannels(), CustomEdit::storeRule(), DatabaseLogger::tableExists(), ChannelGroup::ToggleChannel(), GuideGrid::toggleChannelFavorite(), MainServer::TruncateAndClose(), CardUtil::UnlinkInputGroup(), unlock_channel(), unlockShutdown(), ChannelUtil::UpdateChannel(), UpdateDBVersionNumber(), updateDiskCount(), updateDisplayRom(), AutoExpire::UpdateDontExpireSet(), UpdateGameCounts(), GameHandler::UpdateGameDB(), updateGameName(), VideoMetadata::UpdateHashedDBRecord(), UpdateHashes(), ChannelUtil::UpdateInsertInfoFromDB(), ProgLister::UpdateKeywordInDB(), ProgramInfo::UpdateLastDelete(), HouseKeeper::updateLastrun(), Metadata::UpdateModTime(), HTTPLiveStream::UpdatePercentComplete(), RecordingInfo::UpdateRecordingEnd(), GameHandler::updateSettings(), HTTPLiveStream::UpdateSizeInfo(), SourceUtil::UpdateSource(), IconData::UpdateSourceIcons(), HTTPLiveStream::UpdateStatus(), HTTPLiveStream::UpdateStatusMessage(), SearchView::updateTracksList(), PlaybackBox::UpdateUILists(), UpgradeGameDatabaseSchema(), UpgradeTVDatabaseSchema(), Scheduler::VerifyCards(), GameHandler::VerifyGameDB(), WaitToDelete(), and HouseKeeper::wantToRun().

MSqlQueryInfo MSqlQuery::SchedCon (  )  [static]

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

Definition at line 571 of file mythdbcon.cpp.

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

MSqlQueryInfo MSqlQuery::DDCon (  )  [static]
void MSqlQuery::CloseSchedCon (  )  [static]

Definition at line 609 of file mythdbcon.cpp.

void MSqlQuery::CloseDDCon (  )  [static]

Definition at line 614 of file mythdbcon.cpp.

Referenced by Scheduler::~Scheduler().

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

Definition at line 751 of file mythdbcon.cpp.

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


Friends And Related Function Documentation

MBASE_PUBLIC friend void MSqlEscapeAsAQuery ( QString &  ,
MSqlBindings  
) [friend]

Given a partial query string and a bindings object, escape the string.

Definition at line 946 of file mythdbcon.cpp.


Member Data Documentation

Definition at line 227 of file mythdbcon.h.

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

Definition at line 228 of file mythdbcon.h.

Referenced by MSqlQuery().

Definition at line 229 of file mythdbcon.h.

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

Definition at line 230 of file mythdbcon.h.

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

QRegExp MSqlQuery::m_testbindings [private]

Definition at line 232 of file mythdbcon.h.

Referenced by MSqlQuery(), and prepare().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon Feb 6 06:42:08 2012 for MythTV by  doxygen 1.6.3