10
#ifndef IMPORTPARSER_H
11
#define IMPORTPARSER_H
26
* @param fmt format regexp
27
* @param enableTrackIncr enable automatic track increment if no %t is found
29
void setFormat(const QString &fmt, bool enableTrackIncr = false);
31
* Get next tags in text buffer.
33
* @param text text buffer containing data from file or clipboard
34
* @param st standard tags for output
35
* @param pos current position in buffer, will be updated to point
36
* behind current match (to be used for next call)
37
* @return true if tags found (pos is index behind match).
39
bool getNextTags(const QString &text, StandardTags &st, int &pos);
42
/** track regexp pattern */
46
/** true if automatic track number incrementing is used */
47
bool trackIncrEnabled;
48
/** automatically incremented track number */
50
/** numbers of fields within regexp captures, -1 if not in pattern */