The Preconf File
The preconf file is never actually written to by QHacc. Usually, its
existance is unnecessary, but if you use it, you'll need to know how it
is formatted. As of v2.9.2, the preconf file can only be used to determine
four values: Debug Level, Plugin directory, i18n directory, and whether
or not to run scheduled jobs.
An example file looks like:
There isn't much to say about this file, other than *DIR tokens do not
necessarily have to be absolute paths. The current plugins hierarchy is
PLUGINDIR/db for database plugins, PLUGINDIR/import for import plugins
and PLUGINDIR/export for export plugins. If the NOJOBS line is present
at all, QHacc will not check for scheduled jobs when starting up.
The Regular Files
The following files are all similar: they all are just lines of text
delimited by "||." They are the "regular" files because QHacc needs to
read and write them during its normal operation. QHacc writes eight
files: transactions, accounts, preferences, namedtrans, journals, jobs,
and accounttypes. Hopefully, it is clear what is kept in each file.
The Preferences File
The preferences file used to be called the config file. Here is an
example of a QHacc preferences file:
ALTCOLOR||46 192 255
HEADINGSIZES||61 79 237 197 58 67 27
LOCATION||0 21 937 586
MAINCOLOR||255 255 255
RECHEADINGSIZES||60 72 127 148 64 67 29
TITLEBARNAME||Ryan's Personal Accounts
TRANSTYPES||INT FEE WD ATM DEP Transfer
This file is self-explanatory, I think. The colors are specified as
"RED GREEN BLUE" and the location box is "LEFT TOP RIGHT BOTTOM."
The Accounts File
The accounts file has a total of 25 fields. They are:
Transactions have 7 fields.
Splits have 6 fields.
Named Transactions (memorized)
Memorized transactions have 4 fields
Jobs only have 4 fields