kanagram
#include <kdeclarativeview.h>

Public Member Functions | |
KDeclarativeView (QWidget *parent=0) | |
~KDeclarativeView () | |
Plasma::Package * | package () const |
QString | packageName () const |
void | setPackage (Plasma::Package *package) |
void | setPackageName (const QString &packageName) |
void | setUseGL (const bool on) |
bool | useGL () const |
Detailed Description
Definition at line 35 of file kdeclarativeview.h.
Constructor & Destructor Documentation
KDeclarativeView::KDeclarativeView | ( | QWidget * | parent = 0 | ) |
Definition at line 49 of file kdeclarativeview.cpp.
KDeclarativeView::~KDeclarativeView | ( | ) |
Definition at line 72 of file kdeclarativeview.cpp.
Member Function Documentation
Plasma::Package * KDeclarativeView::package | ( | ) | const |
- Returns
- the plugin name of the package that holds the application QML UI
Definition at line 100 of file kdeclarativeview.cpp.
QString KDeclarativeView::packageName | ( | ) | const |
- Returns
- the plugin name of the package
Definition at line 84 of file kdeclarativeview.cpp.
void KDeclarativeView::setPackage | ( | Plasma::Package * | package | ) |
Sets the package used for the application QML UI.
You usually don't need to use this, rather use setPackageName
- See also
- setPackageName
Definition at line 89 of file kdeclarativeview.cpp.
void KDeclarativeView::setPackageName | ( | const QString & | packageName | ) |
Sets the package from where load the application QML UI The package must be of the type "Generic package" it must provide a qml file as "mainscript".
- QString packageName the plugin name of the package
Definition at line 77 of file kdeclarativeview.cpp.
void KDeclarativeView::setUseGL | ( | const bool | on | ) |
Sets wether the application uses opengl.
- bool on if true the declarative view will use opengl for its viewport()
Definition at line 105 of file kdeclarativeview.cpp.
bool KDeclarativeView::useGL | ( | ) | const |
- Returns
- true if the declarative view uses opengl
Definition at line 117 of file kdeclarativeview.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:35:35 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.