#include "qgtkstyle_p.h"
#include <QtCore/qglobal.h>
#include <QtCore/QEvent>
#include <QtCore/QFile>
#include <QtCore/QStringList>
#include <QtCore/QTextStream>
#include <QtCore/QHash>
#include <QtCore/QUrl>
#include <QtCore/QLibrary>
#include <QtCore/QDebug>
#include <private/qapplication_p.h>
#include <private/qiconloader_p.h>
#include <QtGui/QMenu>
#include <QtGui/QStyle>
#include <QtGui/QApplication>
#include <QtGui/QPixmapCache>
#include <QtGui/QStatusBar>
#include <QtGui/QMenuBar>
#include <QtGui/QToolBar>
#include <QtGui/QToolButton>
#include <QtGui/QX11Info>
#include <private/qt_x11_p.h>
Go to the source code of this file.
◆ x11ErrorHandler
typedef int(* x11ErrorHandler) (Display *, XErrorEvent *) |
◆ classPath()
Definition at line 239 of file qgtkstyle_p.cpp.
Referenced by QGtkStylePrivate::addWidgetToMap().
244 char *copy = class_path;
245 if (strncmp(copy,
"GtkWindow.", 10) == 0)
247 if (strncmp(copy,
"GtkFixed.", 9) == 0)
static Ptr_gtk_widget_path gtk_widget_path
QPointer< QWidget > widget
static QHashableLatin1Literal fromData(const char *str)
◆ gtkStyleSetCallback()
static void gtkStyleSetCallback |
( |
GtkWidget * |
| ) |
|
|
static |
◆ operator==()
Definition at line 1142 of file qgtkstyle_p.cpp.
Referenced by operator!=().
const char * data() const
int qstrcmp(const char *str1, const char *str2)
A safe strcmp() function.
◆ Q_DECLARE_METATYPE()
◆ qHash()
Definition at line 1148 of file qgtkstyle_p.cpp.
Referenced by operator!=().
1156 h = (h << 4) + *p++;
1157 if ((g = (h & 0xf0000000)) != 0)
const char * data() const
◆ qt_make_filter_list()
◆ resolveGConf()
static bool resolveGConf |
( |
| ) |
|
|
static |
Definition at line 605 of file qgtkstyle_p.cpp.
Referenced by QGtkStylePrivate::getGConfBool(), QGtkStylePrivate::getGConfString(), and QGtkStylePrivate::getThemeName().
static Ptr_gconf_client_get_string gconf_client_get_string
static Ptr_gconf_client_get_default gconf_client_get_default
char *(* Ptr_gconf_client_get_string)(GConfClient *, const char *, GError **)
static Ptr_gconf_client_get_bool gconf_client_get_bool
void * resolve(const char *symbol)
Returns the address of the exported symbol symbol.
bool(* Ptr_gconf_client_get_bool)(GConfClient *, const char *, GError **)
GConfClient *(* Ptr_gconf_client_get_default)()
◆ update_toolbar_style()
static void update_toolbar_style |
( |
GtkWidget * |
gtkToolBar, |
|
|
GParamSpec * |
, |
|
|
gpointer |
|
|
) |
| |
|
static |
Definition at line 225 of file qgtkstyle_p.cpp.
Referenced by QGtkStylePrivate::initGtkWidgets().
227 GtkToolbarStyle toolbar_style = GTK_TOOLBAR_ICONS;
228 g_object_get(gtkToolBar,
"toolbar-style", &toolbar_style, NULL);
230 for (
int i = 0; i < widgets.
size(); ++i) {
232 if (qobject_cast<QToolButton*>(widget)) {
static QWidgetList allWidgets()
Returns a list of all the widgets in the application.
QPointer< QWidget > widget
const T & at(int i) const
Returns the item at index position i in the list.
static bool sendEvent(QObject *receiver, QEvent *event)
Sends event event directly to receiver receiver, using the notify() function.
int size() const
Returns the number of items in the list.
The QEvent class is the base class of all event classes.
The QList class is a template class that provides lists.
◆ displayDepth