tuned-switcher 1.1.0
Performance profile manager
Loading...
Searching...
No Matches
AppConstants Namespace Reference

Functions

QString ProductCompany ()
 
QString ProductCompanyInternal ()
 
QString ProductCopyright ()
 
QString ProductDescription ()
 
QString ProductHomepage ()
 
QString ProductName ()
 
QString ProductNameInternal ()
 
QString ProductVersion ()
 
QString ProductVersionInternal ()
 
QString LauncherName ()
 
QString DomainSchemeName ()
 
QString DataRootPrefix ()
 
int SleepTime ()
 
int TimerDelay ()
 
const char * CategoryNameDbus ()
 
const char * CategoryNameAutorun ()
 
const char * CategoryNameService ()
 
const char * EnvNameGUI ()
 
const char * EnvNameSystemd ()
 
const char * EnvNamePortal ()
 

Detailed Description

Namespace for working with various constants used in project.

Function Documentation

◆ CategoryNameAutorun()

const char * AppConstants::CategoryNameAutorun ( )

Returns the logging category name for autorun related messages.

Returns
Logging category name for autorun related messages.

◆ CategoryNameDbus()

const char * AppConstants::CategoryNameDbus ( )

Returns the logging category name for DBus related messages.

Returns
Logging category name for DBus related messages.

◆ CategoryNameService()

const char * AppConstants::CategoryNameService ( )

Returns the logging category name for system service related messages.

Returns
Logging category name for system service related messages.

◆ DataRootPrefix()

QString AppConstants::DataRootPrefix ( )

Returns the data root directory installation prefix.

Returns
Data root directory installation prefix.

◆ DomainSchemeName()

QString AppConstants::DomainSchemeName ( )

Returns the application reverse domain scheme name.

Returns
Application reverse domain scheme name.

◆ EnvNameGUI()

const char * AppConstants::EnvNameGUI ( )

Returns the environment variable name used to start the application in GUI mode.

Returns
Environment variable name for GUI mode.

◆ EnvNamePortal()

const char * AppConstants::EnvNamePortal ( )

Returns the environment variable name used to always use the desktop portal even if the application is not sandboxed.

Returns
Environment variable name for desktop portal mode.

◆ EnvNameSystemd()

const char * AppConstants::EnvNameSystemd ( )

Returns the environment variable name used to disable built-in systemd dbus API integration.

Returns
Environment variable name for systemd integration mode.

◆ LauncherName()

QString AppConstants::LauncherName ( )

Returns the application launcher file name without the .desktop extension.

Returns
Application launcher file name.

◆ ProductCompany()

QString AppConstants::ProductCompany ( )

Returns the application company public name. Used as a public name in various dialogs.

Returns
Application company public name.

◆ ProductCompanyInternal()

QString AppConstants::ProductCompanyInternal ( )

Returns the application company internal name. Used as a settings directory name.

Returns
Application company internal name.

◆ ProductCopyright()

QString AppConstants::ProductCopyright ( )

Returns the application copyright. Used in various dialogs and messages.

Returns
Application copyright.

◆ ProductDescription()

QString AppConstants::ProductDescription ( )

Returns the application description. Used in various dialogs and messages.

Returns
Application description.

◆ ProductHomepage()

QString AppConstants::ProductHomepage ( )

Returns the application homepage URL. Used in various dialogs and menu items.

Returns
Application homepage URL.

◆ ProductName()

QString AppConstants::ProductName ( )

Returns the application public name. Used as a public name in various dialogs.

Returns
Application public name.

◆ ProductNameInternal()

QString AppConstants::ProductNameInternal ( )

Returns the application internal name. Used as a settings project name.

Returns
Application internal name.

◆ ProductVersion()

QString AppConstants::ProductVersion ( )

Returns the application version number prepended with a text string "Version". Used as a version number in various dialogs and messages.

Returns
Application version number prepended with a text string.

◆ ProductVersionInternal()

QString AppConstants::ProductVersionInternal ( )

Returns the application version number as a string.

Returns
Application version number.

◆ SleepTime()

int AppConstants::SleepTime ( )

Returns the default application sleep time before trying to fetch the available performance profiles.

Returns
Default application sleep time.

◆ TimerDelay()

int AppConstants::TimerDelay ( )

Returns the default timer delay in milliseconds before attempting to shut down the application.

Returns
Default timer delay.