MythTV  0.28pre
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
MSqlQuery Class Reference

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

#include <mythdbcon.h>

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

Public Types

enum  ConnectionReuse { kDedicatedConnection, kNormalConnection }
 

Public Member Functions

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

Private Member Functions

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

Private Attributes

MSqlDatabasem_db
 
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. More...
 

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 125 of file mythdbcon.h.

Member Enumeration Documentation

Enumerator
kDedicatedConnection 
kNormalConnection 

Definition at line 199 of file mythdbcon.h.

Constructor & Destructor Documentation

MSqlQuery::MSqlQuery ( const MSqlQueryInfo qi)

Get DB connection from pool.

Definition at line 502 of file mythdbcon.cpp.

MSqlQuery::~MSqlQuery ( )

Returns connection to pool.

Definition at line 516 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 597 of file mythdbcon.cpp.

Referenced by SingleValueImp::add(), MultiValueImp::add(), FileAssociationsImp::add(), ChannelGroup::AddChannel(), MusicFileScanner::AddFileToDB(), AddFileType(), RecordingInfo::AddHistory(), UPnpCDSTv::AddItem(), Scheduler::AddNewRecords(), Scheduler::AddNotListed(), Myth::AddStorageGroupDir(), HTTPLiveStream::AddStream(), AllStream::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(), ChannelScanSM::ChannelScanSM(), StorageGroup::CheckAllStorageGroupDirs(), ImportIconsWizard::checkAndDownload(), ChannelBase::CheckChannel(), TVRec::CheckChannelPrefix(), checkChannelPresets(), checkHandlers(), checkImageStoragePaths(), checkMusicAvailable(), ProgramInfo::CheckProgramIDAuthorities(), HTTPLiveStream::CheckStop(), checkStorageGroup(), checkStoragePaths(), CustomPriority::checkSyntax(), CustomEdit::checkSyntax(), DBUtil::CheckTables(), DBUtil::CheckTimeZoneSupport(), ImportMusicDialog::chooseBackend(), Ripper::chooseBackend(), MusicFileScanner::cleanDB(), CleanupTask::CleanupInUsePrograms(), CleanupMyOldInUsePrograms(), JobQueue::CleanupOldJobsInQueue(), CleanupTask::CleanupOldRecordings(), CleanupTask::CleanupOrphanedLiveTV(), CleanupTask::CleanupProgramListings(), CleanupTask::CleanupRecordedTables(), clearAllKeys(), GameHandler::clearAllMetadata(), clearArchiveTable(), EITCache::ClearChannelLocks(), GalleryDatabaseHelper::ClearDatabase(), ProgramData::ClearDataByChannel(), ProgramInfo::ClearMarkupMap(), ProgramInfo::ClearPositionMap(), clearRSSArticles(), clearTreeItems(), clone_capturecard(), clone_cardinputs(), KeyBindings::CommitAction(), KeyBindings::CommitJumppoint(), CompleteJob(), convert_diseqc_db(), GalleryUtil::Copy(), DBUtil::CountClients(), DataDirectProcessor::CreateATempTable(), DiSEqCDevDevice::CreateById(), CardUtil::CreateCaptureCard(), CardUtil::CreateCardInput(), ChannelUtil::CreateChannel(), Scheduler::CreateConflictLists(), MusicMetadata::createFromFilename(), MusicMetadata::createFromID(), CardUtil::CreateInputGroup(), UPnpCDSExtension::CreateItems(), CardInput::CreateNewInputGroup(), VideoDisplayProfile::CreateProfile(), VideoDisplayProfile::CreateProfileGroup(), StoreOptMixin::CreateRecordingGroup(), SourceUtil::CreateSource(), Scheduler::CreateTempTables(), PlaybackBox::createTranscodingProfilesMenu(), ChannelEditor::customEvent(), StatusBox::customEvent(), DataDirectProcessor::DataDirectProgramUpdate(), ProgramRecPriority::deactivate(), commDetector2::debugDirectory(), MythGamePlayerEditor::del(), RecordingRule::Delete(), GalleryUtil::Delete(), TransportListEditor::Delete(), delete_in_db(), delete_program(), CardUtil::DeleteAllCards(), JobQueue::DeleteAllJobs(), SourceUtil::DeleteAllSources(), CardUtil::DeleteCard(), deleteCategory(), ChannelGroup::DeleteChannel(), ChannelUtil::DeleteChannel(), CustomPriority::deleteClicked(), PhrasePopup::deleteClicked(), PowerSearchPopup::deleteClicked(), VideoDisplayProfile::DeleteDB(), Ripper::deleteExistingTrack(), RomInfo::DeleteFromDatabase(), VideoMetadataImp::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(), Scheduler::DeleteTempTables(), ChannelImporter::DeleteUnusedTransports(), LiveTVChain::DestroyChain(), DisplayRecGroup(), StorageGroupEditor::doDelete(), PlayGroupEditor::doDelete(), ChannelGroupEditor::doDelete(), StorageGroupListEditor::doDelete(), MainServer::DoDeleteInDB(), StatusBox::doListingsStatus(), StatusBox::doLogEntries(), LogCleanerTask::DoRun(), GameScanner::doScanAll(), StatusBox::doScheduleStatus(), JobQueue::DoTranscodeThread(), StatusBox::doTunerStatus(), doUpgradeMusicDatabaseSchema(), doUpgradeTVDatabaseSchema(), doUpgradeVideoDatabaseSchema(), MusicMetadata::dumpToDatabase(), AlbumArtImages::dumpToDatabase(), CaptureCardEditor::edit(), DDStructureParser::endElement(), DiSEqCDevTree::Exists(), ExpertSettingsEditor::ExpertSettingsEditor(), AutoExpire::ExpireEpisodesOverMax(), AutoExpire::ExpireRecordings(), NativeArchive::exportRecording(), NativeArchive::exportVideo(), extractDetailsFromFilename(), SingleValueImp::fill_from_db(), MultiValueImp::fill_from_db(), FileAssociationsImp::fill_from_db(), FillCastMemberList(), RomInfo::fillData(), AutoExpire::FillDBOrdered(), MusicMetadata::fillFieldList(), DTVMultiplex::FillFromDB(), ScanDTVTransport::FillFromDB(), ProgLister::FillItemList(), ChannelEditor::fillList(), ChannelRecPriority::FillList(), ProgramRecPriority::FillList(), PlaybackBox::fillRecGroupPasswordCache(), Scheduler::FillRecordingDir(), Scheduler::FillRecordListFromDB(), ImportNative::fillSearchList(), TransportList::fillSelections(), MythGamePlayerSettings::fillSelections(), Source::fillSelections(), ProfileGroup::fillSelections(), RecordingProfile::fillSelections(), VideoSource::fillSelections(), ChannelSetting::fillSelections(), CaptureCard::fillSelections(), Playlist::fillSonglistFromQuery(), Playlist::fillSonglistFromSmartPlaylist(), HttpStatus::FillStatusXML(), ProgLister::FillViewList(), findAllDBRSS(), findAllDBRSSByType(), findAllDBSearchGrabbers(), findAllDBTreeGrabbers(), findAllDBTreeGrabbersByHost(), findByURL(), ChannelUtil::FindChannel(), ImportNative::findChannelMatch(), StorageGroup::FindDirs(), RemoteFile::FindFile(), ChannelID::findHighest(), AlbumArtImages::findImages(), FindInDB(), findInDB(), SourceManager::findScripts(), SourceManager::findScriptsDB(), findSearchGrabberByCommand(), findSearchGrabberInDB(), findTreeGrabberByCommand(), findTreeGrabberInDB(), LiveTVChain::FinishedRecording(), RecordingInfo::FinishedRecording(), ProgramData::fix_end_times(), FlagCommercials(), RecordingInfo::ForgetHistory(), FromProgramQuery(), get_atsc_stuff(), get_cardtype(), get_cardtypes(), get_chan_id_from_db_atsc(), get_chan_id_from_db_dtv(), get_chan_id_from_db_dvb(), get_dtv_multiplex(), get_input_id(), get_max_chanid(), get_on_cardid(), get_on_inputid(), get_use_eit(), get_valid_recorder_list(), StatusBox::getActualRecordedBPS(), MusicMetadata::getAlbumId(), CardUtil::GetAllInputIDs(), CardUtil::GetAllInputInfo(), RomInfo::GetAllRomInfo(), Scheduler::GetAllScheduled(), ExportNative::getArchiveListFromDB(), MusicMetadata::getArtistId(), VideoMetaDataUtil::GetArtPath(), GetArtwork(), ChannelUtil::GetATSCChannel(), ChannelUtil::GetBetterMplexID(), ChannelUtil::GetCachedPids(), Capture::GetCaptureCard(), Capture::GetCaptureCardList(), CardUtil::GetCardIDs(), CardUtil::GetCardInputID(), CardUtil::GetCardList(), CardUtil::GetCardTypes(), ChannelUtil::GetCardTypes(), GetCategoryList(), ChannelBase::GetChanID(), DVBChannel::GetChanID(), ChannelUtil::GetChanID(), ChannelUtil::GetChanIDs(), SourceUtil::GetChannelCount(), ChannelUtil::GetChannelCount(), ChannelUtil::GetChannelData(), ChannelGroup::GetChannelGroupId(), ChannelGroup::GetChannelGroupName(), MHIContext::GetChannelIndex(), TVRec::GetChannelInfo(), SourceUtil::GetChannelSeparator(), ChannelUtil::GetChannelsInternal(), ChannelUtil::GetChannelStringField(), ChannelUtil::GetChannelValueStr(), CardUtil::GetCloneCardIDs(), CardUtil::GetConfiguredDVBInputs(), ChannelUtil::GetConflicting(), PlayGroup::GetCount(), UPnpCDSExtension::GetCount(), HTTPLiveStream::GetDBStatus(), ChannelImporter::GetDBTransports(), ChannelUtil::GetDefaultAuthority(), RecordingRule::GetDefaultFilter(), CardUtil::GetDeviceLabel(), TVRec::GetDevices(), MusicFileScanner::GetDirectoryId(), MusicMetadata::getDirectoryId(), CardUtil::GetDisplayName(), UPnpCDSVideo::GetDistinctCount(), UPnpCDSExtension::GetDistinctCount(), NativeArchive::getFieldList(), CardUtil::GetFirewireChangerModel(), CardUtil::GetFirewireChangerNode(), V4LChannel::GetFormatForChannel(), MusicMetadata::getGenreId(), 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(), ChannelUtil::GetIPTVTuningData(), JobQueue::GetJobArgs(), JobQueue::GetJobCmd(), JobQueue::GetJobFlags(), JobQueue::GetJobID(), JobQueue::GetJobInfoFromID(), JobQueue::GetJobsInQueue(), JobQueue::GetJobStatus(), MythMainWindow::GetKey(), Myth::GetKeys(), SourceUtil::GetListingsLoginData(), HTTPLiveStream::GetLiveStreamInfoList(), CardUtil::GetLiveTVCardList(), Myth::GetLogs(), ChannelUtil::GetMplexID(), SourceUtil::GetMplexIDs(), Content::GetMusic(), GetMythXMLURL(), ProfileGroup::getName(), RecordingProfile::getName(), PlayGroup::GetNames(), TVRec::GetNextProgram(), DBEvent::GetOverlappingPrograms(), DBPerson::GetPersonDB(), VideoDisplayProfile::GetProfileGroupID(), RecordingProfile::GetProfiles(), VideoDisplayProfile::GetProfiles(), Guide::GetProgramGuide(), CardUtil::GetQuickTuning(), ProgDetails::getRatings(), RecordingInfo::GetRecgroupID(), Dvr::GetRecGroupList(), RecordingInfo::GetRecgroupString(), StorageGroup::getRecordingsGroups(), Dvr::GetRecRuleFilterList(), StorageGroup::GetRelativePathname(), RomInfo::GetRomInfoById(), ThumbItem::GetRotationAngle(), getRSSArticles(), ChannelUtil::GetServiceVersion(), PlayGroup::GetSetting(), LogViewer::getSetting(), Myth::GetSetting(), MythDB::GetSettings(), GetSettingsMap(), ProgFinder::getShowNames(), RemoteEncoder::GetSignalLockTimeout(), GetSiteList(), getSmartPlaylistCategories(), getSmartPlaylists(), getSmartPlaylistTracks(), ChannelUtil::GetSourceID(), CardUtil::GetSourceID(), ChannelUtil::GetSourceIDForChannel(), SourceUtil::GetSourceName(), TVRec::GetStartChannel(), CardUtil::GetStartingChannel(), CardUtil::GetStartInput(), Myth::GetStorageGroupDirs(), DBUtil::GetTables(), RecordingRule::GetTemplateNames(), CardUtil::GetTimeouts(), Dvr::GetTitleInfoList(), Dvr::GetTitleList(), 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(), ExportNative::handleAddVideo(), MythBurn::handleAddVideo(), ChannelData::handleChannels(), MainServer::HandleGetPendingRecordings(), MainServer::HandleLockTuner(), ProgramData::HandlePrograms(), FileServerHandler::HandleQueryFileHash(), MainServer::HandleQueryFileHash(), Scheduler::HandleReschedule(), MainServer::HandleScanMusic(), TV::HandleStateChange(), HardwareProfile::HardwareProfile(), SourceUtil::HasDigitalChannel(), NativeArchive::importRecording(), NativeArchive::importVideo(), ChannelBase::InitializeInputs(), InitializeMythSchema(), ImportIconsWizard::initialLoad(), EditPowerSearchPopup::initLists(), GameHandler::InitMetaDataMap(), insert_dtv_multiplex(), DBPerson::InsertCreditsDB(), DBEvent::InsertDB(), ProgInfo::InsertDB(), GalleryDatabaseHelper::InsertDirectory(), ImageUtils::InsertDirectoryIntoDB(), GalleryDatabaseHelper::InsertFile(), ImageUtils::InsertFileIntoDB(), 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(), IsMarked(), isNewTune(), isTreeInUse(), CardUtil::IsTunerShared(), ProgramData::IsUnchanged(), RecordingRule::IsValid(), lastUpdate(), CardUtil::LinkInputGroup(), NetworkControl::listChannels(), NetworkControl::listRecordings(), NetworkControl::listSchedule(), StorageGroupEditor::Load(), MultiplexSetting::Load(), ChannelGroupStorage::Load(), PlaylistContainer::load(), ChannelInfo::Load(), RecordingRule::Load(), InputSelector::Load(), DiSEqCDevSettings::Load(), StorageGroupListEditor::Load(), SimpleDBStorage::Load(), StoreOptMixin::Load(), VideoSourceSelector::Load(), DiSEqCDevTree::Load(), TransFreqTableSelector::Load(), DiSEqCDevSwitch::Load(), SchedFilterEditor::Load(), DiSEqCDevRotor::Load(), DiSEqCDevSCR::Load(), DiSEqCDevLNB::Load(), CardInputEditor::Load(), InputGroup::Load(), load_markup_datum(), load_settings(), VideoMetadataListManager::loadAllFromDatabase(), RecordingProfile::loadByGroup(), RecordingProfile::loadByID(), CardInput::loadByInput(), RecordingRule::LoadBySearch(), RecordingProfile::loadByType(), ChannelInfo::LoadCardIds(), EITCache::LoadChannel(), MHIContext::LoadChannelCache(), CustomEdit::loadClauses(), MythBurn::loadConfiguration(), KeyBindings::LoadContexts(), CustomPriority::loadData(), CustomEdit::loadData(), ScreenSetup::loadData(), SourceSetup::loadData(), VideoDisplayProfile::LoadDB(), GalleryDatabaseHelper::LoadDirectories(), ImageUtils::LoadDirectoriesFromDB(), GalleryDatabaseHelper::LoadDirectoryThumbnailValues(), ImageUtils::LoadDirectoryThumbnailValues(), ImageUtils::LoadFileFromDB(), GalleryDatabaseHelper::LoadFiles(), ImageUtils::LoadFilesFromDB(), loadFromDatabase(), HTTPLiveStream::LoadFromDB(), LoadFromOldRecorded(), LoadFromRecorded(), ChannelInfo::LoadGroupIds(), KeyBindings::LoadJumppoints(), ProgDetails::loadPage(), GalleryDatabaseHelper::LoadParentDirectory(), Playlist::loadPlaylist(), Playlist::loadPlaylistByID(), ProgramInfo::LoadProgramFromRecorded(), LoadScan(), LoadScanList(), MythNews::loadSites(), AllStream::loadStreams(), RecordingRule::LoadTemplate(), FileServerHandler::LocalFilePath(), MainServer::LocalFilePath(), lock_channel(), lockShutdown(), DatabaseLogger::logqmsg(), lookupCategoryID(), main(), ProgramInfo::MarkAsInUse(), ScanInfo::MarkProcessed(), markTreeUpdated(), markUpdated(), GalleryUtil::Move(), MusicFileScanner::MusicFileScanner(), needsMFDBReminder(), newCategory(), no_capturecards(), Scheduler::OldRecordedFixups(), StorageGroupEditor::open(), PlayGroupEditor::open(), ChannelGroupEditor::open(), ProfileGroupEditor::open(), RecordingProfileEditor::open(), OverTimeCategory(), performActualUpdate(), MusicMetadata::persist(), WeatherSource::ProbeScript(), UPnpCDSExtension::ProcessContainer(), WeatherSource::processExit(), UPnpCDSExtension::ProcessItem(), UPnpCDSExtension::ProcessKey(), ProgLister::ProgLister(), program_exists(), ProgramInfo::ProgramInfo(), purgeGameDB(), Scheduler::PutInactiveSlavesToSleep(), Q_DECLARE_METATYPE(), ProgramInfo::QueryAutoExpire(), ProgramInfo::QueryAverageAspectRatio(), ProgramInfo::QueryBasename(), ProgramInfo::QueryBookmarkTimeStamp(), ProgramInfo::QueryCategoryType(), DBUtil::QueryDBMSVersion(), ProgramInfo::QueryDVDBookmark(), ProgramInfo::QueryFilesize(), FileServerHandler::QueryFileSystems(), ProgramInfo::QueryInputDisplayName(), ProgramInfo::QueryInUseMap(), ProgramInfo::QueryIsEditing(), ProgramInfo::QueryIsInUse(), ProgramInfo::QueryJobsRunning(), ProgramInfo::QueryKeyFromPathname(), HouseKeeperTask::QueryLast(), ProgramInfo::QueryMarkup(), 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(), SingleValueImp::remove(), MultiValueImp::remove(), FileAssociationsImp::remove(), GalleryDatabaseHelper::RemoveDirectory(), ImageUtils::RemoveDirectoryFromDB(), GalleryDatabaseHelper::RemoveFile(), ImageUtils::RemoveFileFromDB(), MusicFileScanner::RemoveFileFromDB(), RemoveFromDB(), removeFromDB(), removeGrabberFromDB(), ExportNative::removeItem(), Myth::RemoveStorageGroupDir(), HTTPLiveStream::RemoveStream(), GalleryUtil::Rename(), renameCategory(), GalleryUtil::RenameDirectory(), DBUtil::RepairTables(), replace_in_db(), Scheduler::ResetDuplicates(), ResetHomepageFromDB(), AllMusic::resync(), romInDB(), FillData::Run(), runHomepage(), ChannelID::Save(), RecordingRule::Save(), SimpleDBStorage::Save(), TransFreqTableSelector::Save(), XMLTVConfig::Save(), AutoIncrementDBSetting::Save(), CardInput::Save(), ProgramInfo::SaveAspect(), ProgramInfo::SaveAutoExpire(), ProgramInfo::SaveBasename(), ProgramInfo::SaveBookmark(), ChannelUtil::SaveCachedPids(), ProgramInfo::SaveCommFlagged(), ExportNative::saveConfiguration(), MythBurn::saveConfiguration(), ProgramInfo::SaveCutList(), ScreenSetup::saveData(), SourceSetup::saveData(), VideoDisplayProfile::SaveDB(), ProgramInfo::SaveDeletePendingFlag(), ProgramInfo::SaveDVDBookmark(), ProgramInfo::SaveEditing(), ProgramInfo::SaveFilesize(), ProgramInfo::SaveFrameRate(), MusicMetadata::saveHostname(), ProgramInfo::SaveInetRef(), ProgramInfo::SaveMarkup(), ProgramInfo::SaveMarkupMap(), Playlist::savePlaylist(), ProgramInfo::SavePositionMap(), ProgramInfo::SavePositionMapDelta(), ProgramInfo::SavePreserve(), ProgramInfo::SaveResolution(), SaveScan(), ScanDTVTransport::SaveScan(), ChannelInsertInfo::SaveScan(), ProgramInfo::SaveSeasonEpisode(), HTTPLiveStream::SaveSegmentInfo(), MythDB::SaveSettingOnHost(), SmartPLCriteriaRow::saveToDatabase(), RomInfo::SaveToDatabase(), VideoMetadataImp::saveToDatabase(), ProgramInfo::SaveTotalDuration(), ProgramInfo::SaveTotalFrames(), ProgramInfo::SaveTranscodeStatus(), ProgramInfo::SaveVideoProperties(), ProgramInfo::SaveWatched(), MusicFileScanner::ScanArtwork(), MusicFileScanner::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(), GeneralSettings::slotDoResetDB(), MythNews::slotNewsRetrieved(), ChannelOptionsCommon::sourceChanged(), HouseKeeper::Start(), EITScanner::StartActiveScan(), RecordingInfo::StartedRecording(), WeatherSource::startUpdate(), HTTPLiveStream::StopStream(), DiSEqCDevSettings::Store(), DiSEqCDevTree::Store(), DiSEqCDevSwitch::Store(), DiSEqCDevRotor::Store(), DiSEqCDevSCR::Store(), DiSEqCDevLNB::Store(), CustomEdit::storeClicked(), ChannelBase::StoreInputChannels(), CustomEdit::storeRule(), DatabaseLogger::tableExists(), CustomPriority::testSchedule(), ChannelGroup::ToggleChannel(), MainServer::TruncateAndClose(), DBUtil::TryLockSchema(), CardUtil::UnlinkInputGroup(), unlock_channel(), DBUtil::UnlockSchema(), unlockShutdown(), update_channel_basic(), ChannelUtil::UpdateChannel(), DataDirectProcessor::UpdateChannelsSafe(), DataDirectProcessor::UpdateChannelsUnsafe(), DBEvent::UpdateDB(), UpdateDBVersionNumber(), GalleryDatabaseHelper::UpdateDirectory(), ImageUtils::UpdateDirectoryInDB(), updateDiskCount(), updateDisplayRom(), AutoExpire::UpdateDontExpireSet(), Scheduler::UpdateDuplicates(), GalleryDatabaseHelper::UpdateFile(), ImageUtils::UpdateFileInDB(), UpdateGameCounts(), GameHandler::UpdateGameDB(), updateGameName(), VideoMetadata::UpdateHashedDBRecord(), UpdateHashes(), UpdateHomepageInDB(), ChannelUtil::UpdateInsertInfoFromDB(), ChannelUtil::UpdateIPTVTuningData(), ProgLister::UpdateKeywordInDB(), ProgramInfo::UpdateLastDelete(), HouseKeeperTask::UpdateLastRun(), DataDirectProcessor::UpdateListings(), Scheduler::UpdateManuals(), updateMatches(), Scheduler::UpdateMatches(), Scheduler::UpdateNextRecord(), HTTPLiveStream::UpdatePercentComplete(), DataDirectProcessor::UpdateProgramViewTable(), RecordingInfo::UpdateRecordingEnd(), GameHandler::updateSettings(), HTTPLiveStream::UpdateSizeInfo(), SourceUtil::UpdateSource(), DataDirectProcessor::UpdateStationViewTable(), HTTPLiveStream::UpdateStatus(), HTTPLiveStream::UpdateStatusMessage(), SearchView::updateTracksList(), PlaybackBox::UpdateUILists(), UpgradeGameDatabaseSchema(), RecordingRule::UseTempTable(), Scheduler::VerifyCards(), GameHandler::VerifyGameDB(), and WaitToDelete().

