KEasyCDView Class

# KEasyCDView Class Reference

[KEasyCD Index] [KEasyCD Hierarchy] [Headers]

This class provides an incomplete base for your application view More...

`#include <keasycdview.h>`

Inherits: QWidget

## Public Members

- KEasyCDView (QWidget *parent = 0, const char *name = 0)
- virtual ~KEasyCDView ()

## Public Slots

- void slotEditCut ()
- void slotEditCopy ()
- void slotEditPaste ()

## Protected Members

- virtual void resizeEvent (QResizeEvent *evt)

## Detailed Description

This class provides an incomplete base for your application view. This also requires a new implementation of resizeEvent so your view is displayed correctly. Your View Widget should provide methods to handle the users actions on the view and interact with the doc class of the application to set the modified flag for the document. Example: You decided to use a QMultilineEdit widget in your view. This Widget emits a signal textChaged() if the user changes the text. Then, you could use this signal to connect to the slot of the doc class to set the

### KEasyCDView(QWidget *parent = 0, const char *name = 0) `[public]`

Constructor for the main view

### ~KEasyCDView() `[public virtual]`

Destructor for the main view

### void slotEditCut() `[public slot]`

put the marked text/object into the clipboard and remove

### void slotEditCopy() `[public slot]`

put the marked text/object into the clipboard

### void slotEditPaste() `[public slot]`

paste the clipboard into the document

### void resizeEvent(QResizeEvent *evt) `[protected virtual]`

resizeEvent for the main view

| Kdoc