• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • @topname@
  • Sitemap
  • Contact Us
 

libkdegames

KGameLCDList Class Reference

This widget holds a list of TQLCDNumber arranged in a vertical layout. More...

#include <kgamelcd.h>

Inherits QWidget.

List of all members.


Public Member Functions

 KGameLCDList (const TQString &title, TQWidget *parent=0, const char *name=0)
 KGameLCDList (TQWidget *parent=0, const char *name=0)
void append (TQLCDNumber *lcd)
void append (const TQString &leading, TQLCDNumber *lcd)
void clear ()
TQLabel * title () const
TQLCDNumber * lcd (uint i) const
uint size () const

Detailed Description

This widget holds a list of TQLCDNumber arranged in a vertical layout.

It also shows a label at the top of the list.

Since:
3.2

Definition at line 190 of file kgamelcd.h.


Constructor & Destructor Documentation

KGameLCDList::KGameLCDList ( const TQString &  title,
TQWidget *  parent = 0,
const char *  name = 0 
)

Constructor.

Parameters:
title is the content of the top label.
parent passed to the TQWidget constructor
name passed to the TQWidget constructor

Definition at line 194 of file kgamelcd.cpp.


Member Function Documentation

void KGameLCDList::append ( TQLCDNumber *  lcd  ) 

Append a TQLCDNumber at the bottom of the list.

The TQLCDNumber should have the KGameLCDList as parent.

Definition at line 224 of file kgamelcd.cpp.

void KGameLCDList::append ( const TQString &  leading,
TQLCDNumber *  lcd 
)

Append a TQLCDNumber at the bottom of the list.

The TQLCDNumber should have the KGameLCDList as parent.

Definition at line 229 of file kgamelcd.cpp.

void KGameLCDList::clear (  ) 

Delete all TQLCDNumber and clear the list.

Definition at line 242 of file kgamelcd.cpp.

TQLabel* KGameLCDList::title (  )  const [inline]

Returns:
the title label.

Definition at line 227 of file kgamelcd.h.

TQLCDNumber* KGameLCDList::lcd ( uint  i  )  const [inline]

Returns:
the TQLCDNumber at index
Parameters:
i 

Definition at line 232 of file kgamelcd.h.

uint KGameLCDList::size (  )  const [inline]

Returns:
the number of TQLCDNumber in the list.

Definition at line 237 of file kgamelcd.h.


The documentation for this class was generated from the following files:
  • kgamelcd.h
  • kgamelcd.cpp

libkdegames

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

@topname@

Skip menu "@topname@"
  • libkdegames
Generated for @topname@ by doxygen 1.5.6
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