Qt-interest Archive, March 2002
INI File support
Message 1 in thread
Does Qt have any INI file support? Or does an implement need to be derived
from the existing classes? Thanks.
CT
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
Message 2 in thread
On Tue, Mar 26, 2002 at 12:51:22AM +0000, Cylas Thao wrote:
> Does Qt have any INI file support? Or does an implement need to be derived
> from the existing classes? Thanks.
The Qt designer has a class (called Config) which is capable of
reading INI style files. If your application is licensed under the
GPL then you should be able to directly re-use that class
(tools/designer/designer/config.{cpp,h}) . Otherwise you have to ask
Trolltech for licensing details.
Simon
Message 3 in thread
> Does Qt have any INI file support?
Kinda...
There is a helper class from the designer source that reads
and writes INI-files. It's still around in version 3.0.0, but
I guess it'll go away soon in favour for the QSettings class.
Anyway, look at the files config.cpp and config.h located
in $QTDIR/tools/designer/designer/
--
[ signature omitted ]