• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • libkdegames
 

libkdegames

Public Member Functions

KGameLCDList Class Reference

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

#include <kgamelcd.h>

Inherits TQWidget.

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

TQLCDNumber* KGameLCDList::lcd ( uint  i  )  const [inline]
Returns:
the TQLCDNumber at index
Parameters:
i 

Definition at line 235 of file kgamelcd.h.

uint KGameLCDList::size (  )  const [inline]
Returns:
the number of TQLCDNumber in the list.

Definition at line 240 of file kgamelcd.h.

TQLabel* KGameLCDList::title (  )  const [inline]
Returns:
the title label.

Definition at line 230 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

libkdegames

Skip menu "libkdegames"
  • libkdegames
Generated for libkdegames by doxygen 1.7.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |