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
qgtk3theme.cpp File Reference

(8033a313ff28ce2a8e69bd2f6e2d946d291acf5e)

#include "qgtk3theme.h"
#include "qgtk3dialoghelpers.h"
#include <QVariant>
#include <QGuiApplication>
#include <qpa/qwindowsysteminterface.h>
#include <gtk/gtk.h>
Include dependency graph for qgtk3theme.cpp:

Go to the source code of this file.

Macros

#define SETTING_CONNECT(setting)

Functions

template<typename T>
static T gtkSetting (const gchar *propertyName)
static QString gtkSetting (const gchar *propertyName)
void gtkMessageHandler (const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, gpointer unused_data)
static QVariant gtkGetLongPressTime ()

Macro Definition Documentation

◆ SETTING_CONNECT

#define SETTING_CONNECT ( setting)
Value:
g_signal_connect(settings, "notify::" setting, G_CALLBACK(notifyThemeChanged), nullptr)
QSettings settings("MyCompany", "MyApp")
[11]

Function Documentation

◆ gtkGetLongPressTime()

QVariant gtkGetLongPressTime ( )
inlinestatic

Definition at line 111 of file qgtk3theme.cpp.

◆ gtkMessageHandler()

void gtkMessageHandler ( const gchar * log_domain,
GLogLevelFlags log_level,
const gchar * message,
gpointer unused_data )

Definition at line 41 of file qgtk3theme.cpp.

◆ gtkSetting() [1/2]

template<typename T>
QString gtkSetting ( const gchar * propertyName)
static

Definition at line 25 of file qgtk3theme.cpp.

◆ gtkSetting() [2/2]

QString gtkSetting ( const gchar * propertyName)
static

Definition at line 33 of file qgtk3theme.cpp.