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 "mythdirs.h"
#include "mythlogging.h"
#include "mythdb.h"
#include "mythcorecontext.h"
#include "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(), MythMainWindow::customEvent(), GalleryThumbView::customEvent(), MythMainWindow::EnterStandby(), MythMainWindow::ExitStandby(), MythWebPage::extension(), MythThemedMenu::findMenuFile(), MythUIImage::FindRandomImage(), MythThemedMenu::handleAction(), MythContextPrivate::Init(), MythMainWindow::Init(), MythUIWebBrowser::Init(), MythUIScreenBounds::InitScreenBounds(), GameHandler::Launchgame(), MythUIImage::Load(), MythImage::Load(), XMLParseBase::LoadBaseTheme(), MythUIThemeCache::LoadCacheImage(), MythTVMenu::LoadFromFile(), ImageLoader::LoadImage(), MythUIVirtualKeyboard::loadKeyDefinitions(), MythMainWindow::LoadQtConfig(), loadScreens(), XMLParseBase::LoadWindowFromXML(), main(), MenuTheme(), MythImage::MythImage(), MythImageReader::MythImageReader(), mythplugin_config(), MythThemeBase::MythThemeBase(), MythUIGuideGrid::parseDefaultCategoryColors(), playDisc(), Frontend::PlayRecording(), NetworkControl::processJump(), NetworkControl::processPlay(), NetworkControl::processQuery(), NetworkControl::processTheme(), 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().