class KalbumView

The KalbumView class provides the view widget for the KalbumApp instance. More...

Definition#include <kalbumview.h>
InheritsQWidget (qt) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

The KalbumView class provides the view widget for the KalbumApp instance. The View instance inherits QWidget as a base class and represents the view object of a KTMainWindow. As KalbumView is part of the docuement-view model, it needs a reference to the document object connected with it by the KalbumApp class to manipulate and display the document structure provided by the KalbumDoc class.

 KalbumView (QWidget *parent = 0, const char *name=0)

KalbumView

 ~KalbumView ()

~KalbumView

KalbumDocgetDocument ()

getDocument

[const]

returns a pointer to the document connected to the view instance. Mind that this method requires a KalbumApp instance as a parent widget to get to the window document pointer by calling the KalbumApp::getDocument() method.

See also: getDocument

void  print (QPrinter *pPrinter)

print