bool MSqlQuery::next ( void  )

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

Definition at line 765 of file mythdbcon.cpp.

Referenced by SingleValueImp::add(), FileAssociationsImp::add(), UPnpCDSTv::AddItem(), Scheduler::AddNewRecords(), Scheduler::AddNotListed(), Myth::AddStorageGroupDir(), HTTPLiveStream::AddStream(), ChannelScanSM::AddToList(), ProfileGroup::allowedGroupName(), RecordingInfo::ApplyTranscoderProfileChange(), MainServer::BackendQueryDiskSpace(), InputGroupMap::Build(), Scheduler::BuildNewRecordsQueries(), ProfileGroupEditor::callDelete(), VideoSourceEditor::cardTypesInclude(), ChannelEditor::channelIconImport(), ChannelScanSM::ChannelScanSM(), StorageGroup::CheckAllStorageGroupDirs(), ChannelBase::CheckChannel(), TVRec::CheckChannelPrefix(), checkChannelPresets(), checkHandlers(), checkImageStoragePaths(), checkMusicAvailable(), ProgramInfo::CheckProgramIDAuthorities(), DBUtil::CheckRepairStatus(), HTTPLiveStream::CheckStop(), checkStorageGroup(), checkStoragePaths(), DBUtil::CheckTimeZoneSupport(), ImportMusicDialog::chooseBackend(), Ripper::chooseBackend(), MusicFileScanner::cleanDB(), CleanupTask::CleanupOrphanedLiveTV(), CleanupTask::CleanupProgramListings(), CleanupTask::CleanupRecordedTables(), clone_capturecard(), clone_cardinputs(), convert_diseqc_db(), DBUtil::CountClients(), DiSEqCDevDevice::CreateById(), CardUtil::CreateCaptureCard(), CardUtil::CreateCardInput(), Scheduler::CreateConflictLists(), MusicMetadata::createFromFilename(), MusicMetadata::createFromID(), CardUtil::CreateInputGroup(), UPnpCDSExtension::CreateItems(), CardInput::CreateNewInputGroup(), VideoDisplayProfile::CreateProfile(), SourceUtil::CreateSource(), PlaybackBox::createTranscodingProfilesMenu(), ChannelEditor::customEvent(), ProgramRecPriority::deactivate(), commDetector2::debugDirectory(), JobQueue::DeleteAllJobs(), CardUtil::DeleteCard(), deleteCategory(), ChannelGroup::DeleteChannel(), Ripper::deleteExistingTrack(), CardUtil::DeleteOrphanInputs(), ProgramData::DeleteOverlaps(), VideoDisplayProfile::DeleteProfileGroup(), VideoDisplayProfile::DeleteProfiles(), MainServer::DeleteRecordedFiles(), DisplayRecGroup(), ChannelGroupEditor::doDelete(), StatusBox::doListingsStatus(), StatusBox::doLogEntries(), LogCleanerTask::DoRun(), GameScanner::doScanAll(), StatusBox::doScheduleStatus(), JobQueue::DoTranscodeThread(), StatusBox::doTunerStatus(), doUpgradeMusicDatabaseSchema(), doUpgradeTVDatabaseSchema(), doUpgradeVideoDatabaseSchema(), CaptureCardEditor::edit(), DiSEqCDevTree::Exists(), ExpertSettingsEditor::ExpertSettingsEditor(), AutoExpire::ExpireEpisodesOverMax(), AutoExpire::ExpireRecordings(), NativeArchive::exportRecording(), NativeArchive::exportVideo(), extractDetailsFromFilename(), SingleValueImp::fill_from_db(), MultiValueImp::fill_from_db(), FileAssociationsImp::fill_from_db(), fill_settings(), FillCastMemberList(), RomInfo::fillData(), AutoExpire::FillDBOrdered(), MusicMetadata::fillFieldList(), DTVMultiplex::FillFromDB(), ScanDTVTransport::FillFromDB(), ProgLister::FillItemList(), ChannelEditor::fillList(), ChannelRecPriority::FillList(), ProgramRecPriority::FillList(), PlaybackBox::fillRecGroupPasswordCache(), Scheduler::FillRecordingDir(), ImportNative::fillSearchList(), TransportList::fillSelections(), MythGamePlayerSettings::fillSelections(), Source::fillSelections(), ProfileGroup::fillSelections(), RecordingProfile::fillSelections(), VideoSource::fillSelections(), ChannelSetting::fillSelections(), CaptureCard::fillSelections(), Playlist::fillSonglistFromQuery(), Playlist::fillSonglistFromSmartPlaylist(), HttpStatus::FillStatusXML(), ProgLister::FillViewList(), findAllDBRSS(), findAllDBRSSByType(), findAllDBSearchGrabbers(), findAllDBTreeGrabbers(), findAllDBTreeGrabbersByHost(), findByURL(), ChannelUtil::FindChannel(), ImportNative::findChannelMatch(), StorageGroup::FindDirs(), RemoteFile::FindFile(), ChannelID::findHighest(), AlbumArtImages::findImages(), SourceManager::findScripts(), SourceManager::findScriptsDB(), ProgramData::fix_end_times(), FlagCommercials(), get_atsc_stuff(), get_cardtype(), get_cardtypes(), get_chan_id_from_db_atsc(), get_chan_id_from_db_dtv(), get_chan_id_from_db_dvb(), get_dtv_multiplex(), get_input_id(), get_max_chanid(), get_on_cardid(), get_on_inputid(), get_use_eit(), get_valid_recorder_list(), StatusBox::getActualRecordedBPS(), MusicMetadata::getAlbumId(), CardUtil::GetAllInputIDs(), CardUtil::GetAllInputInfo(), RomInfo::GetAllRomInfo(), Scheduler::GetAllScheduled(), ExportNative::getArchiveListFromDB(), MusicMetadata::getArtistId(), VideoMetaDataUtil::GetArtPath(), GetArtwork(), ChannelUtil::GetATSCChannel(), ChannelUtil::GetBetterMplexID(), ChannelUtil::GetCachedPids(), Capture::GetCaptureCard(), Capture::GetCaptureCardList(), CardUtil::GetCardIDs(), CardUtil::GetCardInputID(), CardUtil::GetCardList(), CardUtil::GetCardTypes(), ChannelUtil::GetCardTypes(), GetCategoryList(), ChannelBase::GetChanID(), DVBChannel::GetChanID(), ChannelUtil::GetChanID(), ChannelUtil::GetChanIDs(), SourceUtil::GetChannelCount(), ChannelUtil::GetChannelData(), ChannelGroup::GetChannelGroupId(), ChannelGroup::GetChannelGroupName(), MHIContext::GetChannelIndex(), TVRec::GetChannelInfo(), SourceUtil::GetChannelSeparator(), ChannelUtil::GetChannelsInternal(), ChannelUtil::GetChannelStringField(), ChannelUtil::GetChannelValueStr(), CardUtil::GetCloneCardIDs(), CardUtil::GetConfiguredDVBInputs(), ChannelUtil::GetConflicting(), PlayGroup::GetCount(), UPnpCDSExtension::GetCount(), HTTPLiveStream::GetDBStatus(), ChannelImporter::GetDBTransports(), ChannelUtil::GetDefaultAuthority(), RecordingRule::GetDefaultFilter(), CardUtil::GetDeviceLabel(), TVRec::GetDevices(), MusicFileScanner::GetDirectoryId(), MusicMetadata::getDirectoryId(), CardUtil::GetDisplayName(), UPnpCDSVideo::GetDistinctCount(), UPnpCDSExtension::GetDistinctCount(), NativeArchive::getFieldList(), CardUtil::GetFirewireChangerModel(), CardUtil::GetFirewireChangerNode(), V4LChannel::GetFormatForChannel(), MusicMetadata::getGenreId(), 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(), ChannelUtil::GetIPTVTuningData(), JobQueue::GetJobArgs(), JobQueue::GetJobCmd(), JobQueue::GetJobFlags(), JobQueue::GetJobID(), JobQueue::GetJobInfoFromID(), JobQueue::GetJobsInQueue(), JobQueue::GetJobStatus(), MythMainWindow::GetKey(), Myth::GetKeys(), SourceUtil::GetListingsLoginData(), HTTPLiveStream::GetLiveStreamInfoList(), CardUtil::GetLiveTVCardList(), Myth::GetLogs(), ChannelUtil::GetMplexID(), SourceUtil::GetMplexIDs(), Content::GetMusic(), GetMythXMLURL(), ProfileGroup::getName(), RecordingProfile::getName(), PlayGroup::GetNames(), TVRec::GetNextProgram(), DBEvent::GetOverlappingPrograms(), DBPerson::GetPersonDB(), VideoDisplayProfile::GetProfileGroupID(), RecordingProfile::GetProfiles(), VideoDisplayProfile::GetProfiles(), CardUtil::GetQuickTuning(), ProgDetails::getRatings(), RecordingInfo::GetRecgroupID(), Dvr::GetRecGroupList(), RecordingInfo::GetRecgroupString(), StorageGroup::getRecordingsGroups(), Dvr::GetRecRuleFilterList(), StorageGroup::GetRelativePathname(), RomInfo::GetRomInfoById(), ThumbItem::GetRotationAngle(), getRSSArticles(), ChannelUtil::GetServiceVersion(), PlayGroup::GetSetting(), LogViewer::getSetting(), Myth::GetSetting(), MythDB::GetSettings(), GetSettingsMap(), ProgFinder::getShowNames(), RemoteEncoder::GetSignalLockTimeout(), GetSiteList(), getSmartPlaylistCategories(), getSmartPlaylists(), getSmartPlaylistTracks(), ChannelUtil::GetSourceID(), CardUtil::GetSourceID(), ChannelUtil::GetSourceIDForChannel(), SourceUtil::GetSourceName(), TVRec::GetStartChannel(), CardUtil::GetStartingChannel(), CardUtil::GetStartInput(), Myth::GetStorageGroupDirs(), DBUtil::GetTables(), RecordingRule::GetTemplateNames(), CardUtil::GetTimeouts(), Dvr::GetTitleInfoList(), Dvr::GetTitleList(), 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(), FileServerHandler::HandleQueryFileHash(), MainServer::HandleQueryFileHash(), MainServer::HandleScanMusic(), TV::HandleStateChange(), HardwareProfile::HardwareProfile(), SourceUtil::HasDigitalChannel(), 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(), IsMarked(), isTreeInUse(), CardUtil::IsTunerShared(), ProgramData::IsUnchanged(), lastUpdate(), CardUtil::LinkInputGroup(), NetworkControl::listChannels(), NetworkControl::listRecordings(), NetworkControl::listSchedule(), StorageGroupEditor::Load(), MultiplexSetting::Load(), ChannelGroupStorage::Load(), PlaylistContainer::load(), ChannelInfo::Load(), RecordingRule::Load(), DiSEqCDevSettings::Load(), InputSelector::Load(), StorageGroupListEditor::Load(), SimpleDBStorage::Load(), StoreOptMixin::Load(), VideoSourceSelector::Load(), DiSEqCDevTree::Load(), TransFreqTableSelector::Load(), DiSEqCDevSwitch::Load(), SchedFilterEditor::Load(), DiSEqCDevRotor::Load(), DiSEqCDevSCR::Load(), DiSEqCDevLNB::Load(), CardInputEditor::Load(), InputGroup::Load(), load_markup_datum(), VideoMetadataListManager::loadAllFromDatabase(), RecordingProfile::loadByGroup(), RecordingProfile::loadByID(), CardInput::loadByInput(), RecordingRule::LoadBySearch(), RecordingProfile::loadByType(), ChannelInfo::LoadCardIds(), EITCache::LoadChannel(), MHIContext::LoadChannelCache(), CustomEdit::loadClauses(), MythBurn::loadConfiguration(), KeyBindings::LoadContexts(), CustomPriority::loadData(), CustomEdit::loadData(), ScreenSetup::loadData(), SourceSetup::loadData(), VideoDisplayProfile::LoadDB(), GalleryDatabaseHelper::LoadDirectories(), ImageUtils::LoadDirectoriesFromDB(), GalleryDatabaseHelper::LoadDirectoryThumbnailValues(), ImageUtils::LoadDirectoryThumbnailValues(), ImageUtils::LoadFileFromDB(), GalleryDatabaseHelper::LoadFiles(), ImageUtils::LoadFilesFromDB(), loadFromDatabase(), HTTPLiveStream::LoadFromDB(), LoadFromOldRecorded(), LoadFromProgram(), LoadFromRecorded(), ChannelInfo::LoadGroupIds(), KeyBindings::LoadJumppoints(), ProgDetails::loadPage(), GalleryDatabaseHelper::LoadParentDirectory(), Playlist::loadPlaylist(), Playlist::loadPlaylistByID(), ProgramInfo::LoadProgramFromRecorded(), LoadScan(), LoadScanList(), MythNews::loadSites(), AllStream::loadStreams(), RecordingRule::LoadTemplate(), FileServerHandler::LocalFilePath(), MainServer::LocalFilePath(), lock_channel(), main(), ProgramInfo::MarkAsInUse(), MusicFileScanner::MusicFileScanner(), no_capturecards(), ProfileGroupEditor::open(), RecordingProfileEditor::open(), OverTimeCategory(), WeatherSource::ProbeScript(), UPnpCDSExtension::ProcessContainer(), UPnpCDSExtension::ProcessItem(), UPnpCDSExtension::ProcessKey(), ProgLister::ProgLister(), program_exists(), ProgramInfo::ProgramInfo(), Scheduler::PutInactiveSlavesToSleep(), Q_DECLARE_METATYPE(), ProgramInfo::QueryAutoExpire(), ProgramInfo::QueryAverageAspectRatio(), ProgramInfo::QueryBasename(), ProgramInfo::QueryBookmarkTimeStamp(), ProgramInfo::QueryCategoryType(), DBUtil::QueryDBMSVersion(), ProgramInfo::QueryDVDBookmark(), ProgramInfo::QueryFilesize(), FileServerHandler::QueryFileSystems(), ProgramInfo::QueryInputDisplayName(), ProgramInfo::QueryInUseMap(), ProgramInfo::QueryIsEditing(), ProgramInfo::QueryIsInUse(), ProgramInfo::QueryJobsRunning(), ProgramInfo::QueryKeyFromPathname(), HouseKeeperTask::QueryLast(), ProgramInfo::QueryMarkup(), 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(), runHomepage(), SimpleDBStorage::Save(), AutoIncrementDBSetting::Save(), ScreenSetup::saveData(), VideoDisplayProfile::SaveDB(), ProgramInfo::SaveMarkupMap(), SaveScan(), ScanDTVTransport::SaveScan(), VideoMetadataImp::saveToDatabase(), MusicFileScanner::ScanArtwork(), MusicFileScanner::ScanMusic(), ProgramRecPriority::scheduleChanged(), set_lineup_type(), SmartPLResultViewer::setSQL(), Weather::SetupScreens(), SourceManager::setupSources(), setupTVs(), TVRec::ShouldSwitchToAnotherCard(), PlaybackBox::showGroupFilter(), PlaybackBox::ShowRecGroupChanger(), ChannelOptionsCommon::sourceChanged(), HouseKeeper::Start(), 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(), updateMatches(), Scheduler::UpdateNextRecord(), GameHandler::updateSettings(), SearchView::updateTracksList(), PlaybackBox::UpdateUILists(), Scheduler::VerifyCards(), GameHandler::VerifyGameDB(), and WaitToDelete().

