summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cpptoolseditorsupport.h
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2009-06-15 15:38:20 +0200
committerRoberto Raggi <roberto.raggi@nokia.com>2009-06-15 15:39:20 +0200
commite2a0a4d7c572f0d2771731d48ea33b9925c58f1e (patch)
tree92d7f52d4a50dc5286ecc3cea69b00100bc548b7 /src/plugins/cpptools/cpptoolseditorsupport.h
parentdbba0ff8d7456de3d8e7cc2796c48fcbc700acf1 (diff)
downloadqt-creator-e2a0a4d7c572f0d2771731d48ea33b9925c58f1e.tar.gz
Keep the original encoded text around while preprocessing.
Diffstat (limited to 'src/plugins/cpptools/cpptoolseditorsupport.h')
-rw-r--r--src/plugins/cpptools/cpptoolseditorsupport.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/cpptools/cpptoolseditorsupport.h b/src/plugins/cpptools/cpptoolseditorsupport.h
index 6c9a0da6aa..0726ee6bbe 100644
--- a/src/plugins/cpptools/cpptoolseditorsupport.h
+++ b/src/plugins/cpptools/cpptoolseditorsupport.h
@@ -112,7 +112,7 @@ public:
int updateDocumentInterval() const;
void setUpdateDocumentInterval(int updateDocumentInterval);
- QByteArray contents(); // UTF-8 encoded
+ QString contents();
Q_SIGNALS:
void contentsChanged();
@@ -132,7 +132,7 @@ private:
QTimer *_updateDocumentTimer;
int _updateDocumentInterval;
QFuture<void> _documentParser;
- QByteArray _cachedContents;
+ QString _cachedContents;
QTimer *_quickFixTimer;
TextEditor::ITextMark *_quickFixMark;