More fleshing out of Merge framework and backends.

This commit is contained in:
Jim Evins
2016-05-07 16:17:29 -04:00
parent 2ff07f01b3
commit 88e32d9738
11 changed files with 539 additions and 112 deletions
+11 -2
View File
@@ -1,6 +1,6 @@
/* MergeText.h
*
* Copyright (C) 2015 Jim Evins <evins@snaught.com>
* Copyright (C) 2016 Jim Evins <evins@snaught.com>
*
* This file is part of gLabels-qt.
*
@@ -53,6 +53,13 @@ protected:
MergeRecord* readNextRecord();
/////////////////////////////////
// Private methods
/////////////////////////////////
QString keyFromIndex( int iField ) const;
QList<QString> parseLine();
/////////////////////////////////
// Private data
/////////////////////////////////
@@ -60,7 +67,9 @@ private:
QChar mDelimeter;
bool mLine1HasKeys;
QFile mFile;
QFile mFile;
QList<QString> mKeys;
int mNFieldsMax;
};