bool MSqlQuery::previous ( void  )

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

Definition at line 770 of file mythdbcon.cpp.

bool MSqlQuery::first ( void  )
bool MSqlQuery::last ( void  )

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

Definition at line 780 of file mythdbcon.cpp.

Referenced by Guide::GetProgramGuide().

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

Wrap QSqlQuery::seek(int,bool)

Definition at line 785 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 696 of file mythdbcon.cpp.

bool MSqlQuery::prepare ( const QString &  query)

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

Definition at line 790 of file mythdbcon.cpp.

Referenced by SingleValueImp::add(), MultiValueImp::add(), FileAssociationsImp::add(), ChannelGroup::AddChannel(), MusicFileScanner::AddFileToDB(), AddFileType(), RecordingInfo::AddHistory(), UPnpCDSTv::AddItem(), Scheduler::AddNewRecords(), Scheduler::AddNotListed(), Myth::AddStorageGroupDir(), HTTPLiveStream::AddStream(), AllStream::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(), UPnpCDSMusic::BuildItemQuery(), UPnpCDSTv::BuildItemQuery(), UPnpCDSVideo::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(), ChannelScanSM::ChannelScanSM(), StorageGroup::CheckAllStorageGroupDirs(), ImportIconsWizard::checkAndDownload(), ChannelBase::CheckChannel(), TVRec::CheckChannelPrefix(), checkChannelPresets(), checkImageStoragePaths(), ProgramInfo::CheckProgramIDAuthorities(), HTTPLiveStream::CheckStop(), checkStoragePaths(), CustomPriority::checkSyntax(), CustomEdit::checkSyntax(), DBUtil::CheckTimeZoneSupport(), MusicFileScanner::cleanDB(), CleanupTask::CleanupInUsePrograms(), CleanupMyOldInUsePrograms(), JobQueue::CleanupOldJobsInQueue(), CleanupTask::CleanupOldRecordings(), CleanupTask::CleanupOrphanedLiveTV(), CleanupTask::CleanupProgramListings(), CleanupTask::CleanupRecordedTables(), clearAllKeys(), clearArchiveTable(), EITCache::ClearChannelLocks(), GalleryDatabaseHelper::ClearDatabase(), 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(), Scheduler::CreateConflictLists(), MusicMetadata::createFromFilename(), MusicMetadata::createFromID(), CardUtil::CreateInputGroup(), UPnpCDSExtension::CreateItems(), CardInput::CreateNewInputGroup(), VideoDisplayProfile::CreateProfile(), VideoDisplayProfile::CreateProfileGroup(), StoreOptMixin::CreateRecordingGroup(), SourceUtil::CreateSource(), Scheduler::CreateTempTables(), PlaybackBox::createTranscodingProfilesMenu(), ChannelEditor::customEvent(), StatusBox::customEvent(), DataDirectProcessor::DataDirectProgramUpdate(), ProgramRecPriority::deactivate(), commDetector2::debugDirectory(), MythGamePlayerEditor::del(), RecordingRule::Delete(), GalleryUtil::Delete(), TransportListEditor::Delete(), delete_in_db(), delete_program(), JobQueue::DeleteAllJobs(), CardUtil::DeleteCard(), deleteCategory(), ChannelGroup::DeleteChannel(), ChannelUtil::DeleteChannel(), CustomPriority::deleteClicked(), PhrasePopup::deleteClicked(), PowerSearchPopup::deleteClicked(), VideoDisplayProfile::DeleteDB(), Ripper::deleteExistingTrack(), RomInfo::DeleteFromDatabase(), VideoMetadataImp::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(), Scheduler::DeleteTempTables(), ChannelImporter::DeleteUnusedTransports(), LiveTVChain::DestroyChain(), DisplayRecGroup(), StorageGroupEditor::doDelete(), PlayGroupEditor::doDelete(), ChannelGroupEditor::doDelete(), StorageGroupListEditor::doDelete(), MainServer::DoDeleteInDB(), StatusBox::doListingsStatus(), StatusBox::doLogEntries(), LogCleanerTask::DoRun(), GameScanner::doScanAll(), StatusBox::doScheduleStatus(), JobQueue::DoTranscodeThread(), StatusBox::doTunerStatus(), doUpgradeMusicDatabaseSchema(), doUpgradeTVDatabaseSchema(), doUpgradeVideoDatabaseSchema(), MusicMetadata::dumpToDatabase(), AlbumArtImages::dumpToDatabase(), CaptureCardEditor::edit(), DDStructureParser::endElement(), DiSEqCDevTree::Exists(), ExpertSettingsEditor::ExpertSettingsEditor(), AutoExpire::ExpireEpisodesOverMax(), AutoExpire::ExpireRecordings(), NativeArchive::exportRecording(), NativeArchive::exportVideo(), extractDetailsFromFilename(), FillCastMemberList(), RomInfo::fillData(), AutoExpire::FillDBOrdered(), MusicMetadata::fillFieldList(), DTVMultiplex::FillFromDB(), ScanDTVTransport::FillFromDB(), ProgLister::FillItemList(), ChannelEditor::fillList(), ChannelRecPriority::FillList(), ProgramRecPriority::FillList(), PlaybackBox::fillRecGroupPasswordCache(), Scheduler::FillRecordingDir(), Scheduler::FillRecordListFromDB(), TransportList::fillSelections(), MythGamePlayerSettings::fillSelections(), Source::fillSelections(), ProfileGroup::fillSelections(), RecordingProfile::fillSelections(), VideoSource::fillSelections(), ChannelSetting::fillSelections(), CaptureCard::fillSelections(), Playlist::fillSonglistFromSmartPlaylist(), HttpStatus::FillStatusXML(), ProgLister::FillViewList(), findAllDBRSS(), findAllDBRSSByType(), findAllDBSearchGrabbers(), findAllDBTreeGrabbers(), findAllDBTreeGrabbersByHost(), findByURL(), ChannelUtil::FindChannel(), ImportNative::findChannelMatch(), StorageGroup::FindDirs(), RemoteFile::FindFile(), ChannelID::findHighest(), AlbumArtImages::findImages(), FindInDB(), findInDB(), SourceManager::findScripts(), SourceManager::findScriptsDB(), findSearchGrabberByCommand(), findSearchGrabberInDB(), findTreeGrabberByCommand(), findTreeGrabberInDB(), LiveTVChain::FinishedRecording(), RecordingInfo::FinishedRecording(), FlagCommercials(), RecordingInfo::ForgetHistory(), FromProgramQuery(), get_atsc_stuff(), get_cardtype(), get_cardtypes(), get_chan_id_from_db_atsc(), get_chan_id_from_db_dtv(), get_chan_id_from_db_dvb(), get_dtv_multiplex(), get_input_id(), get_max_chanid(), get_on_cardid(), get_on_inputid(), get_use_eit(), get_valid_recorder_list(), StatusBox::getActualRecordedBPS(), MusicMetadata::getAlbumId(), CardUtil::GetAllInputIDs(), CardUtil::GetAllInputInfo(), RomInfo::GetAllRomInfo(), Scheduler::GetAllScheduled(), ExportNative::getArchiveListFromDB(), MusicMetadata::getArtistId(), VideoMetaDataUtil::GetArtPath(), GetArtwork(), ChannelUtil::GetATSCChannel(), ChannelUtil::GetBetterMplexID(), ChannelUtil::GetCachedPids(), Capture::GetCaptureCard(), Capture::GetCaptureCardList(), CardUtil::GetCardIDs(), CardUtil::GetCardInputID(), CardUtil::GetCardList(), CardUtil::GetCardTypes(), ChannelUtil::GetCardTypes(), GetCategoryList(), ChannelBase::GetChanID(), DVBChannel::GetChanID(), ChannelUtil::GetChanID(), SourceUtil::GetChannelCount(), ChannelUtil::GetChannelCount(), ChannelUtil::GetChannelData(), ChannelGroup::GetChannelGroupId(), ChannelGroup::GetChannelGroupName(), MHIContext::GetChannelIndex(), TVRec::GetChannelInfo(), SourceUtil::GetChannelSeparator(), ChannelUtil::GetChannelsInternal(), ChannelUtil::GetChannelStringField(), ChannelUtil::GetChannelValueStr(), CardUtil::GetCloneCardIDs(), CardUtil::GetConfiguredDVBInputs(), ChannelUtil::GetConflicting(), PlayGroup::GetCount(), UPnpCDSExtension::GetCount(), HTTPLiveStream::GetDBStatus(), ChannelImporter::GetDBTransports(), ChannelUtil::GetDefaultAuthority(), RecordingRule::GetDefaultFilter(), CardUtil::GetDeviceLabel(), TVRec::GetDevices(), MusicFileScanner::GetDirectoryId(), MusicMetadata::getDirectoryId(), CardUtil::GetDisplayName(), UPnpCDSVideo::GetDistinctCount(), UPnpCDSExtension::GetDistinctCount(), CardUtil::GetFirewireChangerModel(), CardUtil::GetFirewireChangerNode(), V4LChannel::GetFormatForChannel(), MusicMetadata::getGenreId(), 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(), ChannelUtil::GetIPTVTuningData(), JobQueue::GetJobArgs(), JobQueue::GetJobCmd(), JobQueue::GetJobFlags(), JobQueue::GetJobID(), JobQueue::GetJobInfoFromID(), JobQueue::GetJobsInQueue(), JobQueue::GetJobStatus(), MythMainWindow::GetKey(), Myth::GetKeys(), SourceUtil::GetListingsLoginData(), HTTPLiveStream::GetLiveStreamInfoList(), CardUtil::GetLiveTVCardList(), Myth::GetLogs(), ChannelUtil::GetMplexID(), SourceUtil::GetMplexIDs(), Content::GetMusic(), GetMythXMLURL(), ProfileGroup::getName(), RecordingProfile::getName(), PlayGroup::GetNames(), TVRec::GetNextProgram(), DBEvent::GetOverlappingPrograms(), DBPerson::GetPersonDB(), VideoDisplayProfile::GetProfileGroupID(), RecordingProfile::GetProfiles(), VideoDisplayProfile::GetProfiles(), Guide::GetProgramGuide(), CardUtil::GetQuickTuning(), ProgDetails::getRatings(), RecordingInfo::GetRecgroupID(), Dvr::GetRecGroupList(), RecordingInfo::GetRecgroupString(), StorageGroup::getRecordingsGroups(), Dvr::GetRecRuleFilterList(), StorageGroup::GetRelativePathname(), RomInfo::GetRomInfoById(), ThumbItem::GetRotationAngle(), getRSSArticles(), ChannelUtil::GetServiceVersion(), PlayGroup::GetSetting(), LogViewer::getSetting(), Myth::GetSetting(), ProgFinder::getShowNames(), RemoteEncoder::GetSignalLockTimeout(), getSmartPlaylists(), getSmartPlaylistTracks(), ChannelUtil::GetSourceID(), CardUtil::GetSourceID(), ChannelUtil::GetSourceIDForChannel(), SourceUtil::GetSourceName(), TVRec::GetStartChannel(), CardUtil::GetStartingChannel(), CardUtil::GetStartInput(), Myth::GetStorageGroupDirs(), RecordingRule::GetTemplateNames(), CardUtil::GetTimeouts(), Dvr::GetTitleInfoList(), Dvr::GetTitleList(), 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(), ExportNative::handleAddVideo(), MythBurn::handleAddVideo(), ChannelData::handleChannels(), MainServer::HandleGetPendingRecordings(), MainServer::HandleLockTuner(), ProgramData::HandlePrograms(), FileServerHandler::HandleQueryFileHash(), MainServer::HandleQueryFileHash(), Scheduler::HandleReschedule(), TV::HandleStateChange(), HardwareProfile::HardwareProfile(), SourceUtil::HasDigitalChannel(), NativeArchive::importRecording(), NativeArchive::importVideo(), ChannelBase::InitializeInputs(), InitializeMythSchema(), ImportIconsWizard::initialLoad(), EditPowerSearchPopup::initLists(), GameHandler::InitMetaDataMap(), insert_dtv_multiplex(), DBPerson::InsertCreditsDB(), DBEvent::InsertDB(), ProgInfo::InsertDB(), GalleryDatabaseHelper::InsertDirectory(), ImageUtils::InsertDirectoryIntoDB(), GalleryDatabaseHelper::InsertFile(), ImageUtils::InsertFileIntoDB(), 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(), IsMarked(), isNewTune(), isTreeInUse(), CardUtil::IsTunerShared(), ProgramData::IsUnchanged(), RecordingRule::IsValid(), lastUpdate(), CardUtil::LinkInputGroup(), NetworkControl::listChannels(), NetworkControl::listRecordings(), NetworkControl::listSchedule(), StorageGroupEditor::Load(), MultiplexSetting::Load(), ChannelGroupStorage::Load(), PlaylistContainer::load(), ChannelInfo::Load(), RecordingRule::Load(), InputSelector::Load(), DiSEqCDevSettings::Load(), StorageGroupListEditor::Load(), SimpleDBStorage::Load(), StoreOptMixin::Load(), VideoSourceSelector::Load(), DiSEqCDevTree::Load(), TransFreqTableSelector::Load(), DiSEqCDevSwitch::Load(), SchedFilterEditor::Load(), DiSEqCDevRotor::Load(), DiSEqCDevSCR::Load(), DiSEqCDevLNB::Load(), CardInputEditor::Load(), InputGroup::Load(), load_markup_datum(), VideoMetadataListManager::loadAllFromDatabase(), RecordingProfile::loadByGroup(), RecordingProfile::loadByID(), CardInput::loadByInput(), RecordingRule::LoadBySearch(), RecordingProfile::loadByType(), ChannelInfo::LoadCardIds(), EITCache::LoadChannel(), MHIContext::LoadChannelCache(), CustomEdit::loadClauses(), MythBurn::loadConfiguration(), KeyBindings::LoadContexts(), CustomPriority::loadData(), CustomEdit::loadData(), ScreenSetup::loadData(), SourceSetup::loadData(), VideoDisplayProfile::LoadDB(), GalleryDatabaseHelper::LoadDirectories(), ImageUtils::LoadDirectoriesFromDB(), GalleryDatabaseHelper::LoadDirectoryThumbnailValues(), ImageUtils::LoadDirectoryThumbnailValues(), ImageUtils::LoadFileFromDB(), GalleryDatabaseHelper::LoadFiles(), ImageUtils::LoadFilesFromDB(), loadFromDatabase(), HTTPLiveStream::LoadFromDB(), LoadFromOldRecorded(), LoadFromRecorded(), ChannelInfo::LoadGroupIds(), KeyBindings::LoadJumppoints(), ProgDetails::loadPage(), GalleryDatabaseHelper::LoadParentDirectory(), Playlist::loadPlaylist(), Playlist::loadPlaylistByID(), ProgramInfo::LoadProgramFromRecorded(), LoadScan(), LoadScanList(), MythNews::loadSites(), RecordingRule::LoadTemplate(), FileServerHandler::LocalFilePath(), MainServer::LocalFilePath(), lock_channel(), lockShutdown(), lookupCategoryID(), main(), ProgramInfo::MarkAsInUse(), ScanInfo::MarkProcessed(), markTreeUpdated(), markUpdated(), GalleryUtil::Move(), MusicFileScanner::MusicFileScanner(), needsMFDBReminder(), newCategory(), no_capturecards(), Scheduler::OldRecordedFixups(), StorageGroupEditor::open(), PlayGroupEditor::open(), ChannelGroupEditor::open(), ProfileGroupEditor::open(), RecordingProfileEditor::open(), OverTimeCategory(), MusicMetadata::persist(), DatabaseLogger::prepare(), WeatherSource::ProbeScript(), UPnpCDSExtension::ProcessContainer(), WeatherSource::processExit(), UPnpCDSExtension::ProcessKey(), ProgLister::ProgLister(), program_exists(), ProgramInfo::ProgramInfo(), purgeGameDB(), Scheduler::PutInactiveSlavesToSleep(), Q_DECLARE_METATYPE(), ProgramInfo::QueryAutoExpire(), ProgramInfo::QueryAverageAspectRatio(), ProgramInfo::QueryBasename(), ProgramInfo::QueryBookmarkTimeStamp(), ProgramInfo::QueryCategoryType(), DBUtil::QueryDBMSVersion(), ProgramInfo::QueryDVDBookmark(), ProgramInfo::QueryFilesize(), FileServerHandler::QueryFileSystems(), ProgramInfo::QueryInputDisplayName(), ProgramInfo::QueryInUseMap(), ProgramInfo::QueryIsEditing(), ProgramInfo::QueryIsInUse(), ProgramInfo::QueryJobsRunning(), ProgramInfo::QueryKeyFromPathname(), HouseKeeperTask::QueryLast(), ProgramInfo::QueryMarkup(), 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(), SingleValueImp::remove(), MultiValueImp::remove(), FileAssociationsImp::remove(), GalleryDatabaseHelper::RemoveDirectory(), ImageUtils::RemoveDirectoryFromDB(), GalleryDatabaseHelper::RemoveFile(), ImageUtils::RemoveFileFromDB(), MusicFileScanner::RemoveFileFromDB(), RemoveFromDB(), removeFromDB(), removeGrabberFromDB(), ExportNative::removeItem(), Myth::RemoveStorageGroupDir(), HTTPLiveStream::RemoveStream(), GalleryUtil::Rename(), renameCategory(), GalleryUtil::RenameDirectory(), replace_in_db(), Scheduler::ResetDuplicates(), ResetHomepageFromDB(), romInDB(), FillData::Run(), ChannelID::Save(), RecordingRule::Save(), SimpleDBStorage::Save(), TransFreqTableSelector::Save(), XMLTVConfig::Save(), CardInput::Save(), ProgramInfo::SaveAspect(), ProgramInfo::SaveAutoExpire(), ProgramInfo::SaveBasename(), ProgramInfo::SaveBookmark(), ChannelUtil::SaveCachedPids(), ProgramInfo::SaveCommFlagged(), ExportNative::saveConfiguration(), MythBurn::saveConfiguration(), ProgramInfo::SaveCutList(), ScreenSetup::saveData(), SourceSetup::saveData(), VideoDisplayProfile::SaveDB(), ProgramInfo::SaveDeletePendingFlag(), ProgramInfo::SaveDVDBookmark(), ProgramInfo::SaveEditing(), ProgramInfo::SaveFilesize(), ProgramInfo::SaveFrameRate(), MusicMetadata::saveHostname(), ProgramInfo::SaveInetRef(), ProgramInfo::SaveMarkup(), ProgramInfo::SaveMarkupMap(), Playlist::savePlaylist(), ProgramInfo::SavePositionMap(), ProgramInfo::SavePositionMapDelta(), ProgramInfo::SavePreserve(), ProgramInfo::SaveResolution(), SaveScan(), ScanDTVTransport::SaveScan(), ChannelInsertInfo::SaveScan(), ProgramInfo::SaveSeasonEpisode(), HTTPLiveStream::SaveSegmentInfo(), MythDB::SaveSettingOnHost(), SmartPLCriteriaRow::saveToDatabase(), RomInfo::SaveToDatabase(), VideoMetadataImp::saveToDatabase(), ProgramInfo::SaveTotalDuration(), ProgramInfo::SaveTotalFrames(), ProgramInfo::SaveTranscodeStatus(), ProgramInfo::SaveVideoProperties(), ProgramInfo::SaveWatched(), MusicFileScanner::ScanArtwork(), MusicFileScanner::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(), CardUtil::SetStartChannel(), Weather::SetupScreens(), SourceManager::setupSources(), setupTVs(), ChannelUtil::SetVisible(), TVRec::ShouldSwitchToAnotherCard(), PlaybackBox::showGroupFilter(), PlaybackBox::ShowRecGroupChanger(), GeneralSettings::slotDoResetDB(), MythNews::slotNewsRetrieved(), ChannelOptionsCommon::sourceChanged(), HouseKeeper::Start(), EITScanner::StartActiveScan(), RecordingInfo::StartedRecording(), WeatherSource::startUpdate(), HTTPLiveStream::StopStream(), DiSEqCDevSettings::Store(), DiSEqCDevTree::Store(), DiSEqCDevSwitch::Store(), DiSEqCDevRotor::Store(), DiSEqCDevSCR::Store(), DiSEqCDevLNB::Store(), CustomEdit::storeClicked(), ChannelBase::StoreInputChannels(), CustomEdit::storeRule(), DatabaseLogger::tableExists(), CustomPriority::testSchedule(), ChannelGroup::ToggleChannel(), MainServer::TruncateAndClose(), DBUtil::TryLockSchema(), CardUtil::UnlinkInputGroup(), unlock_channel(), DBUtil::UnlockSchema(), unlockShutdown(), update_channel_basic(), ChannelUtil::UpdateChannel(), DataDirectProcessor::UpdateChannelsSafe(), DataDirectProcessor::UpdateChannelsUnsafe(), DBEvent::UpdateDB(), UpdateDBVersionNumber(), GalleryDatabaseHelper::UpdateDirectory(), ImageUtils::UpdateDirectoryInDB(), updateDiskCount(), updateDisplayRom(), AutoExpire::UpdateDontExpireSet(), Scheduler::UpdateDuplicates(), GalleryDatabaseHelper::UpdateFile(), ImageUtils::UpdateFileInDB(), UpdateGameCounts(), GameHandler::UpdateGameDB(), updateGameName(), VideoMetadata::UpdateHashedDBRecord(), UpdateHashes(), UpdateHomepageInDB(), ChannelUtil::UpdateInsertInfoFromDB(), ChannelUtil::UpdateIPTVTuningData(), ProgLister::UpdateKeywordInDB(), ProgramInfo::UpdateLastDelete(), HouseKeeperTask::UpdateLastRun(), DataDirectProcessor::UpdateListings(), Scheduler::UpdateManuals(), Scheduler::UpdateMatches(), Scheduler::UpdateNextRecord(), HTTPLiveStream::UpdatePercentComplete(), DataDirectProcessor::UpdateProgramViewTable(), RecordingInfo::UpdateRecordingEnd(), GameHandler::updateSettings(), HTTPLiveStream::UpdateSizeInfo(), SourceUtil::UpdateSource(), DataDirectProcessor::UpdateStationViewTable(), HTTPLiveStream::UpdateStatus(), HTTPLiveStream::UpdateStatusMessage(), SearchView::updateTracksList(), PlaybackBox::UpdateUILists(), RecordingRule::UseTempTable(), Scheduler::VerifyCards(), GameHandler::VerifyGameDB(), and WaitToDelete().

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

