Kate
katetextloader.h
Go to the documentation of this file.
118 bool eof () const { return m_eof && !m_lastWasEndOfLine && (m_lastLineStart == m_text.length()); }
245 QString unicode = m_codec->toUnicode (m_buffer.constData() + bomBytes, c - bomBytes, m_converterState);
static QIODevice * deviceForFile(const QString &fileName, const QString &mimetype=QString(), bool forceFilter=false)
Definition: katetextbuffer.h:63
TextBuffer::EndOfLineMode eol() const
Detected end of line mode for this file.
Definition: katetextloader.h:125
Definition: katetextbuffer.h:62
ProberState feed(const QByteArray &data)
float confidence() const
TextLoader(const QString &filename, KEncodingProber::ProberType proberType)
Construct file loader for given file.
Definition: katetextloader.h:52
QByteArray encoding() const
static const qint64 KATE_FILE_LOADER_BS
loader block size, load 256 kb at once per default if file size is smaller, fall back to file size mu...
Definition: katetextloader.h:39
Definition: katetextbuffer.h:61
Definition: katetextbuffer.h:60
bool readLine(int &offset, int &length)
read a line, return length + offset in unicode data
Definition: katetextloader.h:157
const QString & mimeTypeForFilterDev() const
mime type used to create filter dev
Definition: katetextloader.h:137
ProberType
File Loader, will handle reading of files + detecting encoding.
Definition: katetextloader.h:44
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.