MythTV  master
Functions | Variables
mythtv-setup.cpp File Reference
#include <fcntl.h>
#include <iostream>
#include <memory>
#include <unistd.h>
#include <QApplication>
#include <QDir>
#include <QFileInfo>
#include <QMap>
#include <QString>
#include <QtGlobal>
#include "libmyth/langsettings.h"
#include "libmyth/mythcontext.h"
#include "libmyth/storagegroupeditor.h"
#include "libmythbase/cleanupguard.h"
#include "libmythbase/dbutil.h"
#include "libmythbase/exitcodes.h"
#include "libmythbase/mythconfig.h"
#include "libmythbase/mythdbcon.h"
#include "libmythbase/mythdirs.h"
#include "libmythbase/mythlogging.h"
#include "libmythbase/mythmiscutil.h"
#include "libmythbase/mythtranslation.h"
#include "libmythbase/mythversion.h"
#include "libmythbase/remoteutil.h"
#include "libmythbase/signalhandling.h"
#include "libmythtv/cardutil.h"
#include "libmythtv/channelscan/channelimporter.h"
#include "libmythtv/channelscan/channelscanner_cli.h"
#include "libmythtv/channelscan/scaninfo.h"
#include "libmythtv/channelscan/scanwizardconfig.h"
#include "libmythtv/dbcheck.h"
#include "libmythtv/mythsystemevent.h"
#include "libmythtv/profilegroup.h"
#include "libmythtv/videosource.h"
#include "libmythtv/channelgroup.h"
#include "libmythui/mythdisplay.h"
#include "libmythui/myththemedmenu.h"
#include "libmythui/mythuihelper.h"
#include "libmythupnp/ssdp.h"
#include "backendsettings.h"
#include "channeleditor.h"
#include "checksetup.h"
#include "exitprompt.h"
#include "expertsettingseditor.h"
#include "mythtv-setup_commandlineparser.h"
#include "startprompt.h"
Include dependency graph for mythtv-setup.cpp:

Go to the source code of this file.

Functions

static void cleanup ()
 
static void SetupMenuCallback (void *, QString &selection)
 
static bool RunMenu (const QString &themedir, const QString &themename)
 
static bool resetTheme (QString themedir, const QString &badtheme)
 
static int reloadTheme (void)
 
int main (int argc, char *argv[])
 

Variables

ExitPrompterexitPrompt = nullptr
 
StartPrompterstartPrompt = nullptr
 
static MythThemedMenumenu
 
static QString logfile
 

Function Documentation

◆ cleanup()

static void cleanup ( )
static

Definition at line 61 of file mythtv-setup.cpp.

Referenced by main().

◆ SetupMenuCallback()

static void SetupMenuCallback ( void *  ,
QString &  selection 
)
static

Definition at line 71 of file mythtv-setup.cpp.

Referenced by RunMenu().

◆ RunMenu()

static bool RunMenu ( const QString &  themedir,
const QString &  themename 
)
static

Definition at line 174 of file mythtv-setup.cpp.

Referenced by main(), reloadTheme(), and resetTheme().

◆ resetTheme()

static bool resetTheme ( QString  themedir,
const QString &  badtheme 
)
static

Definition at line 197 of file mythtv-setup.cpp.

Referenced by main(), and reloadTheme().

◆ reloadTheme()

static int reloadTheme ( void  )
static

Definition at line 217 of file mythtv-setup.cpp.

Referenced by main().

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 243 of file mythtv-setup.cpp.

Variable Documentation

◆ exitPrompt

ExitPrompter* exitPrompt = nullptr

Definition at line 55 of file mythtv-setup.cpp.

Referenced by SetupMenuCallback().

◆ startPrompt

StartPrompter* startPrompt = nullptr

Definition at line 56 of file mythtv-setup.cpp.

Referenced by main().

◆ menu

MythThemedMenu* menu
static

Definition at line 58 of file mythtv-setup.cpp.

Referenced by LyricsView::createFindLyricsMenu(), VideoDialog::CreateInfoMenu(), PlaybackBox::createJobMenu(), MusicCommon::createMainMenu(), VideoDialog::CreateManageMenu(), VideoDialog::CreateMetadataBrowseMenu(), MusicCommon::createPlayerMenu(), PlaybackBox::createPlayFromMenu(), PlaybackBox::createPlaylistJobMenu(), MusicCommon::createPlaylistMenu(), PlaylistEditorView::createPlaylistMenu(), PlaybackBox::createPlaylistMenu(), MusicCommon::createPlaylistOptionsMenu(), PlaybackBox::createPlaylistStorageMenu(), VideoDialog::CreatePlayMenu(), MusicCommon::createQuickPlaylistsMenu(), PlaybackBox::createRecordingMenu(), MusicCommon::createRepeatMenu(), VideoDialog::CreateSettingsMenu(), NetTree::CreateShowManageMenu(), NetTree::CreateShowViewMenu(), MusicCommon::createShuffleMenu(), PlaylistEditorView::createSmartPlaylistMenu(), PlaybackBox::createStorageMenu(), MusicCommon::createSubMenu(), PlaybackBox::createTranscodingProfilesMenu(), VideoDialog::CreateViewMenu(), MusicCommon::createVisualizerMenu(), VideoDialog::DisplayMenu(), MythThemedMenu::handleAction(), DVBCam::HandleUserIO(), TransportListEditor::Menu(), GalleryThumbView::MenuAction(), GallerySlideView::MenuMain(), GalleryThumbView::MenuMain(), GalleryThumbView::MenuMarked(), GalleryThumbView::MenuPaste(), GalleryThumbView::MenuShow(), GalleryThumbView::MenuSlideshow(), GalleryThumbView::MenuTransform(), GallerySlideView::MenuTransforms(), mythplugin_config(), TV::PlaybackMenuShow(), MythTVMenu::ProcessIncludes(), reloadTheme(), runBurnDVD(), runMenu(), RunMenu(), MythDialogBox::SetMenuItems(), SmartPlaylistEditor::showCategoryMenu(), Ripper::ShowConflictMenu(), SmartPlaylistEditor::showCriteriaMenu(), MythWebView::showDownloadMenu(), MusicCommon::showExitMenu(), PrevRecordedList::ShowItemMenu(), VisualizerView::ShowMenu(), SearchView::ShowMenu(), LyricsView::ShowMenu(), StreamView::ShowMenu(), PrevRecordedList::ShowMenu(), PlaylistEditorView::ShowMenu(), ProgLister::ShowMenu(), ImportMusicDialog::ShowMenu(), EditMetadataDialog::showMenu(), NetTree::ShowMenu(), Ripper::ShowMenu(), EditAlbumartDialog::showMenu(), StandardSettingDialog::ShowMenu(), ProgLister::ShowOldRecordedMenu(), PlaybackSettingsDialog::ShowPlaybackProfileMenu(), MusicCommon::showPlaylistOptionsMenu(), EditMetadataCommon::showSaveMenu(), EditAlbumartDialog::showTypeMenu(), and VideoDialog::VideoMenu().

◆ logfile

QString logfile
static

Definition at line 59 of file mythtv-setup.cpp.