Definition at line 857 of file mythdbcon.cpp.

Referenced by SingleValueImp::add(), MultiValueImp::add(), FileAssociationsImp::add(), ChannelGroup::AddChannel(), MusicFileScanner::AddFileToDB(), AddFileType(), RecordingInfo::AddHistory(), UPnpCDSTv::AddItem(), Scheduler::AddNewRecords(), Myth::AddStorageGroupDir(), HTTPLiveStream::AddStream(), AllStream::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(), UPnpCDSMusic::BuildItemQuery(), UPnpCDSTv::BuildItemQuery(), UPnpCDSVideo::BuildItemQuery(), VideoSourceEditor::cardTypesInclude(), change_program(), JobQueue::ChangeJobArgs(), JobQueue::ChangeJobCmds(), JobQueue::ChangeJobComment(), JobQueue::ChangeJobFlags(), JobQueue::ChangeJobHost(), JobQueue::ChangeJobStatus(), chanid_available(), ChannelScanSM::ChannelScanSM(), StorageGroup::CheckAllStorageGroupDirs(), ImportIconsWizard::checkAndDownload(), ChannelBase::CheckChannel(), checkImageStoragePaths(), HTTPLiveStream::CheckStop(), checkStoragePaths(), MusicFileScanner::cleanDB(), CleanupTask::CleanupInUsePrograms(), CleanupMyOldInUsePrograms(), JobQueue::CleanupOldJobsInQueue(), CleanupTask::CleanupOldRecordings(), CleanupTask::CleanupOrphanedLiveTV(), CleanupTask::CleanupProgramListings(), CleanupTask::CleanupRecordedTables(), clearAllKeys(), EITCache::ClearChannelLocks(), ProgramData::ClearDataByChannel(), 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(), MusicMetadata::createFromFilename(), MusicMetadata::createFromID(), CardUtil::CreateInputGroup(), UPnpCDSExtension::CreateItems(), CardInput::CreateNewInputGroup(), VideoDisplayProfile::CreateProfile(), VideoDisplayProfile::CreateProfileGroup(), StoreOptMixin::CreateRecordingGroup(), SourceUtil::CreateSource(), ChannelEditor::customEvent(), StatusBox::customEvent(), DataDirectProcessor::DataDirectProgramUpdate(), ProgramRecPriority::deactivate(), commDetector2::debugDirectory(), MythGamePlayerEditor::del(), RecordingRule::Delete(), GalleryUtil::Delete(), TransportListEditor::Delete(), delete_in_db(), delete_program(), JobQueue::DeleteAllJobs(), CardUtil::DeleteCard(), deleteCategory(), ChannelGroup::DeleteChannel(), ChannelUtil::DeleteChannel(), CustomPriority::deleteClicked(), PhrasePopup::deleteClicked(), PowerSearchPopup::deleteClicked(), VideoDisplayProfile::DeleteDB(), Ripper::deleteExistingTrack(), RomInfo::DeleteFromDatabase(), VideoMetadataImp::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(), StorageGroupEditor::doDelete(), PlayGroupEditor::doDelete(), ChannelGroupEditor::doDelete(), StorageGroupListEditor::doDelete(), MainServer::DoDeleteInDB(), StatusBox::doLogEntries(), LogCleanerTask::DoRun(), StatusBox::doScheduleStatus(), JobQueue::DoTranscodeThread(), doUpgradeMusicDatabaseSchema(), doUpgradeTVDatabaseSchema(), doUpgradeVideoDatabaseSchema(), MusicMetadata::dumpToDatabase(), AlbumArtImages::dumpToDatabase(), CaptureCardEditor::edit(), DDStructureParser::endElement(), DiSEqCDevTree::Exists(), ExpertSettingsEditor::ExpertSettingsEditor(), AutoExpire::ExpireEpisodesOverMax(), NativeArchive::exportRecording(), NativeArchive::exportVideo(), extractDetailsFromFilename(), FillCastMemberList(), RomInfo::fillData(), DTVMultiplex::FillFromDB(), ScanDTVTransport::FillFromDB(), ProgLister::FillItemList(), Scheduler::FillRecordingDir(), TransportList::fillSelections(), RecordingProfile::fillSelections(), CaptureCard::fillSelections(), Playlist::fillSonglistFromSmartPlaylist(), HttpStatus::FillStatusXML(), ProgLister::FillViewList(), findAllDBRSSByType(), findAllDBSearchGrabbers(), findAllDBTreeGrabbersByHost(), findByURL(), ChannelUtil::FindChannel(), ImportNative::findChannelMatch(), StorageGroup::FindDirs(), RemoteFile::FindFile(), AlbumArtImages::findImages(), FindInDB(), findInDB(), SourceManager::findScripts(), SourceManager::findScriptsDB(), findSearchGrabberByCommand(), findSearchGrabberInDB(), findTreeGrabberByCommand(), findTreeGrabberInDB(), LiveTVChain::FinishedRecording(), RecordingInfo::FinishedRecording(), FlagCommercials(), RecordingInfo::ForgetHistory(), FromProgramQuery(), get_atsc_stuff(), get_cardtype(), get_cardtypes(), get_chan_id_from_db_atsc(), get_chan_id_from_db_dtv(), get_chan_id_from_db_dvb(), get_dtv_multiplex(), get_input_id(), get_max_chanid(), get_on_cardid(), get_on_inputid(), get_use_eit(), get_valid_recorder_list(), MusicMetadata::getAlbumId(), MusicMetadata::getArtistId(), VideoMetaDataUtil::GetArtPath(), GetArtwork(), ChannelUtil::GetATSCChannel(), Capture::GetCaptureCard(), Capture::GetCaptureCardList(), CardUtil::GetCardIDs(), CardUtil::GetCardInputID(), ChannelUtil::GetCardTypes(), ChannelBase::GetChanID(), DVBChannel::GetChanID(), ChannelUtil::GetChanID(), 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(), MusicFileScanner::GetDirectoryId(), MusicMetadata::getDirectoryId(), CardUtil::GetDisplayName(), CardUtil::GetFirewireChangerModel(), CardUtil::GetFirewireChangerNode(), V4LChannel::GetFormatForChannel(), MusicMetadata::getGenreId(), getGlobalSetting(), CardUtil::GetGroupCardIDs(), StorageGroup::getGroupDirs(), ChannelUtil::GetIcon(), PlayGroup::GetInitialName(), CardUtil::GetInputGroups(), ChannelUtil::GetInputID(), CardUtil::GetInputID(), CardUtil::GetInputIDs(), CardUtil::GetInputInfo(), CardUtil::GetInputNames(), ChannelUtil::GetIPTVTuningData(), JobQueue::GetJobArgs(), JobQueue::GetJobCmd(), JobQueue::GetJobFlags(), JobQueue::GetJobID(), JobQueue::GetJobInfoFromID(), JobQueue::GetJobStatus(), MythMainWindow::GetKey(), SourceUtil::GetListingsLoginData(), HTTPLiveStream::GetLiveStreamInfoList(), Myth::GetLogs(), ChannelUtil::GetMplexID(), SourceUtil::GetMplexIDs(), Content::GetMusic(), GetMythXMLURL(), RecordingProfile::getName(), TVRec::GetNextProgram(), DBEvent::GetOverlappingPrograms(), DBPerson::GetPersonDB(), VideoDisplayProfile::GetProfileGroupID(), RecordingProfile::GetProfiles(), VideoDisplayProfile::GetProfiles(), Guide::GetProgramGuide(), CardUtil::GetQuickTuning(), ProgDetails::getRatings(), RecordingInfo::GetRecgroupID(), RecordingInfo::GetRecgroupString(), RomInfo::GetRomInfoById(), ThumbItem::GetRotationAngle(), getRSSArticles(), PlayGroup::GetSetting(), LogViewer::getSetting(), Myth::GetSetting(), RemoteEncoder::GetSignalLockTimeout(), getSmartPlaylists(), getSmartPlaylistTracks(), CardUtil::GetSourceID(), ChannelUtil::GetSourceIDForChannel(), SourceUtil::GetSourceName(), TVRec::GetStartChannel(), CardUtil::GetStartingChannel(), CardUtil::GetStartInput(), Myth::GetStorageGroupDirs(), RecordingRule::GetTemplateNames(), CardUtil::GetTimeouts(), Dvr::GetTitleList(), 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(), FileServerHandler::HandleQueryFileHash(), MainServer::HandleQueryFileHash(), TV::HandleStateChange(), HardwareProfile::HardwareProfile(), SourceUtil::HasDigitalChannel(), NativeArchive::importRecording(), NativeArchive::importVideo(), ChannelBase::InitializeInputs(), GameHandler::InitMetaDataMap(), insert_dtv_multiplex(), DBPerson::InsertCreditsDB(), DBEvent::InsertDB(), ProgInfo::InsertDB(), GalleryDatabaseHelper::InsertDirectory(), ImageUtils::InsertDirectoryIntoDB(), GalleryDatabaseHelper::InsertFile(), ImageUtils::InsertFileIntoDB(), insertGrabberInDB(), InsertInDB(), insertInDB(), DBPerson::InsertPersonDB(), RecordingInfo::InsertProgram(), insertRSSArticleInDB(), insertTreeArticleInDB(), CustomPriority::installClicked(), is_dishnet_eit(), is_input_group_busy(), MythBurn::isArchiveItemValid(), CardUtil::IsCardTypePresent(), SourceUtil::IsEncoder(), IsMarked(), isNewTune(), isTreeInUse(), CardUtil::IsTunerShared(), ProgramData::IsUnchanged(), lastUpdate(), CardUtil::LinkInputGroup(), NetworkControl::listSchedule(), StorageGroupEditor::Load(), MultiplexSetting::Load(), ChannelGroupStorage::Load(), PlaylistContainer::load(), ChannelInfo::Load(), RecordingRule::Load(), DiSEqCDevSettings::Load(), InputSelector::Load(), StorageGroupListEditor::Load(), VideoSourceSelector::Load(), DiSEqCDevTree::Load(), TransFreqTableSelector::Load(), DiSEqCDevSwitch::Load(), DiSEqCDevRotor::Load(), DiSEqCDevSCR::Load(), DiSEqCDevLNB::Load(), CardInputEditor::Load(), load_markup_datum(), RecordingProfile::loadByGroup(), RecordingProfile::loadByID(), CardInput::loadByInput(), RecordingRule::LoadBySearch(), RecordingProfile::loadByType(), ChannelInfo::LoadCardIds(), EITCache::LoadChannel(), MHIContext::LoadChannelCache(), KeyBindings::LoadContexts(), CustomEdit::loadData(), ScreenSetup::loadData(), SourceSetup::loadData(), VideoDisplayProfile::LoadDB(), GalleryDatabaseHelper::LoadDirectories(), GalleryDatabaseHelper::LoadDirectoryThumbnailValues(), ImageUtils::LoadDirectoryThumbnailValues(), ImageUtils::LoadFileFromDB(), GalleryDatabaseHelper::LoadFiles(), loadFromDatabase(), HTTPLiveStream::LoadFromDB(), LoadFromOldRecorded(), ChannelInfo::LoadGroupIds(), KeyBindings::LoadJumppoints(), ProgDetails::loadPage(), GalleryDatabaseHelper::LoadParentDirectory(), Playlist::loadPlaylist(), Playlist::loadPlaylistByID(), ProgramInfo::LoadProgramFromRecorded(), LoadScan(), RecordingRule::LoadTemplate(), FileServerHandler::LocalFilePath(), MainServer::LocalFilePath(), lock_channel(), DatabaseLogger::logqmsg(), lookupCategoryID(), main(), ProgramInfo::MarkAsInUse(), ScanInfo::MarkProcessed(), markTreeUpdated(), markUpdated(), GalleryUtil::Move(), newCategory(), no_capturecards(), Scheduler::OldRecordedFixups(), StorageGroupEditor::open(), PlayGroupEditor::open(), ChannelGroupEditor::open(), ProfileGroupEditor::open(), RecordingProfileEditor::open(), MusicMetadata::persist(), DatabaseLogger::prepare(), WeatherSource::ProbeScript(), WeatherSource::processExit(), UPnpCDSExtension::ProcessKey(), program_exists(), ProgramInfo::ProgramInfo(), purgeGameDB(), Scheduler::PutInactiveSlavesToSleep(), ProgramInfo::QueryAutoExpire(), ProgramInfo::QueryAverageAspectRatio(), ProgramInfo::QueryBasename(), ProgramInfo::QueryBookmarkTimeStamp(), ProgramInfo::QueryCategoryType(), ProgramInfo::QueryDVDBookmark(), ProgramInfo::QueryFilesize(), FileServerHandler::QueryFileSystems(), ProgramInfo::QueryInputDisplayName(), ProgramInfo::QueryInUseMap(), ProgramInfo::QueryIsEditing(), ProgramInfo::QueryIsInUse(), ProgramInfo::QueryJobsRunning(), ProgramInfo::QueryKeyFromPathname(), HouseKeeperTask::QueryLast(), ProgramInfo::QueryMarkup(), 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(), SingleValueImp::remove(), MultiValueImp::remove(), FileAssociationsImp::remove(), GalleryDatabaseHelper::RemoveDirectory(), ImageUtils::RemoveDirectoryFromDB(), GalleryDatabaseHelper::RemoveFile(), ImageUtils::RemoveFileFromDB(), MusicFileScanner::RemoveFileFromDB(), RemoveFromDB(), removeFromDB(), removeGrabberFromDB(), ExportNative::removeItem(), Myth::RemoveStorageGroupDir(), HTTPLiveStream::RemoveStream(), GalleryUtil::Rename(), renameCategory(), GalleryUtil::RenameDirectory(), replace_in_db(), Scheduler::ResetDuplicates(), romInDB(), FillData::Run(), RecordingRule::Save(), TransFreqTableSelector::Save(), CardInput::Save(), ProgramInfo::SaveAspect(), ProgramInfo::SaveAutoExpire(), ProgramInfo::SaveBasename(), ProgramInfo::SaveBookmark(), ChannelUtil::SaveCachedPids(), ProgramInfo::SaveCommFlagged(), ExportNative::saveConfiguration(), MythBurn::saveConfiguration(), ProgramInfo::SaveCutList(), ScreenSetup::saveData(), SourceSetup::saveData(), VideoDisplayProfile::SaveDB(), ProgramInfo::SaveDeletePendingFlag(), ProgramInfo::SaveDVDBookmark(), ProgramInfo::SaveEditing(), ProgramInfo::SaveFilesize(), ProgramInfo::SaveFrameRate(), MusicMetadata::saveHostname(), ProgramInfo::SaveInetRef(), ProgramInfo::SaveMarkup(), ProgramInfo::SaveMarkupMap(), Playlist::savePlaylist(), ProgramInfo::SavePositionMap(), ProgramInfo::SavePositionMapDelta(), ProgramInfo::SavePreserve(), ProgramInfo::SaveResolution(), SaveScan(), ScanDTVTransport::SaveScan(), ChannelInsertInfo::SaveScan(), ProgramInfo::SaveSeasonEpisode(), HTTPLiveStream::SaveSegmentInfo(), MythDB::SaveSettingOnHost(), SmartPLCriteriaRow::saveToDatabase(), RomInfo::SaveToDatabase(), VideoMetadataImp::saveToDatabase(), ProgramInfo::SaveTotalDuration(), ProgramInfo::SaveTotalFrames(), ProgramInfo::SaveTranscodeStatus(), ProgramInfo::SaveVideoProperties(), ProgramInfo::SaveWatched(), MusicFileScanner::ScanArtwork(), MusicFileScanner::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(), CardUtil::SetStartChannel(), Weather::SetupScreens(), SourceManager::setupSources(), setupTVs(), ChannelUtil::SetVisible(), TVRec::ShouldSwitchToAnotherCard(), PlaybackBox::showGroupFilter(), MythNews::slotNewsRetrieved(), ChannelOptionsCommon::sourceChanged(), HouseKeeper::Start(), EITScanner::StartActiveScan(), RecordingInfo::StartedRecording(), WeatherSource::startUpdate(), HTTPLiveStream::StopStream(), DiSEqCDevSettings::Store(), DiSEqCDevTree::Store(), DiSEqCDevSwitch::Store(), DiSEqCDevRotor::Store(), DiSEqCDevSCR::Store(), DiSEqCDevLNB::Store(), CustomEdit::storeClicked(), ChannelBase::StoreInputChannels(), CustomEdit::storeRule(), DatabaseLogger::tableExists(), CustomPriority::testSchedule(), ChannelGroup::ToggleChannel(), DBUtil::TryLockSchema(), CardUtil::UnlinkInputGroup(), unlock_channel(), update_channel_basic(), ChannelUtil::UpdateChannel(), DataDirectProcessor::UpdateChannelsSafe(), DataDirectProcessor::UpdateChannelsUnsafe(), DBEvent::UpdateDB(), GalleryDatabaseHelper::UpdateDirectory(), ImageUtils::UpdateDirectoryInDB(), updateDiskCount(), updateDisplayRom(), GalleryDatabaseHelper::UpdateFile(), ImageUtils::UpdateFileInDB(), UpdateGameCounts(), GameHandler::UpdateGameDB(), updateGameName(), VideoMetadata::UpdateHashedDBRecord(), UpdateHashes(), UpdateHomepageInDB(), ChannelUtil::UpdateInsertInfoFromDB(), ChannelUtil::UpdateIPTVTuningData(), ProgLister::UpdateKeywordInDB(), ProgramInfo::UpdateLastDelete(), HouseKeeperTask::UpdateLastRun(), DataDirectProcessor::UpdateListings(), Scheduler::UpdateManuals(), Scheduler::UpdateMatches(), Scheduler::UpdateNextRecord(), HTTPLiveStream::UpdatePercentComplete(), DataDirectProcessor::UpdateProgramViewTable(), RecordingInfo::UpdateRecordingEnd(), GameHandler::updateSettings(), HTTPLiveStream::UpdateSizeInfo(), SourceUtil::UpdateSource(), DataDirectProcessor::UpdateStationViewTable(), HTTPLiveStream::UpdateStatus(), HTTPLiveStream::UpdateStatusMessage(), PlaybackBox::UpdateUILists(), RecordingRule::UseTempTable(), Scheduler::VerifyCards(), GameHandler::VerifyGameDB(), and WaitToDelete().

