KateDocManager Class Reference
List of all members.Detailed Description
Definition at line 56 of file katedocmanager.h.
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::DocumentManager * | documentManager () |
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 KateDocumentInfo * | documentInfo (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 isTempFile=false) |
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 KateDocManager * | self () |
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 204 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 439 of file katedocmanager.cpp.
The documentation for this class was generated from the following files: