class KPartEdApp

This Class is the base class for your application. More...

Definition#include <kparted/kparted.h>
InheritsQMainWindow (qt)
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Private Members


Detailed Description

This Class is the base class for your application. It sets up the main window and providing a menubar, toolbar and statusbar. For the main view, an instance of class KPartEdView is created which creates your view.

 KPartEdApp ()

construtor

KPartEdApp ()

destructor

void  initDoc ()

setup the document

void  initView ()

setup the mainview

bool  queryExit ()

overloaded for Message box on last window exit

KPartEdView * view

[private]

view is the main widget which represents your working area. The View class should handle all events of the view widget. It is kept empty so you can create your view according to your application's needs by changing the view class.

KPartEdDoc * doc

[private]

doc represents your actual document and is created only once. It keeps information such as filename and does the serialization of your files.


Generated by: rich@pegasus on Mon Jul 16 00:25:18 2001, using kdoc 2.0a45.