MythTV  master
Macros | Functions | Variables
mythuihelper.cpp File Reference
#include "mythuihelper.h"
#include <cmath>
#include <unistd.h>
#include <iostream>
#include <QMutex>
#include <QMap>
#include <QDir>
#include <QFileInfo>
#include <QApplication>
#include <QStyleFactory>
#include <QFile>
#include <QTimer>
#include "libmythbase/mythcorecontext.h"
#include "libmythbase/mythdb.h"
#include "libmythbase/mythdirs.h"
#include "libmythbase/mythlogging.h"
#include "libmythbase/storagegroup.h"
#include "mythprogressdialog.h"
#include "mythimage.h"
#include "mythmainwindow.h"
#include "themeinfo.h"
#include "x11colors.h"
#include "mythdisplay.h"
Include dependency graph for mythuihelper.cpp:

Go to the source code of this file.

Macros

#define LOC   QString("MythUIHelper: ")
 

Functions

MythUIHelperGetMythUI ()
 
void DestroyMythUI ()
 

Variables

static MythUIHelpermythui = nullptr
 
static QMutex uiLock
 

Macro Definition Documentation

◆ LOC

#define LOC   QString("MythUIHelper: ")

Definition at line 31 of file mythuihelper.cpp.

Function Documentation

◆ GetMythUI()

MythUIHelper* GetMythUI ( )

Definition at line 66 of file mythuihelper.cpp.

Referenced by ThemeUpdateChecker::checkForUpdate(), MythBrowser::Create(), GalleryThumbView::customEvent(), MythMainWindow::customEvent(), MythMainWindow::EnterStandby(), MythMainWindow::ExitStandby(), MythWebPage::extension(), MythThemedMenu::findMenuFile(), MythUIImage::FindRandomImage(), MythThemedMenu::handleAction(), MythMainWindow::Init(), MythContextPrivate::Init(), MythUIWebBrowser::Init(), MythUIScreenBounds::InitScreenBounds(), GameHandler::Launchgame(), MythImage::Load(), MythUIImage::Load(), XMLParseBase::LoadBaseTheme(), MythUIThemeCache::LoadCacheImage(), MythTVMenu::LoadFromFile(), ImageLoader::LoadImage(), MythUIVirtualKeyboard::loadKeyDefinitions(), MythMainWindow::LoadQtConfig(), loadScreens(), MythUIProcedural::LoadShaderSource(), XMLParseBase::LoadWindowFromXML(), main(), MenuTheme(), MythImage::MythImage(), MythImageReader::MythImageReader(), mythplugin_config(), MythThemeBase::MythThemeBase(), MythUIGuideGrid::parseDefaultCategoryColors(), playDisc(), Frontend::PlayRecording(), MythFrontendService::PlayRecording(), NetworkControl::processJump(), NetworkControl::processPlay(), NetworkControl::processQuery(), NetworkControl::processTheme(), SchemaUpgradeWizard::PromptForUpgrade(), MythThemeBase::Reload(), reloadTheme(), EditAlbumartDialog::removeCachedImage(), GalleryThumbView::RemoveImages(), ThemeChooser::removeThemeDir(), resetTheme(), MetadataImageDownload::run(), SettingsHelper::RunEpilog(), runMenu(), runMusicPlayback(), runMusicSelection(), runMusicStreamPlayback(), SettingsHelper::RunProlog(), MusicPlayer::sendNotification(), MythFontProperties::SetPixelSize(), MythRect::setRect(), MythContextPrivate::TempMainWindow(), MythUIScreenBounds::UpdateScreenSettings(), XMLParseBase::WindowExists(), and MythUIImage::~MythUIImage().

◆ DestroyMythUI()

void DestroyMythUI ( )

Definition at line 71 of file mythuihelper.cpp.

Referenced by main(), and MythContextPrivate::~MythContextPrivate().

Variable Documentation

◆ mythui

MythUIHelper* mythui = nullptr
static

Definition at line 33 of file mythuihelper.cpp.

Referenced by MythUIHelper::destroyMythUI(), and MythUIHelper::getMythUI().

◆ uiLock

QMutex uiLock
static

Definition at line 34 of file mythuihelper.cpp.

Referenced by MythUIHelper::destroyMythUI(), and MythUIHelper::getMythUI().