KDECore
Go to the documentation of this file.
22 #ifndef SONNET_FILTER_P_H
23 #define SONNET_FILTER_P_H
25 #include <QtCore/QTextBoundaryFinder>
26 #include <QtCore/QString>
42 Word() : start( 0 ), end( true )
46 : word( w ), start( st ), end( e )
49 : word( other.word ), start( other.start ),
68 static Filter *defaultFilter();
87 void setBuffer(
const QString& buffer );
92 virtual Word nextWord()
const;
93 virtual Word wordAtPosition(
unsigned int pos )
const;
95 virtual void setCurrentPosition(
int );
96 virtual int currentPosition()
const;
97 virtual void replace(
const Word& w,
const QString& newWord );
102 virtual QString context()
const;
104 bool trySkipLinks()
const;
105 bool ignore(
const QString& word )
const;
106 bool shouldBeSkipped(
bool wordWasUppercase,
bool wordWasRunTogether,
107 const QString& foundWord )
const;
120 #endif // SONNET_FILTER_P_H
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Jul 16 2013 17:47:31 by
doxygen 1.8.1.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.