#include <CKlearAppConfig.h>
Public Member Functions | |
CKlearAppConfig () | |
Constructor. | |
~CKlearAppConfig () | |
Destructor. | |
void | ReadConfig () |
Read the current configuration from file. | |
bool | WriteConfig () |
Write configurationdata to disk. | |
void | StoreServiceID (QString ChannelName) |
Stores ServiceID for given ChannelName to configuration file. | |
void | PrintSettings () |
Shows all configuration data in object. Debugging function. | |
bool | CheckConfigfileRevision () |
checks if the current saved configfile is usable for the currently used klear version | |
void | CreateNewConfigfile () |
creates a new plain Klear configfile | |
QString | getKlearConfigPath () const |
Get the path to the Klear configfile. | |
QString | getKlearSchedulerDatafile () const |
gets the name of the schedulerdata file | |
QString | getKlearChannelsConf () const |
Gets the name of the channels.conf file. | |
QString | getDVBAdapter () const |
Gets the name of the DVB adapter device. | |
QString | getDVBDvr () const |
Gets the name of the DVB dvr device. | |
QString | getDVBDemux () const |
Gets the name of the DVB demux device. | |
QString | getDVBFrontend () const |
Gets the name of the DVB frontend device. | |
QString | getDVBMode () const |
Gets the DVB Mode (satellite, terrestric or cable). | |
QString | getPlaybackEngine () const |
gets current Playback engine for stream | |
void | setDVBAdapter (QString setDVBAdapter) |
sets the DVB Adapter to a new value | |
void | setDVBDvr (QString setDVBDvr) |
sets the DVB dvr to a new value | |
void | setDVBDemux (QString setDVBDemux) |
sets the DVB demux to a new value | |
void | setDVBFrontend (QString setDVBFrontend) |
sets the DVB frontend to a new value | |
void | setDVBMode (QString setDVBMode) |
sets the DVB mode (satellite, cable, terrestric) to a new value | |
void | setPlaybackEngine (QString setPlaybackEngine) |
sets current Playback engine for stream | |
QString | getScreenshotDir () const |
get directory where screenshot are stored | |
QString | getScreenshotName () const |
get the name-prefix of the screenshots | |
QString | getScreenshotFormat () const |
gets the screenshot format (png or bmp) | |
void | setScreenshotDir (QString setScreenshotDir) |
set new path to screenshot directory | |
void | setScreenshotName (QString setScreenshotName) |
set a new value for the screenshot directory | |
void | setScreenshotFormat (QString setScreenshotFormat) |
sets format of screenshot to new value (png or bmp) | |
QString | getRecordingDir () const |
returns the current directory where all recordings are stored | |
QString | getRecordingName () const |
gets the current name-prefix of recordings | |
QString | getRecordingFormat () const |
gets the current recording format (TS or PES) | |
void | setRecordingDir (QString setRecordingDir) |
set new recording directory | |
void | setRecordingName (QString setRecordingName) |
sets new recording name-prefix | |
void | setRecordingFormat (QString setRecordingFormat) |
set new value for recording format (TS or PES) | |
int | getApid () const |
gets current AudioPID of tuned channel | |
int | getVpid () const |
gets current VideoPID of tuned channel | |
void | setApid (int setApid) |
set the AudioPID to a new value | |
void | setVpid (int setVpid) |
set the VideoPID to a new value | |
QString | getCurrentChannel () const |
gets the current channelname | |
void | setCurrentChannel (QString setCurrentChannel) |
sets a new channelname | |
u_int | getServiceID () const |
gets the current ServiceID for current channel | |
int | getCurrentVolume () const |
return the current volume | |
void | setCurrentVolume (int setCurrentVolume) |
set a new volume | |
bool | getMuteSystray () const |
tells if user wants klear to mute when docked in systray | |
void | setMuteSystray (bool isMuteSystray) |
sets systray-muting | |
QString | getTimeShiftName () const |
gets the current TimeShiftrecord filename | |
void | setTimeShiftName (QString TimeShiftName) |
sets the current TimeShiftrecord filename | |
void | setWindowSize (QSize size) |
sets the current window size | |
QSize | getWindowSize () |
returns the current window size | |
void | setMenuAlignment (QString alignment) |
sets the menu alignment to either left or right | |
QString | getMenuAlignment () const |
returns the current menu alignment | |
bool | getAutoShowOsd () const |
returns true or false depending on weater showing osd on channelswitching is on or off | |
void | setAutoShowOsd (bool isOsdAutoShown) |
sets showing of osd on channelswitching to ether on or off |
|
Constructor.
|
|
Destructor.
|
|
checks if the current saved configfile is usable for the currently used klear version
|
|
creates a new plain Klear configfile
|
|
gets current AudioPID of tuned channel
|
|
returns true or false depending on weater showing osd on channelswitching is on or off
|
|
gets the current channelname
|
|
return the current volume
|
|
Gets the name of the DVB adapter device.
|
|
Gets the name of the DVB demux device.
|
|
Gets the name of the DVB dvr device.
|
|
Gets the name of the DVB frontend device.
|
|
Gets the DVB Mode (satellite, terrestric or cable).
|
|
Gets the name of the channels.conf file.
|
|
Get the path to the Klear configfile.
|
|
gets the name of the schedulerdata file
|
|
returns the current menu alignment
|
|
tells if user wants klear to mute when docked in systray
|
|
gets current Playback engine for stream
|
|
returns the current directory where all recordings are stored
|
|
gets the current recording format (TS or PES)
|
|
gets the current name-prefix of recordings
|
|
get directory where screenshot are stored
|
|
gets the screenshot format (png or bmp)
|
|
get the name-prefix of the screenshots
|
|
gets the current ServiceID for current channel
|
|
gets the current TimeShiftrecord filename
|
|
gets current VideoPID of tuned channel
|
|
returns the current window size
|
|
Shows all configuration data in object. Debugging function.
|
|
Read the current configuration from file.
|
|
set the AudioPID to a new value
|
|
sets showing of osd on channelswitching to ether on or off
|
|
sets a new channelname
|
|
set a new volume
|
|
sets the DVB Adapter to a new value
|
|
sets the DVB demux to a new value
|
|
sets the DVB dvr to a new value
|
|
sets the DVB frontend to a new value
|
|
sets the DVB mode (satellite, cable, terrestric) to a new value
|
|
sets the menu alignment to either left or right
|
|
sets systray-muting
|
|
sets current Playback engine for stream
|
|
set new recording directory
|
|
set new value for recording format (TS or PES)
|
|
sets new recording name-prefix
|
|
set new path to screenshot directory
|
|
sets format of screenshot to new value (png or bmp)
|
|
set a new value for the screenshot directory
|
|
sets the current TimeShiftrecord filename
|
|
set the VideoPID to a new value
|
|
sets the current window size
|
|
Stores ServiceID for given ChannelName to configuration file.
|
|
Write configurationdata to disk.
|