• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kblackbox

KBBGraphicsItemCursor Class Reference

#include <kbbgraphicsitemcursor.h>

Inheritance diagram for KBBGraphicsItemCursor:

Inheritance graph
[legend]

List of all members.


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.


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)

Static Public Attributes

static const int NO_POSITION = -1

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::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.

void KBBGraphicsItemCursor::cursorAtNewPosition ( const int  borderPosition  )  [signal]


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

kblackbox

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

API Reference

Skip menu "API Reference"
  • kblackbox
  • kgoldrunner
  • kmahjongg
  • ksquares
  • libkdegames
  •   highscore
  •   kgame
  •   kggzgames
  •   kggzmod
  •   kggznet
  • libkmahjongg
Generated for API Reference by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal