Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
globals.cpp File Reference

(0e1e27cb244219c63e8b50875ad3e00ec88d303a)

#include "globals.h"
#include <QApplication>
#include <QColor>
#include <QPalette>
#include <QStyleHints>
Include dependency graph for globals.cpp:

Go to the source code of this file.

Functions

QT_BEGIN_NAMESPACE const QStringsettingsPrefix ()
QString settingPath (const char *path)
bool isDarkMode ()
QPixmap createMarkIcon (TranslationMarks mark, bool darkMode)

Function Documentation

◆ createMarkIcon()

QPixmap createMarkIcon ( TranslationMarks mark,
bool darkMode )

Definition at line 44 of file globals.cpp.

◆ isDarkMode()

bool isDarkMode ( )

Definition at line 38 of file globals.cpp.

Referenced by MessageHighlighter::adjustColors(), and MessageModel::data().

Here is the caller graph for this function:

◆ settingPath()

QString settingPath ( const char * path)

Definition at line 33 of file globals.cpp.

◆ settingsPrefix()

QT_BEGIN_NAMESPACE const QString & settingsPrefix ( )

Definition at line 25 of file globals.cpp.