• Skip to content
  • Skip to link menu
KDE API Documentation - ActivityInfo Class Reference (GCompris-qt)
  • KDE Home
  • Contact Us
 

GCompris-qt

  • View on LXR
  • Comments
Properties | List of all members
ActivityInfo Class Reference
Core QML Components

#include <ActivityInfo.h>

Inherits QObject.

Properties

QString author
 
QString credit
 
bool demo
 
QString description
 
int difficulty
 
bool enabled
 
bool favorite
 
QString goal
 
QString icon
 
QString manual
 
QString name
 
QString prerequisite
 
QString section
 
QString title
 

Detailed Description

A QML component holding meta information about an activity.

Each GCompris activity has to provide some meta data about itself in form of an ActivityInfo definition. This data will be used to register it in the ActivityInfoTree, and populate the full screen help dialog.

See also
DialogHelp

Definition at line 37 of file ActivityInfo.h.

Property Documentation

QString ActivityInfo::author
readwrite

Author of the activity.

Definition at line 75 of file ActivityInfo.h.

QString ActivityInfo::credit
readwrite

Credits to third parties.

Definition at line 110 of file ActivityInfo.h.

bool ActivityInfo::demo
readwrite

Whether the activity is part of the demo version of GCompris.

Definition at line 80 of file ActivityInfo.h.

QString ActivityInfo::description
readwrite

Description of the activity.

Definition at line 90 of file ActivityInfo.h.

int ActivityInfo::difficulty
readwrite

Difficulty of the activity.

A difficulty level from 1 (easiest) to 6 (most difficult).

Definition at line 63 of file ActivityInfo.h.

bool ActivityInfo::enabled
readwrite

This activity is enabled.

Definition at line 117 of file ActivityInfo.h.

QString ActivityInfo::goal
readwrite

Goal that this activity wants to achieve.

Definition at line 95 of file ActivityInfo.h.

QString ActivityInfo::icon
readwrite

Relative path to the icon of the activity.

Example: "activity/activity.svg"

Definition at line 70 of file ActivityInfo.h.

QString ActivityInfo::manual
readwrite

Manual describing the activity's usage.

Definition at line 105 of file ActivityInfo.h.

QString ActivityInfo::name
readwrite

Name of the main activity QML file.

Example: "activity/Activity.qml"

Definition at line 46 of file ActivityInfo.h.

QString ActivityInfo::prerequisite
readwrite

Prerequisite for using this activity.

Definition at line 100 of file ActivityInfo.h.

QString ActivityInfo::section
readwrite

Section(s) this activity belongs to.

An activity can belong to one or multiple activity sections (seperated by whitespace) out of: computer, discovery, experiment, fun, math, puzzle, reading, strategy.

Definition at line 56 of file ActivityInfo.h.

QString ActivityInfo::title
readwrite

Title of the activity.

Definition at line 85 of file ActivityInfo.h.


The documentation for this class was generated from the following files:
  • ActivityInfo.h
  • ActivityInfo.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2015 The KDE developers.
Generated on Tue Jun 2 2015 21:47:48 by doxygen 1.8.9.1 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

GCompris-qt

Skip menu "GCompris-qt"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • File List
  • Modules

Class Picker

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