KMyMoneyFrequencyCombo Class Reference

#include <kmymoneycombo.h>

Inheritance diagram for KMyMoneyFrequencyCombo:

KMyMoneyOccurenceCombo KMyMoneyGeneralCombo KComboBox
Collaboration diagram for KMyMoneyFrequencyCombo:

Collaboration graph

List of all members.

Public Member Functions

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

Detailed Description

This class implements a payment frequency selector
Thomas Baumgart

Constructor & Destructor Documentation

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

Member Function Documentation

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.

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.

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

Generated on Wed Jan 26 13:08:00 2011 for KMyMoney by  doxygen 1.5.6