void MSqlQuery::bindValues ( const MSqlBindings bindings)

Add all the bindings in the passed in bindings.

Definition at line 875 of file mythdbcon.cpp.

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

QVariant MSqlQuery::lastInsertId ( )
bool MSqlQuery::Reconnect ( void  )

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

Definition at line 889 of file mythdbcon.cpp.

Referenced by exec(), and prepare().

QVariant MSqlQuery::value ( int  i) const
inline

Definition at line 182 of file mythdbcon.h.

Referenced by SingleValueImp::add(), FileAssociationsImp::add(), UPnpCDSMusic::AddItem(), UPnpCDSTv::AddItem(), UPnpCDSVideo::AddItem(), Scheduler::AddNewRecords(), Scheduler::AddNotListed(), Myth::AddStorageGroupDir(), HTTPLiveStream::AddStream(), ChannelScanSM::AddToList(), RecordingInfo::ApplyTranscoderProfileChange(), MainServer::BackendQueryDiskSpace(), InputGroupMap::Build(), Scheduler::BuildNewRecordsQueries(), VideoSourceEditor::cardTypesInclude(), ChannelEditor::channelIconImport(), ChannelScanSM::ChannelScanSM(), StorageGroup::CheckAllStorageGroupDirs(), ChannelBase::CheckChannel(), TVRec::CheckChannelPrefix(), checkChannelPresets(), checkHandlers(), checkImageStoragePaths(), checkMusicAvailable(), ProgramInfo::CheckProgramIDAuthorities(), DBUtil::CheckRepairStatus(), HTTPLiveStream::CheckStop(), checkStorageGroup(), checkStoragePaths(), DBUtil::CheckTimeZoneSupport(), ImportMusicDialog::chooseBackend(), Ripper::chooseBackend(), MusicFileScanner::cleanDB(), CleanupTask::CleanupOrphanedLiveTV(), CleanupTask::CleanupProgramListings(), CleanupTask::CleanupRecordedTables(), clone_capturecard(), clone_cardinputs(), convert_diseqc_db(), DBUtil::CountClients(), DiSEqCDevDevice::CreateById(), CardUtil::CreateCaptureCard(), CardUtil::CreateCardInput(), Scheduler::CreateConflictLists(), MusicMetadata::createFromFilename(), MusicMetadata::createFromID(), CardUtil::CreateInputGroup(), VideoDisplayProfile::CreateProfile(), SourceUtil::CreateSource(), PlaybackBox::createTranscodingProfilesMenu(), ChannelEditor::customEvent(), ProgramRecPriority::deactivate(), commDetector2::debugDirectory(), JobQueue::DeleteAllJobs(), CardUtil::DeleteCard(), deleteCategory(), ChannelGroup::DeleteChannel(), Ripper::deleteExistingTrack(), CardUtil::DeleteOrphanInputs(), ProgramData::DeleteOverlaps(), VideoDisplayProfile::DeleteProfileGroup(), VideoDisplayProfile::DeleteProfiles(), MainServer::DeleteRecordedFiles(), DisplayRecGroup(), ChannelGroupEditor::doDelete(), StatusBox::doListingsStatus(), StatusBox::doLogEntries(), LogCleanerTask::DoRun(), GameScanner::doScanAll(), StatusBox::doScheduleStatus(), JobQueue::DoTranscodeThread(), StatusBox::doTunerStatus(), doUpgradeMusicDatabaseSchema(), doUpgradeTVDatabaseSchema(), doUpgradeVideoDatabaseSchema(), CaptureCardEditor::edit(), DiSEqCDevTree::Exists(), ExpertSettingsEditor::ExpertSettingsEditor(), AutoExpire::ExpireEpisodesOverMax(), AutoExpire::ExpireRecordings(), NativeArchive::exportRecording(), NativeArchive::exportVideo(), extractDetailsFromFilename(), SingleValueImp::fill_from_db(), MultiValueImp::fill_from_db(), FileAssociationsImp::fill_from_db(), fill_settings(), FillCastMemberList(), RomInfo::fillData(), AutoExpire::FillDBOrdered(), MusicMetadata::fillFieldList(), DTVMultiplex::FillFromDB(), ScanDTVTransport::FillFromDB(), ProgLister::FillItemList(), ChannelEditor::fillList(), ChannelRecPriority::FillList(), ProgramRecPriority::FillList(), PlaybackBox::fillRecGroupPasswordCache(), Scheduler::FillRecordingDir(), ImportNative::fillSearchList(), TransportList::fillSelections(), MythGamePlayerSettings::fillSelections(), Source::fillSelections(), ProfileGroup::fillSelections(), RecordingProfile::fillSelections(), VideoSource::fillSelections(), ChannelSetting::fillSelections(), CaptureCard::fillSelections(), Playlist::fillSonglistFromQuery(), Playlist::fillSonglistFromSmartPlaylist(), HttpStatus::FillStatusXML(), ProgLister::FillViewList(), findAllDBRSS(), findAllDBRSSByType(), findAllDBSearchGrabbers(), findAllDBTreeGrabbers(), findAllDBTreeGrabbersByHost(), findByURL(), ChannelUtil::FindChannel(), ImportNative::findChannelMatch(), StorageGroup::FindDirs(), RemoteFile::FindFile(), ChannelID::findHighest(), AlbumArtImages::findImages(), SourceManager::findScripts(), SourceManager::findScriptsDB(), findSearchGrabberByCommand(), findTreeGrabberByCommand(), ProgramData::fix_end_times(), FlagCommercials(), VideoMetadataImp::fromDBRow(), get_atsc_stuff(), get_cardtype(), get_cardtypes(), get_chan_id_from_db_atsc(), get_chan_id_from_db_dtv(), get_chan_id_from_db_dvb(), get_dtv_multiplex(), get_input_id(), get_max_chanid(), get_on_cardid(), get_on_inputid(), get_use_eit(), get_valid_recorder_list(), StatusBox::getActualRecordedBPS(), MusicMetadata::getAlbumId(), CardUtil::GetAllInputIDs(), CardUtil::GetAllInputInfo(), RomInfo::GetAllRomInfo(), Scheduler::GetAllScheduled(), ExportNative::getArchiveListFromDB(), MusicMetadata::getArtistId(), VideoMetaDataUtil::GetArtPath(), GetArtwork(), ChannelUtil::GetATSCChannel(), ChannelUtil::GetBetterMplexID(), ChannelUtil::GetCachedPids(), Capture::GetCaptureCard(), Capture::GetCaptureCardList(), CardUtil::GetCardIDs(), CardUtil::GetCardInputID(), CardUtil::GetCardList(), CardUtil::GetCardTypes(), ChannelUtil::GetCardTypes(), GetCategoryList(), ChannelBase::GetChanID(), DVBChannel::GetChanID(), ChannelUtil::GetChanID(), ChannelUtil::GetChanIDs(), SourceUtil::GetChannelCount(), ChannelUtil::GetChannelData(), ChannelGroup::GetChannelGroupId(), ChannelGroup::GetChannelGroupName(), MHIContext::GetChannelIndex(), TVRec::GetChannelInfo(), SourceUtil::GetChannelSeparator(), ChannelUtil::GetChannelsInternal(), ChannelUtil::GetChannelStringField(), ChannelUtil::GetChannelValueStr(), CardUtil::GetCloneCardIDs(), CardUtil::GetConfiguredDVBInputs(), ChannelUtil::GetConflicting(), PlayGroup::GetCount(), UPnpCDSExtension::GetCount(), HTTPLiveStream::GetDBStatus(), ChannelImporter::GetDBTransports(), ChannelUtil::GetDefaultAuthority(), RecordingRule::GetDefaultFilter(), CardUtil::GetDeviceLabel(), TVRec::GetDevices(), MusicFileScanner::GetDirectoryId(), MusicMetadata::getDirectoryId(), CardUtil::GetDisplayName(), UPnpCDSVideo::GetDistinctCount(), UPnpCDSExtension::GetDistinctCount(), NativeArchive::getFieldList(), CardUtil::GetFirewireChangerModel(), CardUtil::GetFirewireChangerNode(), V4LChannel::GetFormatForChannel(), MusicMetadata::getGenreId(), 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(), ChannelUtil::GetIPTVTuningData(), JobQueue::GetJobArgs(), JobQueue::GetJobCmd(), JobQueue::GetJobFlags(), JobQueue::GetJobID(), JobQueue::GetJobInfoFromID(), JobQueue::GetJobsInQueue(), JobQueue::GetJobStatus(), MythMainWindow::GetKey(), Myth::GetKeys(), SourceUtil::GetListingsLoginData(), HTTPLiveStream::GetLiveStreamInfoList(), CardUtil::GetLiveTVCardList(), Myth::GetLogs(), ChannelUtil::GetMplexID(), SourceUtil::GetMplexIDs(), Content::GetMusic(), GetMythXMLURL(), ProfileGroup::getName(), RecordingProfile::getName(), PlayGroup::GetNames(), TVRec::GetNextProgram(), DBEvent::GetOverlappingPrograms(), DBPerson::GetPersonDB(), VideoDisplayProfile::GetProfileGroupID(), RecordingProfile::GetProfiles(), VideoDisplayProfile::GetProfiles(), Guide::GetProgramGuide(), CardUtil::GetQuickTuning(), ProgDetails::getRatings(), RecordingInfo::GetRecgroupID(), Dvr::GetRecGroupList(), RecordingInfo::GetRecgroupString(), StorageGroup::getRecordingsGroups(), Dvr::GetRecRuleFilterList(), StorageGroup::GetRelativePathname(), RomInfo::GetRomInfoById(), ThumbItem::GetRotationAngle(), getRSSArticles(), ChannelUtil::GetServiceVersion(), PlayGroup::GetSetting(), LogViewer::getSetting(), Myth::GetSetting(), MythDB::GetSettings(), GetSettingsMap(), ProgFinder::getShowNames(), RemoteEncoder::GetSignalLockTimeout(), GetSiteList(), getSmartPlaylistCategories(), getSmartPlaylists(), getSmartPlaylistTracks(), ChannelUtil::GetSourceID(), CardUtil::GetSourceID(), ChannelUtil::GetSourceIDForChannel(), SourceUtil::GetSourceName(), TVRec::GetStartChannel(), CardUtil::GetStartingChannel(), CardUtil::GetStartInput(), Myth::GetStorageGroupDirs(), DBUtil::GetTables(), RecordingRule::GetTemplateNames(), CardUtil::GetTimeouts(), Dvr::GetTitleInfoList(), Dvr::GetTitleList(), 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(), MainServer::HandleLockTuner(), ProgramData::HandlePrograms(), FileServerHandler::HandleQueryFileHash(), MainServer::HandleQueryFileHash(), MainServer::HandleScanMusic(), TV::HandleStateChange(), HardwareProfile::HardwareProfile(), SourceUtil::HasDigitalChannel(), NativeArchive::importVideo(), ChannelBase::InitializeInputs(), ImportIconsWizard::initialLoad(), EditPowerSearchPopup::initLists(), GameHandler::InitMetaDataMap(), is_dishnet_eit(), is_input_group_busy(), SourceUtil::IsAnySourceScanable(), CardUtil::IsCardTypePresent(), SourceUtil::IsEncoder(), IsMarked(), CardUtil::IsTunerShared(), ProgramData::IsUnchanged(), lastUpdate(), CardUtil::LinkInputGroup(), NetworkControl::listChannels(), NetworkControl::listRecordings(), NetworkControl::listSchedule(), StorageGroupEditor::Load(), MultiplexSetting::Load(), ChannelGroupStorage::Load(), PlaylistContainer::load(), ChannelInfo::Load(), RecordingRule::Load(), DiSEqCDevSettings::Load(), InputSelector::Load(), StorageGroupListEditor::Load(), SimpleDBStorage::Load(), StoreOptMixin::Load(), VideoSourceSelector::Load(), DiSEqCDevTree::Load(), TransFreqTableSelector::Load(), DiSEqCDevSwitch::Load(), SchedFilterEditor::Load(), DiSEqCDevRotor::Load(), DiSEqCDevSCR::Load(), DiSEqCDevLNB::Load(), CardInputEditor::Load(), InputGroup::Load(), load_markup_datum(), RecordingProfile::loadByGroup(), RecordingProfile::loadByID(), CardInput::loadByInput(), RecordingRule::LoadBySearch(), RecordingProfile::loadByType(), ChannelInfo::LoadCardIds(), EITCache::LoadChannel(), MHIContext::LoadChannelCache(), CustomEdit::loadClauses(), MythBurn::loadConfiguration(), KeyBindings::LoadContexts(), CustomPriority::loadData(), CustomEdit::loadData(), ScreenSetup::loadData(), SourceSetup::loadData(), VideoDisplayProfile::LoadDB(), GalleryDatabaseHelper::LoadDirectoryThumbnailValues(), ImageUtils::LoadDirectoryThumbnailValues(), GalleryDatabaseHelper::LoadDirectoryValues(), ImageUtils::LoadDirectoryValues(), GalleryDatabaseHelper::LoadFileValues(), ImageUtils::LoadFileValues(), loadFromDatabase(), HTTPLiveStream::LoadFromDB(), LoadFromOldRecorded(), LoadFromProgram(), LoadFromRecorded(), ChannelInfo::LoadGroupIds(), KeyBindings::LoadJumppoints(), ProgDetails::loadPage(), Playlist::loadPlaylist(), Playlist::loadPlaylistByID(), ProgramInfo::LoadProgramFromRecorded(), LoadScan(), LoadScanList(), MythNews::loadSites(), AllStream::loadStreams(), RecordingRule::LoadTemplate(), FileServerHandler::LocalFilePath(), MainServer::LocalFilePath(), lock_channel(), lookupCategoryID(), main(), ProgramInfo::MarkAsInUse(), MusicFileScanner::MusicFileScanner(), no_capturecards(), ProfileGroupEditor::open(), RecordingProfileEditor::open(), OverTimeCategory(), WeatherSource::ProbeScript(), UPnpCDSExtension::ProcessContainer(), UPnpCDSExtension::ProcessKey(), ProgLister::ProgLister(), ProgramInfo::ProgramInfo(), Scheduler::PutInactiveSlavesToSleep(), Q_DECLARE_METATYPE(), ProgramInfo::QueryAutoExpire(), ProgramInfo::QueryAverageAspectRatio(), ProgramInfo::QueryBasename(), ProgramInfo::QueryBookmarkTimeStamp(), ProgramInfo::QueryCategoryType(), DBUtil::QueryDBMSVersion(), ProgramInfo::QueryDVDBookmark(), ProgramInfo::QueryFilesize(), FileServerHandler::QueryFileSystems(), ProgramInfo::QueryInputDisplayName(), ProgramInfo::QueryInUseMap(), ProgramInfo::QueryIsEditing(), ProgramInfo::QueryIsInUse(), ProgramInfo::QueryJobsRunning(), ProgramInfo::QueryKeyFromPathname(), HouseKeeperTask::QueryLast(), ProgramInfo::QueryMarkup(), 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(), runHomepage(), AutoIncrementDBSetting::Save(), ScreenSetup::saveData(), VideoDisplayProfile::SaveDB(), SaveScan(), ScanDTVTransport::SaveScan(), VideoMetadataImp::saveToDatabase(), MusicFileScanner::ScanArtwork(), MusicFileScanner::ScanMusic(), ProgramRecPriority::scheduleChanged(), seekDebug(), set_lineup_type(), SmartPLResultViewer::setSQL(), Weather::SetupScreens(), SourceManager::setupSources(), setupTVs(), TVRec::ShouldSwitchToAnotherCard(), PlaybackBox::showGroupFilter(), PlaybackBox::ShowRecGroupChanger(), ChannelOptionsCommon::sourceChanged(), HouseKeeper::Start(), EITScanner::StartActiveScan(), ChannelGroup::ToggleChannel(), MainServer::TruncateAndClose(), DBUtil::TryLockSchema(), update_channel_basic(), DataDirectProcessor::UpdateChannelsSafe(), DataDirectProcessor::UpdateChannelsUnsafe(), AutoExpire::UpdateDontExpireSet(), UpdateGameCounts(), VideoMetadata::UpdateHashedDBRecord(), UpdateHashes(), ChannelUtil::UpdateInsertInfoFromDB(), DataDirectProcessor::UpdateListings(), Scheduler::UpdateManuals(), updateMatches(), Scheduler::UpdateNextRecord(), GameHandler::updateSettings(), SearchView::updateTracksList(), PlaybackBox::UpdateUILists(), Scheduler::VerifyCards(), GameHandler::VerifyGameDB(), and WaitToDelete().

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

