Logo Search packages:      
Sourcecode: lemonpos-kde4 version File versions  Download package

Gaveta Class Reference

#include <gaveta.h>

List of all members.

Detailed Description

Gaveta Class.

This class is for store money control.

Miguel Chavez Gamboa <miguel.chavez.gamboa@gmail.com>

Definition at line 36 of file gaveta.h.

Public Member Functions

void addCard (double amount)
void addCash (double amount)
double getAvailableInCard ()
double getAvailableInCash ()
int getCardTransactionsCount ()
int getCashTransactionsCount ()
double getInAmount ()
double getInitialAmount ()
double getOutAmount ()
QDateTime getStartDateTime ()
QList< int > getTransactionIds ()
int getTransactionsCount ()
void incCardTransactions ()
void incCashTransactions ()
void insertTransactionId (int id)
bool isUnused ()
void open ()
void setAvailableInCard (double amount)
void setAvailableInCash (double amount)
void setInitialAmount (double qty)
void setStartDateTime (QDateTime datetime)
void substractCard (double amount)
void substractCash (double amount)

Private Member Functions

void addLog (double qty)
void clearLog ()

Private Attributes

double availableInCard
double availableInCash
int cardTransactions
int cashTransactions
double in
double initialAmount
QList< double > log
double out
QDateTime startDateTime
QList< int > tIds
int totalTransactions
bool unused

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index