Kate
KateFileTypeManager Class Reference
#include <katefiletype.h>
Public Member Functions | |
const KateFileType * | fileType (uint number) |
int | fileType (KateDocument *doc) |
KateFileTypeManager () | |
QPtrList< KateFileType > * | list () |
void | save (QPtrList< KateFileType > *v) |
void | update () |
~KateFileTypeManager () |
Detailed Description
Definition at line 43 of file katefiletype.h.
Constructor & Destructor Documentation
KateFileTypeManager::KateFileTypeManager | ( | ) |
Definition at line 59 of file katefiletype.cpp.
KateFileTypeManager::~KateFileTypeManager | ( | ) |
Definition at line 66 of file katefiletype.cpp.
Member Function Documentation
const KateFileType * KateFileTypeManager::fileType | ( | uint | number | ) |
Don't store the pointer somewhere longer times, won't be valid after the next update().
Definition at line 251 of file katefiletype.cpp.
int KateFileTypeManager::fileType | ( | KateDocument * | doc | ) |
get the right fileType for the given document -1 if none found !
Definition at line 138 of file katefiletype.cpp.
QPtrList<KateFileType>* KateFileTypeManager::list | ( | ) | [inline] |
void KateFileTypeManager::save | ( | QPtrList< KateFileType > * | v | ) |
Definition at line 102 of file katefiletype.cpp.
void KateFileTypeManager::update | ( | ) |
File Type Config changed, update all docs (which will take care of views/renderers).
Definition at line 73 of file katefiletype.cpp.
The documentation for this class was generated from the following files: