summaryrefslogtreecommitdiff
path: root/src/libs/cplusplus/TokenUnderCursor.h
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@nokia.com>2010-06-04 12:37:26 +0200
committerErik Verbruggen <erik.verbruggen@nokia.com>2010-06-04 12:37:26 +0200
commit424b9724d6dc4f860cfb8da17d51a715684ad94c (patch)
tree921120642920dd72762ebeef6919181130ccf4f7 /src/libs/cplusplus/TokenUnderCursor.h
parent5f749306f11dbfd31a6f740ab9b1cb108476e202 (diff)
downloadqt-creator-424b9724d6dc4f860cfb8da17d51a715684ad94c.tar.gz
Revert "Introduced a token cache for the C++ editor."
This reverts commit c2393df02332618c8cf6159d9d6f6a40041ced89.
Diffstat (limited to 'src/libs/cplusplus/TokenUnderCursor.h')
-rw-r--r--src/libs/cplusplus/TokenUnderCursor.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libs/cplusplus/TokenUnderCursor.h b/src/libs/cplusplus/TokenUnderCursor.h
index 8081d65502..92d421963c 100644
--- a/src/libs/cplusplus/TokenUnderCursor.h
+++ b/src/libs/cplusplus/TokenUnderCursor.h
@@ -40,15 +40,13 @@ QT_END_NAMESPACE
namespace CPlusPlus {
-class TokenCache;
-
class CPLUSPLUS_EXPORT TokenUnderCursor
{
public:
TokenUnderCursor();
~TokenUnderCursor();
- SimpleToken operator()(TokenCache *cache, const QTextCursor &cursor, QTextBlock *block = 0);
+ SimpleToken operator()(const QTextCursor &cursor, QTextBlock *block = 0);
const QList<SimpleToken> &tokens() const
{ return _tokens; }