kate
KateDocManager Class Reference
#include <katedocmanager.h>

Public Slots | |
| void | saveAll () |
Signals | |
| void | documentChanged () |
| void | documentCreated (Kate::Document *doc) |
| void | documentDeleted (uint documentNumber) |
| void | initialDocumentReplaced () |
Public Member Functions | |
| Kate::Document * | activeDocument () |
| bool | closeAllDocuments (bool closeURL=true) |
| bool | closeDocument (uint) |
| bool | closeDocument (class Kate::Document *, bool closeURL=true) |
| bool | closeDocumentWithID (uint) |
| Kate::Document * | createDoc () |
| DCOPObject * | dcopObject () |
| void | deleteDoc (Kate::Document *doc) |
| Kate::Document * | document (uint n) |
| const KateDocumentInfo * | documentInfo (Kate::Document *doc) |
| QPtrList< Kate::Document > & | documentList () |
| Kate::DocumentManager * | documentManager () |
| uint | documents () |
| Kate::Document * | documentWithID (uint id) |
| int | findDocument (KURL url) |
| int | findDocument (Kate::Document *doc) |
| Kate::Document * | findDocumentByUrl (KURL url) |
| Kate::Document * | firstDocument () |
| int | getDaysMetaInfos () |
| bool | getSaveMetaInfos () |
| bool | isOpen (KURL url) |
| KateDocManager (QObject *parent) | |
| QPtrList< Kate::Document > | modifiedDocumentList () |
| Kate::Document * | nextDocument () |
| Kate::Document * | openURL (const KURL &, const QString &encoding=QString::null, uint *id=0, bool isTempFile=false) |
| bool | queryCloseDocuments (KateMainWindow *w) |
| void | restoreDocumentList (class KConfig *config) |
| void | saveDocumentList (class KConfig *config) |
| void | setActiveDocument (Kate::Document *doc) |
| void | setDaysMetaInfos (int i) |
| void | setSaveMetaInfos (bool b) |
| ~KateDocManager () | |
Static Public Member Functions | |
| static KateDocManager * | self () |
Detailed Description
Definition at line 56 of file katedocmanager.h.
Constructor & Destructor Documentation
| KateDocManager::KateDocManager | ( | QObject * | parent | ) |
Definition at line 49 of file katedocmanager.cpp.
| KateDocManager::~KateDocManager | ( | ) |
Definition at line 68 of file katedocmanager.cpp.
Member Function Documentation
| Kate::Document * KateDocManager::activeDocument | ( | ) |
Definition at line 156 of file katedocmanager.cpp.
| bool KateDocManager::closeAllDocuments | ( | bool | closeURL = true |
) |
Definition at line 345 of file katedocmanager.cpp.
| bool KateDocManager::closeDocument | ( | uint | n | ) |
Definition at line 335 of file katedocmanager.cpp.
| bool KateDocManager::closeDocument | ( | class Kate::Document * | doc, | |
| bool | closeURL = true | |||
| ) |
Definition at line 293 of file katedocmanager.cpp.
| bool KateDocManager::closeDocumentWithID | ( | uint | id | ) |
Definition at line 340 of file katedocmanager.cpp.
| Kate::Document * KateDocManager::createDoc | ( | ) |
Definition at line 105 of file katedocmanager.cpp.
| DCOPObject* KateDocManager::dcopObject | ( | ) | [inline] |
Definition at line 109 of file katedocmanager.h.
| void KateDocManager::deleteDoc | ( | Kate::Document * | doc | ) |
Definition at line 123 of file katedocmanager.cpp.
| Kate::Document * KateDocManager::document | ( | uint | n | ) |
Definition at line 151 of file katedocmanager.cpp.
| void KateDocManager::documentChanged | ( | ) | [signal] |
| void KateDocManager::documentCreated | ( | Kate::Document * | doc | ) | [signal] |
| void KateDocManager::documentDeleted | ( | uint | documentNumber | ) | [signal] |
| const KateDocumentInfo * KateDocManager::documentInfo | ( | Kate::Document * | doc | ) |
Definition at line 190 of file katedocmanager.cpp.
| QPtrList<Kate::Document>& KateDocManager::documentList | ( | ) | [inline] |
Definition at line 94 of file katedocmanager.h.
| Kate::DocumentManager* KateDocManager::documentManager | ( | ) | [inline] |
Definition at line 66 of file katedocmanager.h.
| uint KateDocManager::documents | ( | ) |
Definition at line 200 of file katedocmanager.cpp.
| Kate::Document * KateDocManager::documentWithID | ( | uint | id | ) |
Definition at line 185 of file katedocmanager.cpp.
| 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 205 of file katedocmanager.cpp.
| int KateDocManager::findDocument | ( | Kate::Document * | doc | ) |
Definition at line 195 of file katedocmanager.cpp.
| Kate::Document * KateDocManager::findDocumentByUrl | ( | KURL | url | ) |
Definition at line 217 of file katedocmanager.cpp.
| Kate::Document * KateDocManager::firstDocument | ( | ) |
Definition at line 175 of file katedocmanager.cpp.
| int KateDocManager::getDaysMetaInfos | ( | ) | [inline] |
Definition at line 114 of file katedocmanager.h.
| bool KateDocManager::getSaveMetaInfos | ( | ) | [inline] |
Definition at line 111 of file katedocmanager.h.
| void KateDocManager::initialDocumentReplaced | ( | ) | [signal] |
| bool KateDocManager::isOpen | ( | KURL | url | ) |
Definition at line 228 of file katedocmanager.cpp.
| QPtrList< Kate::Document > KateDocManager::modifiedDocumentList | ( | ) |
Definition at line 373 of file katedocmanager.cpp.
| Kate::Document * KateDocManager::nextDocument | ( | ) |
Definition at line 180 of file katedocmanager.cpp.
| Kate::Document * KateDocManager::openURL | ( | const KURL & | url, | |
| const QString & | encoding = QString::null, |
|||
| uint * | id = 0, |
|||
| bool | isTempFile = false | |||
| ) |
Definition at line 234 of file katedocmanager.cpp.
| bool KateDocManager::queryCloseDocuments | ( | KateMainWindow * | w | ) |
Definition at line 385 of file katedocmanager.cpp.
| void KateDocManager::restoreDocumentList | ( | class KConfig * | config | ) |
Definition at line 468 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 440 of file katedocmanager.cpp.
| void KateDocManager::saveDocumentList | ( | class KConfig * | config | ) |
Definition at line 447 of file katedocmanager.cpp.
| KateDocManager * KateDocManager::self | ( | ) | [static] |
Definition at line 100 of file katedocmanager.cpp.
| void KateDocManager::setActiveDocument | ( | Kate::Document * | doc | ) |
Definition at line 161 of file katedocmanager.cpp.
| void KateDocManager::setDaysMetaInfos | ( | int | i | ) | [inline] |
Definition at line 115 of file katedocmanager.h.
| void KateDocManager::setSaveMetaInfos | ( | bool | b | ) | [inline] |
Definition at line 112 of file katedocmanager.h.
The documentation for this class was generated from the following files:
KDE 3.5 API Reference