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

libkdegames

Public Member Functions | List of all members
KgDeclarativeView Class Reference

#include <kgdeclarativeview.h>

Inheritance diagram for KgDeclarativeView:
Inheritance graph
[legend]

Public Member Functions

 KgDeclarativeView (QWidget *parent=0)
 

Detailed Description

A QDeclarativeView that adds KDE specific module paths and javascript bindings.

Since
4.11 This class is a QDeclarativeView that sets up a KDE specific environment like custom QML module paths and javascript function bindings (like i18n) to the declarative view.

For porting KDE games to QML, the central widget of main window is to be replaced by KgDeclarativeView (inside which all the .qml graphics take place), leaving the toolbars, menubars and statusbars as they are, and updating their specifics via signals from QML to C++ part of the code.

Definition at line 42 of file kgdeclarativeview.h.

Constructor & Destructor Documentation

KgDeclarativeView::KgDeclarativeView ( QWidget *  parent = 0)

Construcs a new KgDeclarativeView with KDE specific environment.

Parameters
parentThe parent widget for this view (usually the main window of the game)

Definition at line 23 of file kgdeclarativeview.cpp.


The documentation for this class was generated from the following files:
  • kgdeclarativeview.h
  • kgdeclarativeview.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:44:35 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

libkdegames

Skip menu "libkdegames"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdegames API Reference

Skip menu "kdegames API Reference"
  • granatier
  • kapman
  • kblackbox
  • kgoldrunner
  • kigo
  • kmahjongg
  • KShisen
  • ksquares
  • libkdegames
  •   highscore
  •   libkdegamesprivate
  •     kgame
  • libkmahjongg
  • palapeli
  •   libpala

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