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

KMyMoneyPlugin::KMMViewInterface Class Reference

#include <kmmviewinterface.h>

Inheritance diagram for KMyMoneyPlugin::KMMViewInterface:

KMyMoneyPlugin::ViewInterface QObject Collaboration diagram for KMyMoneyPlugin::KMMViewInterface:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 KMMViewInterface (KMyMoney2App *app, KMyMoneyView *view, QObject *parent, const char *name=0)
 ~KMMViewInterface ()
KMyMoneyViewBaseaddPage (const QString &item, const QString &icon)
void addWidget (KMyMoneyViewBase *view, QWidget *w)

Private Attributes

KMyMoney2Appm_app
KMyMoneyViewm_view

Detailed Description

This class represents the implementation of the ViewInterface.


Constructor & Destructor Documentation

KMyMoneyPlugin::KMMViewInterface::KMMViewInterface KMyMoney2App app,
KMyMoneyView view,
QObject parent,
const char *  name = 0
 

KMyMoneyPlugin::KMMViewInterface::~KMMViewInterface  )  [inline]
 


Member Function Documentation

KMyMoneyViewBase* KMyMoneyPlugin::KMMViewInterface::addPage const QString &  item,
const QString &  icon
[virtual]
 

This method returns a pointer to a newly created view with title item and icon pixmap.

Parameters:
item Name of view
icon name for the icon to be used for the view
Returns:
pointer to KMyMoneyViewBase object

Implements KMyMoneyPlugin::ViewInterface.

void KMyMoneyPlugin::KMMViewInterface::addWidget KMyMoneyViewBase view,
QWidget w
[virtual]
 

This method allows to add a widget to the view created with addPage()

Parameters:
view pointer to view object
w pointer to widget

Implements KMyMoneyPlugin::ViewInterface.


Member Data Documentation

KMyMoney2App* KMyMoneyPlugin::KMMViewInterface::m_app [private]
 

KMyMoneyView* KMyMoneyPlugin::KMMViewInterface::m_view [private]
 


The documentation for this class was generated from the following file:
Generated on Sun Sep 7 04:12:17 2008 for KMyMoney by  doxygen 1.4.1