class MyTestDoc
|
*
This program is free software; you can redistribute it and/or modify *
it under the terms of the GNU General Public License as published by *
the Free Software Foundation; either version 2 of the License, or *
(at your option) any later version. More... |
|
|
Public Methods
Public Slots
Private Members
*
This program is free software; you can redistribute it and/or modify *
it under the terms of the GNU General Public License as published by *
the Free Software Foundation; either version 2 of the License, or *
(at your option) any later version. *
*
*************************************************************************
friend MyTestView
| MyTestView |
[private]
void changedViewList ()
| changedViewList |
bool isLastView ()
| isLastView |
bool canCloseFrame (MyTestView* pFrame)
| canCloseFrame |
This method gets called when the user is about to close a frame window. It checks, if more than one view
is connected to the document (then the frame can be closed), if pFrame is the last view and the document is
modified, the user gets asked if he wants to save the document.
void setModified (bool _m=true)
| setModified |
bool isModified ()
| isModified |
void deleteContents ()
| deleteContents |
bool newDocument ()
| newDocument |
void closeDocument ()
| closeDocument |
bool openDocument (const KURL &url, const char *format=0)
| openDocument |
bool saveDocument (const KURL &url, const char *format=0)
| saveDocument |
[const]
void setURL (const KURL& url)
| setURL |
void updateAllViews (MyTestView *sender)
| updateAllViews |
[slot]
calls repaint() on all views connected to the document object and is called by the view by which the document has been changed.
As this view normally repaints itself, it is excluded from the paintEvent.
[private]
[private]
[private]
Generated by: guivol on linux on Thu Mar 4 17:29:43 2004, using kdoc 2.0a54. |