41 #include <QStringList>
43 #include <QDataStream>
96 HelpIndex(
const QString & dp,
const QString & hp);
97 HelpIndex(
const QStringList & dl,
const QString & hp);
101 QStringList
query(
const QStringList &,
const QStringList &,
const QStringList &);
126 QStringList
split(
const QString &);
128 bool searchForPattern(
const QStringList &,
const QStringList &,
const QString &);
QHash< QString, QString > documentTitleCache
Definition: HelpIndex.h:140
Document()
Definition: HelpIndex.h:56
bool lastWindowClosed
Definition: HelpIndex.h:139
QStringList split(const QString &)
Definition: HelpIndex.cpp:504
QString docListFile
Definition: HelpIndex.h:137
#define f
Definition: detector.cpp:70
QString dictFile
Definition: HelpIndex.h:137
Document(int d, int f)
Definition: HelpIndex.h:55
void insertInDict(const QString &, int)
Definition: HelpIndex.cpp:171
void setDocListFile(const QString &)
Definition: HelpIndex.cpp:116
#define l
Definition: detector.cpp:76
QHash< QString, Entry * > dict
Definition: HelpIndex.h:133
bool searchForPattern(const QStringList &, const QStringList &, const QString &)
Definition: HelpIndex.cpp:569
uint wordNum
Definition: HelpIndex.h:135
qint16 docNumber
Definition: HelpIndex.h:73
QString getCharsetForDocument(QFile *)
Definition: HelpIndex.cpp:192
bool alreadyHaveDocList
Definition: HelpIndex.h:138
void makeIndex()
Definition: HelpIndex.cpp:126
QStringList docList
Definition: HelpIndex.h:131
QHash< QString, PosEntry * > miniDict
Definition: HelpIndex.h:134
bool operator>(const Document &doc) const
Definition: HelpIndex.h:69
void writeDocumentList()
Definition: HelpIndex.cpp:297
void readDict()
Definition: HelpIndex.cpp:312
PosEntry(int p)
Definition: HelpIndex.h:92
QVector< Document > setupDummyTerm(const QStringList &)
Definition: HelpIndex.cpp:531
void setDictionaryFile(const QString &)
Definition: HelpIndex.cpp:111
char s d
Definition: KviIrcNumericCodes.h:391
char s char s s
Definition: KviIrcNumericCodes.h:391
QList< uint > positions
Definition: HelpIndex.h:93
QDataStream & operator<<(QDataStream &s, const Document &l)
Definition: HelpIndex.cpp:72
bool operator<=(const Document &doc) const
Definition: HelpIndex.h:65
void buildMiniDict(const QString &)
Definition: HelpIndex.cpp:562
void writeDict()
Definition: HelpIndex.cpp:280
QString docPath
Definition: HelpIndex.h:136
void indexingProgress(int)
bool operator<(const Document &doc) const
Definition: HelpIndex.h:61
void readDocumentList()
Definition: HelpIndex.cpp:335
Definition: HelpIndex.h:90
Definition: HelpIndex.h:53
qint16 frequency
Definition: HelpIndex.h:74
void filterNext()
Definition: HelpIndex.cpp:138
QDataStream & operator>>(QDataStream &s, Document &l)
Definition: HelpIndex.cpp:65
void setLastWinClosed()
Definition: HelpIndex.cpp:106
Definition: HelpIndex.h:80
QStringList titleList
Definition: HelpIndex.h:132
Entry(int d)
Definition: HelpIndex.h:86
int m_iCurItem
Definition: HelpIndex.h:142
QString getDocumentTitle(const QString &)
Definition: HelpIndex.cpp:417
void setDocList(const QStringList &)
Definition: HelpIndex.cpp:121
Definition: HelpIndex.h:84
QVector< Document > documents
Definition: HelpIndex.h:88
const QStringList & titlesList()
Definition: HelpIndex.h:108
const QStringList & documentList()
Definition: HelpIndex.h:107
HelpIndex(const QString &dp, const QString &hp)
Definition: HelpIndex.cpp:79
void setupDocumentList()
Definition: HelpIndex.cpp:154
QTimer * m_pTimer
Definition: HelpIndex.h:141
#define p
Definition: detector.cpp:80
Entry(QVector< Document > l)
Definition: HelpIndex.h:87
QStringList query(const QStringList &, const QStringList &, const QStringList &)
Definition: HelpIndex.cpp:349
bool operator==(const Document &doc) const
Definition: HelpIndex.h:57
QStringList getWildcardTerms(const QString &)
Definition: HelpIndex.cpp:452
void parseDocument(const QString &, int)
Definition: HelpIndex.cpp:217