forked from qt-creator/qt-creator
Remove a few TextDocument subclasses
Which only differed in some property settings. Change-Id: Ie844c32709ebe719a5b749fd2ef828b64086ba9a Reviewed-by: hjk <hjk@theqtcompany.com> Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
@@ -47,7 +47,7 @@ public:
|
||||
const QTextCodec *codec() const;
|
||||
void setCodec(const QTextCodec *);
|
||||
void switchUtf8Bom();
|
||||
virtual bool supportsUtf8Bom() { return true; }
|
||||
bool supportsUtf8Bom() const;
|
||||
|
||||
ReadResult read(const QString &fileName, QStringList *plainTextList, QString *errorString);
|
||||
ReadResult read(const QString &fileName, QString *plainText, QString *errorString);
|
||||
@@ -58,6 +58,8 @@ public:
|
||||
bool write(const QString &fileName, const QString &data, QString *errorMessage) const;
|
||||
bool write(const QString &fileName, const Utils::TextFileFormat &format, const QString &data, QString *errorMessage) const;
|
||||
|
||||
void setSupportsUtf8Bom(bool value);
|
||||
|
||||
private:
|
||||
Internal::TextDocumentPrivate *d;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user