Definition at line 184 of file mythdbcon.h.

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

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

Definition at line 187 of file mythdbcon.h.

Referenced by ChannelGroup::AddChannel(), AddFileType(), Scheduler::AddNewRecords(), Scheduler::AddNotListed(), MainServer::BackendQueryDiskSpace(), chanid_available(), ChannelBase::CheckChannel(), TVRec::CheckChannelPrefix(), checkChannelPresets(), checkImageStoragePaths(), checkStoragePaths(), JobQueue::DeleteAllJobs(), deleteCategory(), ChannelImporter::DeleteUnusedTransports(), StatusBox::doLogEntries(), doUpgradeMusicDatabaseSchema(), exec(), AutoExpire::ExpireEpisodesOverMax(), NativeArchive::exportRecording(), NativeArchive::exportVideo(), MultiValueImp::fill_from_db(), FillCastMemberList(), ChannelEditor::fillList(), MythGamePlayerSettings::fillSelections(), VideoSource::fillSelections(), ChannelSetting::fillSelections(), Playlist::fillSonglistFromSmartPlaylist(), ChannelID::findHighest(), FindInDB(), findInDB(), findSearchGrabberInDB(), findTreeGrabberInDB(), get_chan_id_from_db_dtv(), get_chan_id_from_db_dvb(), ChannelUtil::GetBetterMplexID(), ChannelUtil::GetChannelCount(), SourceUtil::GetChannelSeparator(), ProfileGroup::getHostNames(), ChannelUtil::GetIcon(), JobQueue::GetJobsInQueue(), getSmartPlaylistCategories(), getSmartPlaylists(), getSmartPlaylistTracks(), VideoSelector::getVideoListFromDB(), Channel::GetVideoMultiplexList(), ExportNative::handleAddVideo(), MythBurn::handleAddVideo(), MainServer::HandleGetPendingRecordings(), TV::HandleStateChange(), NativeArchive::importRecording(), ChannelBase::InitializeInputs(), InitializeMythSchema(), ImportIconsWizard::initialLoad(), MythBurn::isArchiveItemValid(), IsMarked(), isNewTune(), NetworkControl::listChannels(), MultiplexSetting::Load(), ChannelGroupStorage::Load(), VideoSourceSelector::Load(), SourceSetup::loadData(), ImageUtils::LoadDirectoriesFromDB(), ImageUtils::LoadFileFromDB(), ImageUtils::LoadFilesFromDB(), loadFromDatabase(), ChannelInfo::LoadGroupIds(), ProgDetails::loadPage(), Playlist::loadPlaylist(), AllStream::loadStreams(), lockShutdown(), lookupCategoryID(), main(), needsMFDBReminder(), ProfileGroupEditor::open(), Q_DECLARE_METATYPE(), FileServerHandler::QueryFileSystems(), ProgramInfo::QueryIsInUse(), LiveTVChain::ReloadAll(), AllMusic::resync(), runHomepage(), ChannelID::Save(), MusicFileScanner::ScanArtwork(), MusicFileScanner::ScanMusic(), Weather::SetupScreens(), TVRec::ShouldSwitchToAnotherCard(), ChannelOptionsCommon::sourceChanged(), WeatherSource::startUpdate(), ChannelGroup::ToggleChannel(), unlockShutdown(), DataDirectProcessor::UpdateChannelsUnsafe(), UpdateHashes(), Scheduler::UpdateManuals(), Scheduler::UpdateMatches(), and GameHandler::VerifyGameDB().

