class KprefkdeView

The KprefkdeView class provides the view widget for the KprefkdeApp instance. More...

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

Public Methods


Detailed Description

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

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

Constructor for the main view

KprefkdeView ()

Destructor for the main view

KprefkdeDocgetDocument ()

[const]

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

void  print (QPrinter *pPrinter)

contains the implementation for printing functionality