Logo Search packages:      
Sourcecode: ktechlab version File versions  Download package

Document Class Reference

#include <document.h>

Inheritance diagram for Document:

ItemDocument TextDocument ICNDocument MechanicsDocument CircuitDocument FlowCodeDocument PinMapDocument

List of all members.


Detailed Description

Author:
David Saxton

Definition at line 29 of file document.h.


Public Types

enum  DocumentType {
  dt_none, dt_flowcode, dt_circuit, dt_mechanics,
  dt_text, dt_pinMapEditor
}

Signals

void fileNameChanged (const KURL &url)
void modifiedStateChanged ()
void undoRedoStateChanged ()
void viewFocused (View *view)
void viewUnfocused ()

Public Member Functions

ViewactiveView () const
QString caption () const
virtual void convertToAssembly ()
virtual void convertToHex ()
virtual void convertToMicrobe ()
virtual void convertToPIC ()
virtual void copy ()
virtual ViewcreateView (ViewContainer *viewContainer, uint viewAreaId, const char *name=0l)=0
virtual void cut ()
unsigned dcopID () const
DCOPObject * dcopObject () const
virtual void debugInterrupt ()
virtual void debugRun ()
virtual void debugStep ()
virtual void debugStop ()
 Document (const QString &caption, KTechlab *ktechlab, const char *name=0)
virtual bool fileClose ()
virtual void fileSave ()=0
virtual void fileSaveAs ()=0
bool getURL (const QString &types)
bool isDeleted () const
virtual bool isModified () const
virtual bool isRedoAvailable () const
virtual bool isUndoAvailable () const
KTechlabktechlab () const
uint numberOfViews () const
virtual bool openURL (const KURL &url)=0
virtual void paste ()
virtual void print ()
virtual void redo ()
virtual void selectAll ()
void setAddToProjectOnSave (bool add)
void setCaption (const QString &caption)
void setDCOPID (unsigned id)
virtual void setModified (bool modified)
void setURL (const KURL &url)
DocumentType type () const
virtual void undo ()
const KURL & url () const
ViewList viewList () const

Protected Slots

virtual void slotUpdateConfiguration ()

Protected Member Functions

virtual void handleNewView (View *view)

Protected Attributes

bool b_modified
bool m_bAddToProjectOnSave
bool m_bDeleted
QString m_caption
unsigned m_dcopID
unsigned m_nextViewID
DocumentIfacem_pDocumentIface
DocumentType m_type
ViewList m_viewList
QGuardedPtr< Viewp_activeView
KTechlabp_ktechlab

Private Slots

void slotViewDestroyed (QObject *obj)
void slotViewFocused (View *view)

Private Attributes

KURL m_url

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index