bool MSqlQuery::isActive ( void  ) const
inline

Definition at line 188 of file mythdbcon.h.

Referenced by FileAssociationsImp::add(), AllStream::addStream(), LiveTVChain::AppendNewProgram(), ChannelRecPriority::applyChannelRecPriorityChange(), Scheduler::BuildNewRecordsQueries(), chanid_available(), ChannelScanSM::ChannelScanSM(), StorageGroup::CheckAllStorageGroupDirs(), ChannelBase::CheckChannel(), TVRec::CheckChannelPrefix(), checkChannelPresets(), checkImageStoragePaths(), checkStorageGroup(), checkStoragePaths(), ImportMusicDialog::chooseBackend(), Ripper::chooseBackend(), CleanupTask::CleanupOrphanedLiveTV(), CleanupTask::CleanupRecordedTables(), clearRSSArticles(), clearTreeItems(), KeyBindings::CommitAction(), KeyBindings::CommitJumppoint(), DiSEqCDevDevice::CreateById(), ChannelUtil::CreateChannel(), SourceUtil::CreateSource(), ChannelEditor::customEvent(), MythGamePlayerEditor::del(), TransportListEditor::Delete(), deleteCategory(), Ripper::deleteExistingTrack(), VideoDisplayProfile::DeleteProfileGroup(), VideoDisplayProfile::DeleteProfiles(), MainServer::DeleteRecordedFiles(), SourceUtil::DeleteSource(), MainServer::DoDeleteInDB(), StatusBox::doTunerStatus(), doUpgradeMusicDatabaseSchema(), MusicMetadata::dumpToDatabase(), CaptureCardEditor::edit(), AutoExpire::ExpireEpisodesOverMax(), NativeArchive::exportVideo(), MusicMetadata::fillFieldList(), ChannelRecPriority::FillList(), TransportList::fillSelections(), MythGamePlayerSettings::fillSelections(), Source::fillSelections(), VideoSource::fillSelections(), ChannelSetting::fillSelections(), Playlist::fillSonglistFromSmartPlaylist(), findAllDBSearchGrabbers(), findAllDBTreeGrabbers(), findAllDBTreeGrabbersByHost(), ChannelUtil::FindChannel(), StorageGroup::FindDirs(), RemoteFile::FindFile(), ChannelID::findHighest(), findInDB(), findSearchGrabberByCommand(), findSearchGrabberInDB(), findTreeGrabberByCommand(), findTreeGrabberInDB(), LiveTVChain::FinishedRecording(), get_atsc_stuff(), get_cardtype(), get_cardtypes(), get_chan_id_from_db_atsc(), get_chan_id_from_db_dtv(), get_chan_id_from_db_dvb(), get_dtv_multiplex(), get_input_id(), get_max_chanid(), get_use_eit(), get_valid_recorder_list(), MusicMetadata::getAlbumId(), MusicMetadata::getArtistId(), ChannelUtil::GetATSCChannel(), ChannelUtil::GetBetterMplexID(), ChannelUtil::GetCachedPids(), CardUtil::GetCardInputID(), ChannelBase::GetChanID(), DVBChannel::GetChanID(), SourceUtil::GetChannelCount(), ChannelUtil::GetChannelCount(), ChannelUtil::GetChannelData(), MHIContext::GetChannelIndex(), TVRec::GetChannelInfo(), SourceUtil::GetChannelSeparator(), ChannelUtil::GetChannelStringField(), ChannelUtil::GetChannelValueStr(), CardUtil::GetConfiguredDVBInputs(), TVRec::GetDevices(), MusicFileScanner::GetDirectoryId(), MusicMetadata::getDirectoryId(), V4LChannel::GetFormatForChannel(), MusicMetadata::getGenreId(), ProfileGroup::getHostNames(), ChannelUtil::GetInputID(), MythMainWindow::GetKey(), SourceUtil::GetListingsLoginData(), ChannelUtil::GetMplexID(), TVRec::GetNextProgram(), VideoDisplayProfile::GetProfileGroupID(), VideoDisplayProfile::GetProfiles(), CardUtil::GetQuickTuning(), ProgDetails::getRatings(), ThumbItem::GetRotationAngle(), getRSSArticles(), ChannelUtil::GetServiceVersion(), RemoteEncoder::GetSignalLockTimeout(), getSmartPlaylistCategories(), getSmartPlaylists(), getSmartPlaylistTracks(), ChannelUtil::GetSourceID(), CardUtil::GetSourceID(), TVRec::GetStartChannel(), CardUtil::GetStartInput(), CardUtil::GetTimeouts(), getTreeArticles(), ChannelUtil::GetTuningParams(), MainServer::HandleScanMusic(), TV::HandleStateChange(), NativeArchive::importRecording(), ChannelBase::InitializeInputs(), InitializeMythSchema(), insert_dtv_multiplex(), insertGrabberInDB(), insertInDB(), RecordingInfo::InsertProgram(), insertRSSArticleInDB(), insertTreeArticleInDB(), is_dishnet_eit(), SourceUtil::IsAnySourceScanable(), SourceUtil::IsEncoder(), IsMarked(), isNewTune(), isTreeInUse(), lastUpdate(), StorageGroupEditor::Load(), MultiplexSetting::Load(), ChannelGroupStorage::Load(), InputSelector::Load(), DiSEqCDevSettings::Load(), SimpleDBStorage::Load(), VideoSourceSelector::Load(), TransFreqTableSelector::Load(), DiSEqCDevSwitch::Load(), DiSEqCDevRotor::Load(), DiSEqCDevSCR::Load(), DiSEqCDevLNB::Load(), VideoMetadataListManager::loadAllFromDatabase(), CardInput::loadByInput(), EITCache::LoadChannel(), MHIContext::LoadChannelCache(), KeyBindings::LoadContexts(), loadFromDatabase(), KeyBindings::LoadJumppoints(), ProgDetails::loadPage(), AllStream::loadStreams(), lock_channel(), lookupCategoryID(), main(), markTreeUpdated(), markUpdated(), MusicFileScanner::MusicFileScanner(), needsMFDBReminder(), no_capturecards(), ProfileGroupEditor::open(), Q_DECLARE_METATYPE(), FileServerHandler::QueryFileSystems(), MythMainWindow::RegisterJump(), LiveTVChain::ReloadAll(), MultiValueImp::remove(), removeFromDB(), removeGrabberFromDB(), AllMusic::resync(), FillData::Run(), ChannelID::Save(), SimpleDBStorage::Save(), TransFreqTableSelector::Save(), VideoMetadataImp::saveToDatabase(), MusicFileScanner::ScanArtwork(), MusicFileScanner::ScanMusic(), set_lineup_type(), setGlobalSetting(), ChannelUtil::SetServiceVersion(), TVRec::ShouldSwitchToAnotherCard(), MythNews::slotNewsRetrieved(), ChannelOptionsCommon::sourceChanged(), EITScanner::StartActiveScan(), RecordingInfo::StartedRecording(), DiSEqCDevSettings::Store(), ChannelBase::StoreInputChannels(), update_channel_basic(), VideoMetadata::UpdateHashedDBRecord(), DataDirectProcessor::UpdateListings(), Scheduler::UpdateNextRecord(), SourceUtil::UpdateSource(), and SearchView::updateTracksList().

QSqlRecord MSqlQuery::record ( void  ) const
inline

Definition at line 189 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 191 of file mythdbcon.h.

Referenced by VideoMetadataListManager::loadAllFromDatabase().

bool MSqlQuery::isNull ( int  field) const
inline

Definition at line 192 of file mythdbcon.h.

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

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

Definition at line 193 of file mythdbcon.h.

Referenced by formattedFieldValue(), and MSqlEscapeAsAQuery().

int MSqlQuery::at ( void  ) const
inline

Definition at line 194 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 529 of file mythdbcon.cpp.

