kate Library API Documentation

KateDocManager Class Reference

Collaboration diagram for KateDocManager:

Collaboration graph
[legend]
List of all members.

Public Slots

void saveAll ()

Signals

void documentCreated (Kate::Document *doc)
void documentDeleted (uint documentNumber)
void documentChanged ()
void initialDocumentReplaced ()

Public Member Functions

 KateDocManager (QObject *parent)
 ~KateDocManager ()
Kate::DocumentManagerdocumentManager ()
Kate::Document * createDoc ()
void deleteDoc (Kate::Document *doc)
Kate::Document * document (uint n)
Kate::Document * activeDocument ()
void setActiveDocument (Kate::Document *doc)
Kate::Document * firstDocument ()
Kate::Document * nextDocument ()
Kate::Document * documentWithID (uint id)
const KateDocumentInfodocumentInfo (Kate::Document *doc)
int findDocument (Kate::Document *doc)
int findDocument (KURL url)
Kate::Document * findDocumentByUrl (KURL url)
bool isOpen (KURL url)
uint documents ()
QPtrList< Kate::Document > & documentList ()
Kate::Document * openURL (const KURL &, const QString &encoding=QString::null, uint *id=0)
bool closeDocument (class Kate::Document *, bool closeURL=true)
bool closeDocument (uint)
bool closeDocumentWithID (uint)
bool closeAllDocuments (bool closeURL=true)
QPtrList< Kate::Document > modifiedDocumentList ()
bool queryCloseDocuments (KateMainWindow *w)
void saveDocumentList (class KConfig *config)
void restoreDocumentList (class KConfig *config)
DCOPObject * dcopObject ()
bool getSaveMetaInfos ()
void setSaveMetaInfos (bool b)
int getDaysMetaInfos ()
void setDaysMetaInfos (int i)

Static Public Member Functions

static KateDocManagerself ()

Detailed Description

Definition at line 52 of file katedocmanager.h.


Member Function Documentation

int KateDocManager::findDocument KURL  url  ) 
 

Returns the documentNumber of the doc with url URL or -1 if no such doc is found.

Definition at line 201 of file katedocmanager.cpp.

void KateDocManager::saveAll  )  [slot]
 

saves all documents that has at least one view.

documents with no views are ignored :P

Definition at line 399 of file katedocmanager.cpp.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kate Library Version 3.4.3.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Jun 14 01:53:52 2006 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003