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

KMyMoneyFrequencyCombo Class Reference

#include <kmymoneycombo.h>

Inheritance diagram for KMyMoneyFrequencyCombo:

KMyMoneyGeneralCombo KComboBox Collaboration diagram for KMyMoneyFrequencyCombo:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 KMyMoneyFrequencyCombo (QWidget *parent=0, const char *name=0)
MyMoneySchedule::occurenceE currentItem (void) const
int eventsPerYear (void) const
int daysBetweenEvents (void) const

Detailed Description

This class implements a payment frequency selector
Author:
Thomas Baumgart


Constructor & Destructor Documentation

KMyMoneyFrequencyCombo::KMyMoneyFrequencyCombo QWidget parent = 0,
const char *  name = 0
 


Member Function Documentation

MyMoneySchedule::occurenceE KMyMoneyFrequencyCombo::currentItem void   )  const
 

Reimplemented from KMyMoneyGeneralCombo.

int KMyMoneyFrequencyCombo::daysBetweenEvents void   )  const
 

This method returns the number of days between two events of the selected frequency. The return value for months is based on 30 days and the year is 360 days long.

int KMyMoneyFrequencyCombo::eventsPerYear void   )  const
 

This method returns the number of events for the selected payment frequency (eg for yearly the return value is 1 and for monthly it is 12). In case, the frequency cannot be converted (once, every other year, etc.) the method returns 0.


The documentation for this class was generated from the following file:
Generated on Mon Oct 13 12:13:39 2008 for KMyMoney by  doxygen 1.4.1