Referenced by SingleValueImp::add(), MultiValueImp::add(), FileAssociationsImp::add(), ChannelGroup::AddChannel(), MusicFileScanner::AddFileToDB(), AddFileType(), RecordingInfo::AddHistory(), UPnpCDSTv::AddItem(), HTTPLiveStream::AddSegment(), Myth::AddStorageGroupDir(), HTTPLiveStream::AddStream(), AllStream::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(), ChannelScanSM::ChannelScanSM(), StorageGroup::CheckAllStorageGroupDirs(), ImportIconsWizard::checkAndDownload(), ChannelBase::CheckChannel(), TVRec::CheckChannelPrefix(), checkChannelPresets(), checkHandlers(), checkImageStoragePaths(), checkMusicAvailable(), ProgramInfo::CheckProgramIDAuthorities(), HTTPLiveStream::CheckStop(), checkStorageGroup(), checkStoragePaths(), CustomPriority::checkSyntax(), CustomEdit::checkSyntax(), DBUtil::CheckTables(), DBUtil::CheckTimeZoneSupport(), ImportMusicDialog::chooseBackend(), Ripper::chooseBackend(), MusicFileScanner::cleanDB(), CleanupTask::CleanupInUsePrograms(), CleanupMyOldInUsePrograms(), JobQueue::CleanupOldJobsInQueue(), CleanupTask::CleanupOldRecordings(), CleanupTask::CleanupOrphanedLiveTV(), CleanupTask::CleanupProgramListings(), CleanupTask::CleanupRecordedTables(), clearAllKeys(), GameHandler::clearAllMetadata(), clearArchiveTable(), EITCache::ClearChannelLocks(), GalleryDatabaseHelper::ClearDatabase(), ProgramData::ClearDataByChannel(), ProgramInfo::ClearMarkupMap(), ProgramInfo::ClearPositionMap(), clearRSSArticles(), clearTreeItems(), clone_capturecard(), clone_cardinputs(), KeyBindings::CommitAction(), KeyBindings::CommitJumppoint(), CompleteJob(), convert_diseqc_db(), GalleryUtil::Copy(), DBUtil::CountClients(), DiSEqCDevDevice::CreateById(), CardUtil::CreateCaptureCard(), CardUtil::CreateCardInput(), ChannelUtil::CreateChannel(), Scheduler::CreateConflictLists(), MusicMetadata::createFromFilename(), MusicMetadata::createFromID(), CardUtil::CreateInputGroup(), UPnpCDSExtension::CreateItems(), CardInput::CreateNewInputGroup(), VideoDisplayProfile::CreateProfile(), VideoDisplayProfile::CreateProfileGroup(), StoreOptMixin::CreateRecordingGroup(), SourceUtil::CreateSource(), PlaybackBox::createTranscodingProfilesMenu(), ChannelEditor::customEvent(), StatusBox::customEvent(), ProgramRecPriority::deactivate(), commDetector2::debugDirectory(), MythGamePlayerEditor::del(), RecordingRule::Delete(), GalleryUtil::Delete(), TransportListEditor::Delete(), delete_in_db(), CardUtil::DeleteAllCards(), JobQueue::DeleteAllJobs(), SourceUtil::DeleteAllSources(), CardUtil::DeleteCard(), deleteCategory(), ChannelGroup::DeleteChannel(), ChannelUtil::DeleteChannel(), CustomPriority::deleteClicked(), PhrasePopup::deleteClicked(), PowerSearchPopup::deleteClicked(), VideoDisplayProfile::DeleteDB(), Ripper::deleteExistingTrack(), RomInfo::DeleteFromDatabase(), VideoMetadataImp::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(), StorageGroupEditor::doDelete(), PlayGroupEditor::doDelete(), ChannelGroupEditor::doDelete(), StorageGroupListEditor::doDelete(), MainServer::DoDeleteInDB(), StatusBox::doListingsStatus(), StatusBox::doLogEntries(), LogCleanerTask::DoRun(), GameScanner::doScanAll(), StatusBox::doScheduleStatus(), JobQueue::DoTranscodeThread(), StatusBox::doTunerStatus(), doUpgradeMusicDatabaseSchema(), doUpgradeTVDatabaseSchema(), doUpgradeVideoDatabaseSchema(), MusicMetadata::dumpToDatabase(), AlbumArtImages::dumpToDatabase(), CaptureCardEditor::edit(), DiSEqCDevTree::Exists(), ExpertSettingsEditor::ExpertSettingsEditor(), AutoExpire::ExpireEpisodesOverMax(), AutoExpire::ExpireRecordings(), NativeArchive::exportRecording(), NativeArchive::exportVideo(), extractDetailsFromFilename(), SingleValueImp::fill_from_db(), MultiValueImp::fill_from_db(), FileAssociationsImp::fill_from_db(), FillCastMemberList(), RomInfo::fillData(), AutoExpire::FillDBOrdered(), MusicMetadata::fillFieldList(), DTVMultiplex::FillFromDB(), ScanDTVTransport::FillFromDB(), ProgLister::FillItemList(), ChannelEditor::fillList(), ChannelRecPriority::FillList(), ProgramRecPriority::FillList(), GameUI::fillNode(), PlaybackBox::fillRecGroupPasswordCache(), Scheduler::FillRecordingDir(), ImportNative::fillSearchList(), TransportList::fillSelections(), MythGamePlayerSettings::fillSelections(), Source::fillSelections(), ProfileGroup::fillSelections(), RecordingProfile::fillSelections(), VideoSource::fillSelections(), ChannelSetting::fillSelections(), CaptureCard::fillSelections(), Playlist::fillSonglistFromQuery(), Playlist::fillSonglistFromSmartPlaylist(), HttpStatus::FillStatusXML(), ProgLister::FillViewList(), findAllDBRSS(), findAllDBRSSByType(), findAllDBSearchGrabbers(), findAllDBTreeGrabbers(), findAllDBTreeGrabbersByHost(), findByURL(), ChannelUtil::FindChannel(), ImportNative::findChannelMatch(), StorageGroup::FindDirs(), RemoteFile::FindFile(), ChannelID::findHighest(), AlbumArtImages::findImages(), FindInDB(), findInDB(), SourceManager::findScripts(), SourceManager::findScriptsDB(), findSearchGrabberByCommand(), findSearchGrabberInDB(), findTreeGrabberByCommand(), findTreeGrabberInDB(), LiveTVChain::FinishedRecording(), RecordingInfo::FinishedRecording(), ProgramData::fix_end_times(), FlagCommercials(), RecordingInfo::ForgetHistory(), formattedFieldValue(), get_cardtype(), get_cardtypes(), get_chan_id_from_db_atsc(), get_chan_id_from_db_dtv(), get_chan_id_from_db_dvb(), get_dtv_multiplex(), get_input_id(), get_on_cardid(), get_on_inputid(), get_use_eit(), get_valid_recorder_list(), StatusBox::getActualRecordedBPS(), MusicMetadata::getAlbumId(), CardUtil::GetAllInputIDs(), CardUtil::GetAllInputInfo(), RomInfo::GetAllRomInfo(), Scheduler::GetAllScheduled(), ExportNative::getArchiveListFromDB(), MusicMetadata::getArtistId(), VideoMetaDataUtil::GetArtPath(), GetArtwork(), ChannelUtil::GetATSCChannel(), ChannelUtil::GetBetterMplexID(), ChannelUtil::GetCachedPids(), Capture::GetCaptureCard(), Capture::GetCaptureCardList(), CardUtil::GetCardIDs(), CardUtil::GetCardInputID(), CardUtil::GetCardList(), CardUtil::GetCardTypes(), ChannelUtil::GetCardTypes(), GetCategoryList(), ChannelBase::GetChanID(), DVBChannel::GetChanID(), ChannelUtil::GetChanID(), ChannelUtil::GetChanIDs(), SourceUtil::GetChannelCount(), ChannelUtil::GetChannelCount(), ChannelUtil::GetChannelData(), ChannelGroup::GetChannelGroupId(), ChannelGroup::GetChannelGroupName(), MHIContext::GetChannelIndex(), TVRec::GetChannelInfo(), SourceUtil::GetChannelSeparator(), ChannelUtil::GetChannelsInternal(), ChannelUtil::GetChannelStringField(), ChannelUtil::GetChannelValueStr(), CardUtil::GetCloneCardIDs(), CardUtil::GetConfiguredDVBInputs(), ChannelUtil::GetConflicting(), PlayGroup::GetCount(), UPnpCDSExtension::GetCount(), HTTPLiveStream::GetDBStatus(), ChannelImporter::GetDBTransports(), ChannelUtil::GetDefaultAuthority(), RecordingRule::GetDefaultFilter(), CardUtil::GetDeviceLabel(), TVRec::GetDevices(), MusicFileScanner::GetDirectoryId(), MusicMetadata::getDirectoryId(), CardUtil::GetDisplayName(), UPnpCDSVideo::GetDistinctCount(), UPnpCDSExtension::GetDistinctCount(), NativeArchive::getFieldList(), CardUtil::GetFirewireChangerModel(), CardUtil::GetFirewireChangerNode(), V4LChannel::GetFormatForChannel(), MusicMetadata::getGenreId(), 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(), ChannelUtil::GetIPTVTuningData(), JobQueue::GetJobArgs(), JobQueue::GetJobCmd(), JobQueue::GetJobCommand(), JobQueue::GetJobFlags(), JobQueue::GetJobID(), JobQueue::GetJobInfoFromID(), JobQueue::GetJobsInQueue(), JobQueue::GetJobStatus(), MythMainWindow::GetKey(), Myth::GetKeys(), SourceUtil::GetListingsLoginData(), HTTPLiveStream::GetLiveStreamInfoList(), CardUtil::GetLiveTVCardList(), Myth::GetLogs(), ChannelUtil::GetMplexID(), SourceUtil::GetMplexIDs(), Content::GetMusic(), GetMythXMLURL(), ProfileGroup::getName(), RecordingProfile::getName(), PlayGroup::GetNames(), TVRec::GetNextProgram(), VideoDisplayProfile::GetProfileGroupID(), RecordingProfile::GetProfiles(), VideoDisplayProfile::GetProfiles(), Guide::GetProgramGuide(), CardUtil::GetQuickTuning(), ProgDetails::getRatings(), RecordingInfo::GetRecgroupID(), Dvr::GetRecGroupList(), RecordingInfo::GetRecgroupString(), StorageGroup::getRecordingsGroups(), Dvr::GetRecRuleFilterList(), StorageGroup::GetRelativePathname(), RomInfo::GetRomInfoById(), ThumbItem::GetRotationAngle(), getRSSArticles(), ChannelUtil::GetServiceVersion(), PlayGroup::GetSetting(), LogViewer::getSetting(), Myth::GetSetting(), MythDB::GetSettings(), GetSettingsMap(), ProgFinder::getShowNames(), RemoteEncoder::GetSignalLockTimeout(), GetSiteList(), getSmartPlaylistCategories(), getSmartPlaylists(), getSmartPlaylistTracks(), ChannelUtil::GetSourceID(), CardUtil::GetSourceID(), ChannelUtil::GetSourceIDForChannel(), SourceUtil::GetSourceName(), TVRec::GetStartChannel(), CardUtil::GetStartingChannel(), CardUtil::GetStartInput(), Myth::GetStorageGroupDirs(), DBUtil::GetTables(), RecordingRule::GetTemplateNames(), CardUtil::GetTimeouts(), Dvr::GetTitleInfoList(), Dvr::GetTitleList(), 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(), ExportNative::handleAddVideo(), MythBurn::handleAddVideo(), ChannelData::handleChannels(), MainServer::HandleGetPendingRecordings(), MainServer::HandleLockTuner(), ProgramData::HandlePrograms(), FileServerHandler::HandleQueryFileHash(), MainServer::HandleQueryFileHash(), MainServer::HandleScanMusic(), TV::HandleStateChange(), HardwareProfile::HardwareProfile(), SourceUtil::HasDigitalChannel(), NativeArchive::importRecording(), NativeArchive::importVideo(), ChannelBase::InitializeInputs(), InitializeMythSchema(), InitializeVideoSchema(), ImportIconsWizard::initialLoad(), EditPowerSearchPopup::initLists(), GameHandler::InitMetaDataMap(), insert_dtv_multiplex(), GalleryDatabaseHelper::InsertDirectory(), ImageUtils::InsertDirectoryIntoDB(), GalleryDatabaseHelper::InsertFile(), ImageUtils::InsertFileIntoDB(), insertGrabberInDB(), InsertInDB(), insertInDB(), RecordingInfo::InsertProgram(), insertRSSArticleInDB(), insertTreeArticleInDB(), CustomPriority::installClicked(), is_dishnet_eit(), is_input_group_busy(), SourceUtil::IsAnySourceScanable(), MythBurn::isArchiveItemValid(), CardUtil::IsCardTypePresent(), SourceUtil::IsEncoder(), IsMarked(), isNewTune(), isTreeInUse(), CardUtil::IsTunerShared(), RecordingRule::IsValid(), lastUpdate(), CardUtil::LinkInputGroup(), NetworkControl::listChannels(), NetworkControl::listRecordings(), NetworkControl::listSchedule(), StorageGroupEditor::Load(), MultiplexSetting::Load(), ChannelGroupStorage::Load(), PlaylistContainer::load(), ChannelInfo::Load(), RecordingRule::Load(), InputSelector::Load(), DiSEqCDevSettings::Load(), StorageGroupListEditor::Load(), SimpleDBStorage::Load(), StoreOptMixin::Load(), VideoSourceSelector::Load(), DiSEqCDevTree::Load(), TransFreqTableSelector::Load(), DiSEqCDevSwitch::Load(), SchedFilterEditor::Load(), DiSEqCDevRotor::Load(), DiSEqCDevSCR::Load(), DiSEqCDevLNB::Load(), CardInputEditor::Load(), InputGroup::Load(), load_markup_datum(), load_settings(), VideoMetadataListManager::loadAllFromDatabase(), RecordingProfile::loadByGroup(), RecordingProfile::loadByID(), CardInput::loadByInput(), RecordingRule::LoadBySearch(), RecordingProfile::loadByType(), ChannelInfo::LoadCardIds(), EITCache::LoadChannel(), MHIContext::LoadChannelCache(), CustomEdit::loadClauses(), MythBurn::loadConfiguration(), KeyBindings::LoadContexts(), CustomPriority::loadData(), CustomEdit::loadData(), ScreenSetup::loadData(), SourceSetup::loadData(), VideoDisplayProfile::LoadDB(), GalleryDatabaseHelper::LoadDirectories(), ImageUtils::LoadDirectoriesFromDB(), GalleryDatabaseHelper::LoadDirectoryThumbnailValues(), ImageUtils::LoadDirectoryThumbnailValues(), ImageUtils::LoadFileFromDB(), GalleryDatabaseHelper::LoadFiles(), ImageUtils::LoadFilesFromDB(), loadFromDatabase(), HTTPLiveStream::LoadFromDB(), LoadFromOldRecorded(), LoadFromProgram(), LoadFromRecorded(), ChannelInfo::LoadGroupIds(), KeyBindings::LoadJumppoints(), ProgDetails::loadPage(), GalleryDatabaseHelper::LoadParentDirectory(), Playlist::loadPlaylist(), Playlist::loadPlaylistByID(), ProgramInfo::LoadProgramFromRecorded(), LoadScan(), LoadScanList(), MythNews::loadSites(), AllStream::loadStreams(), RecordingRule::LoadTemplate(), FileServerHandler::LocalFilePath(), MainServer::LocalFilePath(), lock_channel(), lockShutdown(), lookupCategoryID(), main(), ProgramInfo::MarkAsInUse(), ScanInfo::MarkProcessed(), markTreeUpdated(), markUpdated(), GalleryUtil::Move(), MSqlEscapeAsAQuery(), MusicFileScanner::MusicFileScanner(), MythDbSettings1::MythDbSettings1(), needsMFDBReminder(), newCategory(), no_capturecards(), StorageGroupEditor::open(), PlayGroupEditor::open(), ChannelGroupEditor::open(), ProfileGroupEditor::open(), RecordingProfileEditor::open(), OverTimeCategory(), performActualUpdate(), MusicMetadata::persist(), WeatherSource::ProbeScript(), UPnpCDSExtension::ProcessContainer(), EITHelper::ProcessEvents(), WeatherSource::processExit(), GameHandler::processGames(), UPnpCDSExtension::ProcessItem(), UPnpCDSExtension::ProcessKey(), ProgLister::ProgLister(), ProgramInfo::ProgramInfo(), purgeGameDB(), Scheduler::PutInactiveSlavesToSleep(), Q_DECLARE_METATYPE(), ProgramInfo::QueryAutoExpire(), ProgramInfo::QueryAverageAspectRatio(), ProgramInfo::QueryBasename(), ProgramInfo::QueryBookmarkTimeStamp(), ProgramInfo::QueryCategoryType(), DBUtil::QueryDBMSVersion(), ProgramInfo::QueryDVDBookmark(), ProgramInfo::QueryFilesize(), FileServerHandler::QueryFileSystems(), ProgramInfo::QueryInputDisplayName(), ProgramInfo::QueryInUseMap(), ProgramInfo::QueryIsEditing(), ProgramInfo::QueryIsInUse(), ProgramInfo::QueryJobsRunning(), ProgramInfo::QueryKeyFromPathname(), HouseKeeperTask::QueryLast(), ProgramInfo::QueryMarkup(), 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(), SingleValueImp::remove(), MultiValueImp::remove(), FileAssociationsImp::remove(), GalleryDatabaseHelper::RemoveDirectory(), ImageUtils::RemoveDirectoryFromDB(), GalleryDatabaseHelper::RemoveFile(), ImageUtils::RemoveFileFromDB(), MusicFileScanner::RemoveFileFromDB(), RemoveFromDB(), removeFromDB(), removeGrabberFromDB(), ExportNative::removeItem(), Myth::RemoveStorageGroupDir(), HTTPLiveStream::RemoveStream(), AllStream::removeStream(), GalleryUtil::Rename(), renameCategory(), GalleryUtil::RenameDirectory(), DBUtil::RepairTables(), replace_in_db(), ResetHomepageFromDB(), AllMusic::resync(), romInDB(), FillData::Run(), DBLoggerThread::run(), runHomepage(), ChannelID::Save(), RecordingRule::Save(), SimpleDBStorage::Save(), TransFreqTableSelector::Save(), XMLTVConfig::Save(), AutoIncrementDBSetting::Save(), CardInput::Save(), ProgramInfo::SaveAspect(), ProgramInfo::SaveAutoExpire(), ProgramInfo::SaveBasename(), ProgramInfo::SaveBookmark(), ChannelUtil::SaveCachedPids(), ProgramInfo::SaveCommFlagged(), ExportNative::saveConfiguration(), MythBurn::saveConfiguration(), ProgramInfo::SaveCutList(), ScreenSetup::saveData(), SourceSetup::saveData(), VideoDisplayProfile::SaveDB(), ProgramInfo::SaveDeletePendingFlag(), ProgramInfo::SaveDVDBookmark(), ProgramInfo::SaveEditing(), ProgramInfo::SaveFilesize(), ProgramInfo::SaveFrameRate(), MusicMetadata::saveHostname(), ProgramInfo::SaveInetRef(), ProgramInfo::SaveMarkup(), ProgramInfo::SaveMarkupMap(), Playlist::savePlaylist(), ProgramInfo::SavePositionMap(), ProgramInfo::SavePositionMapDelta(), ProgramInfo::SavePreserve(), ProgramInfo::SaveResolution(), SaveScan(), ScanDTVTransport::SaveScan(), ChannelInsertInfo::SaveScan(), ProgramInfo::SaveSeasonEpisode(), HTTPLiveStream::SaveSegmentInfo(), MythDB::SaveSettingOnHost(), SmartPLCriteriaRow::saveToDatabase(), RomInfo::SaveToDatabase(), VideoMetadataImp::saveToDatabase(), ProgramInfo::SaveTotalDuration(), ProgramInfo::SaveTotalFrames(), ProgramInfo::SaveTranscodeStatus(), ProgramInfo::SaveVideoProperties(), ProgramInfo::SaveWatched(), MusicFileScanner::ScanArtwork(), MusicFileScanner::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(), GeneralSettings::slotDoResetDB(), MythNews::slotNewsRetrieved(), ChannelOptionsCommon::sourceChanged(), HouseKeeper::Start(), EITScanner::StartActiveScan(), RecordingInfo::StartedRecording(), WeatherSource::startUpdate(), HTTPLiveStream::StopStream(), DiSEqCDevSettings::Store(), DiSEqCDevTree::Store(), DiSEqCDevSwitch::Store(), DiSEqCDevRotor::Store(), DiSEqCDevSCR::Store(), DiSEqCDevLNB::Store(), CustomEdit::storeClicked(), ChannelBase::StoreInputChannels(), CustomEdit::storeRule(), DatabaseLogger::tableExists(), ChannelGroup::ToggleChannel(), GuideGrid::toggleChannelFavorite(), MainServer::TruncateAndClose(), CardUtil::UnlinkInputGroup(), unlock_channel(), unlockShutdown(), ChannelUtil::UpdateChannel(), UpdateDBVersionNumber(), GalleryDatabaseHelper::UpdateDirectory(), ImageUtils::UpdateDirectoryInDB(), updateDiskCount(), updateDisplayRom(), AutoExpire::UpdateDontExpireSet(), GalleryDatabaseHelper::UpdateFile(), ImageUtils::UpdateFileInDB(), UpdateGameCounts(), GameHandler::UpdateGameDB(), updateGameName(), VideoMetadata::UpdateHashedDBRecord(), UpdateHashes(), UpdateHomepageInDB(), ChannelUtil::UpdateInsertInfoFromDB(), ChannelUtil::UpdateIPTVTuningData(), ProgLister::UpdateKeywordInDB(), ProgramInfo::UpdateLastDelete(), HouseKeeperTask::UpdateLastRun(), updateMatches(), HTTPLiveStream::UpdatePercentComplete(), RecordingInfo::UpdateRecordingEnd(), GameHandler::updateSettings(), HTTPLiveStream::UpdateSizeInfo(), SourceUtil::UpdateSource(), HTTPLiveStream::UpdateStatus(), HTTPLiveStream::UpdateStatusMessage(), AllStream::updateStream(), SearchView::updateTracksList(), PlaybackBox::UpdateUILists(), UpgradeGameDatabaseSchema(), UpgradeMusicDatabaseSchema(), UpgradeTVDatabaseSchema(), Scheduler::VerifyCards(), GameHandler::VerifyGameDB(), and WaitToDelete().

MSqlQueryInfo MSqlQuery::SchedCon ( )
static

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

Definition at line 559 of file mythdbcon.cpp.

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

MSqlQueryInfo MSqlQuery::DDCon ( )
static
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 729 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 924 of file mythdbcon.cpp.

Member Data Documentation

MSqlDatabase* MSqlQuery::m_db
private

Definition at line 222 of file mythdbcon.h.

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

bool MSqlQuery::m_isConnected
private

Definition at line 223 of file mythdbcon.h.

Referenced by MSqlQuery().

bool MSqlQuery::m_returnConnection
private

Definition at line 224 of file mythdbcon.h.

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

QString MSqlQuery::m_last_prepared_query
private

Definition at line 225 of file mythdbcon.h.

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

QRegExp MSqlQuery::m_testbindings
private

Definition at line 227 of file mythdbcon.h.

Referenced by MSqlQuery(), and prepare().


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