6 #define strncasecmp(s1, s2, n) _strnicmp(s1, s2, n)
57 double pct = ((double) pz)/((double) sz)*100.0;
74 m_File.open(QIODevice::ReadOnly);
104 bool lineended =
false;
121 if (strncasecmp(
m_Buffer,
"#S", 2) == 0) {
130 if (sscanf(
m_Buffer,
"#S%d", &sn)==1) {
131 m_Scan -> setScanNumber(sn);
140 }
else if (strncasecmp(
m_Buffer,
"#N", 2) == 0) {
144 m_Scan -> setColumnCount(nc);
146 }
else if (strncasecmp(
m_Buffer,
"#L", 2) == 0) {
151 }
else if (strncasecmp(
m_Buffer,
"#D", 2) == 0) {
152 QDateTime dt = QDateTime::fromString(
m_Buffer+2);
159 m_Scan -> setScanDateTime(dt);
162 }
else if (strncasecmp(
m_Buffer,
"#", 1) == 0) {
void message(const QString &msg)
void operationCompleted()
void setFileName(const QString &name)
void appendHeader(const QString &hline)
void madeProgress(int level)