• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

kanagram

Public Member Functions | List of all members
KDeclarativeView Class Reference

#include <kdeclarativeview.h>

Inheritance diagram for KDeclarativeView:
Inheritance graph
[legend]

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:
  • kdeclarativeview.h
  • kdeclarativeview.cpp
This file is part of the KDE documentation.
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.

kanagram

Skip menu "kanagram"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal