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

kblackbox

Signals | Public Member Functions | Static Public Attributes | List of all members
KBBGraphicsItemCursor Class Reference

#include <kbbgraphicsitemcursor.h>

Inheritance diagram for KBBGraphicsItemCursor:
Inheritance graph
[legend]

Signals

void cursorAtNewPosition (const int borderPosition)
 

Public Member Functions

 KBBGraphicsItemCursor (KBBScalableGraphicWidget *parent, KBBThemeManager *themeManager)
 
int borderPosition ()
 
int boxPosition ()
 
void moveDown ()
 
void moveLeft ()
 
void moveRight ()
 
void moveUp ()
 
void setBoardSize (const int columns, const int rows)
 
void setBorderPosition (const int borderPosition)
 
void setBoxPosition (const int boxPosition)
 
- Public Member Functions inherited from KBBGraphicsItem
 KBBGraphicsItem (KBBScalableGraphicWidget::itemType itemType, QGraphicsScene *scene, KBBThemeManager *themeManager)
 

Static Public Attributes

static const int NO_POSITION = -1
 

Detailed Description

"Cursor" on the scalable graphic widget

The "cursor" is used to play with the keyboard.

Definition at line 44 of file kbbgraphicsitemcursor.h.

Constructor & Destructor Documentation

KBBGraphicsItemCursor::KBBGraphicsItemCursor ( KBBScalableGraphicWidget *  parent,
KBBThemeManager *  themeManager 
)

Definition at line 35 of file kbbgraphicsitemcursor.cpp.

Member Function Documentation

int KBBGraphicsItemCursor::borderPosition ( )

Definition at line 46 of file kbbgraphicsitemcursor.cpp.

int KBBGraphicsItemCursor::boxPosition ( )

Definition at line 52 of file kbbgraphicsitemcursor.cpp.

void KBBGraphicsItemCursor::cursorAtNewPosition ( const int  borderPosition)
signal
void KBBGraphicsItemCursor::moveDown ( )

Definition at line 58 of file kbbgraphicsitemcursor.cpp.

void KBBGraphicsItemCursor::moveLeft ( )

Definition at line 81 of file kbbgraphicsitemcursor.cpp.

void KBBGraphicsItemCursor::moveRight ( )

Definition at line 104 of file kbbgraphicsitemcursor.cpp.

void KBBGraphicsItemCursor::moveUp ( )

Definition at line 128 of file kbbgraphicsitemcursor.cpp.

void KBBGraphicsItemCursor::setBoardSize ( const int  columns,
const int  rows 
)

Definition at line 151 of file kbbgraphicsitemcursor.cpp.

void KBBGraphicsItemCursor::setBorderPosition ( const int  borderPosition)

Definition at line 164 of file kbbgraphicsitemcursor.cpp.

void KBBGraphicsItemCursor::setBoxPosition ( const int  boxPosition)

Definition at line 193 of file kbbgraphicsitemcursor.cpp.

Member Data Documentation

const int KBBGraphicsItemCursor::NO_POSITION = -1
static

Invalid border and box position.

Definition at line 53 of file kbbgraphicsitemcursor.h.


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

KDE's Doxygen guidelines are available online.

kblackbox

Skip menu "kblackbox"
  • Main Page
  • 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