Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Calculator Class Reference

#include </home/clem/local/src/opie/noncore/unsupported/qashmoney/calculator.h>

Inheritance diagram for Calculator:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 Calculator (QWidget *parent)

Public Attributes

QLineEdit * display

Private Slots

void displayOne ()
void displayTwo ()
void displayThree ()
void displayFour ()
void displayFive ()
void displaySix ()
void displaySeven ()
void displayEight ()
void displayNine ()
void displayZero ()
void displayPoint ()
void back ()

Private Attributes

QGridLayout * layout

Constructor & Destructor Documentation

Calculator::Calculator QWidget *  parent  ) 
 

Definition at line 5 of file calculator.cpp.

References Qt::AlignRight, back(), display, displayEight(), displayFive(), displayFour(), displayNine(), displayOne(), displayPoint(), displaySeven(), displaySix(), displayThree(), displayTwo(), displayZero(), eight, FALSE, five, four, layout, nine, one, seven, six, three, TRUE, and two.


Member Function Documentation

void Calculator::back  )  [private, slot]
 

Definition at line 110 of file calculator.cpp.

References display.

Referenced by Calculator().

void Calculator::displayEight  )  [private, slot]
 

Definition at line 98 of file calculator.cpp.

References display.

Referenced by Calculator().

void Calculator::displayFive  )  [private, slot]
 

Definition at line 89 of file calculator.cpp.

References display.

Referenced by Calculator().

void Calculator::displayFour  )  [private, slot]
 

Definition at line 86 of file calculator.cpp.

References display.

Referenced by Calculator().

void Calculator::displayNine  )  [private, slot]
 

Definition at line 101 of file calculator.cpp.

References display.

Referenced by Calculator().

void Calculator::displayOne  )  [private, slot]
 

Definition at line 77 of file calculator.cpp.

References display.

Referenced by Calculator().

void Calculator::displayPoint  )  [private, slot]
 

Definition at line 107 of file calculator.cpp.

References display.

Referenced by Calculator().

void Calculator::displaySeven  )  [private, slot]
 

Definition at line 95 of file calculator.cpp.

References display.

Referenced by Calculator().

void Calculator::displaySix  )  [private, slot]
 

Definition at line 92 of file calculator.cpp.

References display.

Referenced by Calculator().

void Calculator::displayThree  )  [private, slot]
 

Definition at line 83 of file calculator.cpp.

References display.

Referenced by Calculator().

void Calculator::displayTwo  )  [private, slot]
 

Definition at line 80 of file calculator.cpp.

References display.

Referenced by Calculator().

void Calculator::displayZero  )  [private, slot]
 

Definition at line 104 of file calculator.cpp.

References display.

Referenced by Calculator().


Member Data Documentation

QLineEdit* Calculator::display
 

Definition at line 16 of file calculator.h.

Referenced by back(), Calculator(), displayEight(), displayFive(), displayFour(), displayNine(), displayOne(), displayPoint(), displaySeven(), displaySix(), displayThree(), displayTwo(), displayZero(), TransactionDisplay::showCalculator(), NewTransaction::showCalculator(), NewAccount::showCalculator(), TransferDialog::showCalculator(), and NewAccount::showCreditLimitCalculator().

QGridLayout* Calculator::layout [private]
 

Definition at line 35 of file calculator.h.

Referenced by Calculator().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:27:47 2005 for OPIE by  doxygen 1.4.2