class Kmp3dbView

The Kmp3dbView class provides the view widget for the Kmp3dbApp instance. More...

Definition#include <kmp3dbview.h>
InheritsQWidget
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Members


Detailed Description

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

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

Constructor for the main view

~Kmp3dbView ()

Destructor for the main view

Kmp3dbDoc * getDocument ()
[const]

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

See also: getDocument

void print (QPrinter *pPrinter)

contains the implementation for printing functionality