Qt 4.8
Static Public Functions | List of all members
QGraphicsSystemFactory Class Reference

#include <qgraphicssystemfactory_p.h>

Static Public Functions

static QGraphicsSystemcreate (const QString &)
 
static QStringList keys ()
 Returns the list of valid keys, i.e. More...
 

Detailed Description

Definition at line 66 of file qgraphicssystemfactory_p.h.

Functions

◆ create()

static QGraphicsSystem* QGraphicsSystemFactory::create ( const QString )
static

◆ keys()

QStringList QGraphicsSystemFactory::keys ( )
static

Returns the list of valid keys, i.e.

the keys this factory can create styles for.

See also
create()

Definition at line 108 of file qgraphicssystemfactory.cpp.

109 {
110 #ifndef QT_NO_LIBRARY
111  QStringList list = loader()->keys();
112 #else
113  QStringList list;
114 #endif
115  if (!list.contains(QLatin1String("Raster")))
116  list << QLatin1String("raster");
117  return list;
118 }
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
The QStringList class provides a list of strings.
Definition: qstringlist.h:66
The QLatin1String class provides a thin wrapper around an US-ASCII/Latin-1 encoded string literal...
Definition: qstring.h:654
QBool contains(const QString &str, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
Returns true if the list contains the string str; otherwise returns false.
Definition: qstringlist.h:172

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