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

KScheduledView Class Reference

A class to encapsulate recurring transaction operations. More...

#include <kscheduledview.h>

Inheritance diagram for KScheduledView:

KScheduledViewDecl QWidget Collaboration diagram for KScheduledView:

Collaboration graph
[legend]
List of all members.

Public Slots

void slotSelectSchedule (const QCString &schedule)
void slotReloadView (void)

Signals

void scheduleSelected (const MyMoneySchedule &schedule)
void openContextMenu (void)
void enterSchedule (void)
void editSchedule (void)

Public Member Functions

 KScheduledView (QWidget *parent=0, const char *name=0)
 ~KScheduledView ()
void show ()

Protected Slots

void slotListViewContextMenu (KListView *view, QListViewItem *item, const QPoint &pos)
void slotListItemExecuted (QListViewItem *, const QPoint &, int)
void slotAccountActivated (int)
void slotListViewCollapsed (QListViewItem *item)
void slotListViewExpanded (QListViewItem *item)
void slotBriefEnterClicked (const MyMoneySchedule &schedule, const QDate &)
void slotTimerDone (void)
void slotSetSelectedItem (QListViewItem *item)
void slotRearrange (void)

Private Member Functions

void readConfig (void)
 Read config file.
void writeConfig (void)
 Write config file.
void refresh (bool full=true, const QCString schedId=QCString())

Private Attributes

QCString m_selectedSchedule
 The selected schedule id in the list view.
KPopupMenu * m_kaccPopup
QCStringList m_filterAccounts
bool m_openBills
bool m_openDeposits
bool m_openTransfers
bool m_openLoans
bool m_needReload
KListViewSearchLineWidgetm_searchWidget

Detailed Description

Contains all the scheduled transactions be they bills, deposits or transfers. Encapsulates all the operations including adding, editing and deleting. Used by the KMyMoneyView class to show the view.

Author:
Michael Edwardes 2000-2002
Id
kscheduledview.h,v 1.30 2008/01/20 14:52:12 ipwizard Exp


Constructor & Destructor Documentation

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

Standard constructor for QWidgets.

KScheduledView::~KScheduledView  ) 
 

Standard destructor.


Member Function Documentation

void KScheduledView::editSchedule void   )  [signal]
 

void KScheduledView::enterSchedule void   )  [signal]
 

void KScheduledView::openContextMenu void   )  [signal]
 

void KScheduledView::readConfig void   )  [private]
 

void KScheduledView::refresh bool  full = true,
const QCString  schedId = QCString()
[private]
 

Refresh the view.

void KScheduledView::scheduleSelected const MyMoneySchedule schedule  )  [signal]
 

void KScheduledView::show  ) 
 

Called by KMyMoneyView.

void KScheduledView::slotAccountActivated int   )  [protected, slot]
 

void KScheduledView::slotBriefEnterClicked const MyMoneySchedule schedule,
const QDate & 
[protected, slot]
 

void KScheduledView::slotListItemExecuted QListViewItem ,
const QPoint &  ,
int 
[protected, slot]
 

void KScheduledView::slotListViewCollapsed QListViewItem item  )  [protected, slot]
 

void KScheduledView::slotListViewContextMenu KListView view,
QListViewItem item,
const QPoint &  pos
[protected, slot]
 

Shows the context menu when the user right clicks or presses a 'windows' key when an item is selected.

Parameters:
view a pointer to the view
item a pointer to the current selected listview item
pos The position to popup
Returns:
none

void KScheduledView::slotListViewExpanded QListViewItem item  )  [protected, slot]
 

void KScheduledView::slotRearrange void   )  [protected, slot]
 

void KScheduledView::slotReloadView void   )  [slot]
 

void KScheduledView::slotSelectSchedule const QCString &  schedule  )  [slot]
 

void KScheduledView::slotSetSelectedItem QListViewItem item  )  [protected, slot]
 

void KScheduledView::slotTimerDone void   )  [protected, slot]
 

void KScheduledView::writeConfig void   )  [private]
 


Member Data Documentation

QCStringList KScheduledView::m_filterAccounts [private]
 

KPopupMenu* KScheduledView::m_kaccPopup [private]
 

Loads the accounts into the combo box.

bool KScheduledView::m_needReload [private]
 

bool KScheduledView::m_openBills [private]
 

bool KScheduledView::m_openDeposits [private]
 

bool KScheduledView::m_openLoans [private]
 

bool KScheduledView::m_openTransfers [private]
 

KListViewSearchLineWidget* KScheduledView::m_searchWidget [private]
 

Search widget for the list

QCString KScheduledView::m_selectedSchedule [private]
 


The documentation for this class was generated from the following file:
Generated on Tue Nov 18 12:10:27 2008 for KMyMoney by  doxygen 1.4.1