Overte C++ Documentation
ScreenName Class Reference

Screen naming. More...

#include <ScreenName.h>

Static Public Member Functions

static QString getNameForScreen (QScreen *screen)
 Get a descriptive name for a screen. More...
 

Detailed Description

Screen naming.

This class exists because display-plugins and interface need to share the same, fairly involved rule for converting QScreen data to user-facing text.

Member Function Documentation

◆ getNameForScreen()

QString ScreenName::getNameForScreen ( QScreen *  screen)
static

Get a descriptive name for a screen.

This is used in the graphics settings, to name monitors. This function tries to generate human friendly and unique, even if two identical monitors are present.

Parameters
screenScreen to provide a name for
Returns
QString Descriptive name for the screen

The documentation for this class was generated from the following files: