class KFileCoderView

The KFileCoderView class provides the view widget for the KFileCoderApp instance. More...

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

Public Methods


Detailed Description

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

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

Constructor for the main view

KFileCoderView ()

Destructor for the main view

KFileCoderDocgetDocument ()

[const]

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

void  print (QPrinter *pPrinter)

contains the implementation for printing functionality