mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-03-06 14:35:27 +01:00
2018-08-07 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'pam_rd' plug-in. * Removed rdchunk(1). * Upgraded Qt3 to Qt4.
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#include <qfile.h>
|
||||
#include <qtextstream.h>
|
||||
#include <q3textstream.h>
|
||||
|
||||
#include <rdcart.h>
|
||||
#include <rddb.h>
|
||||
@@ -42,13 +42,13 @@ bool RDReport::ExportBmiEmr(const QString &filename,const QDate &startdate,
|
||||
QString station_format=stationFormat();
|
||||
|
||||
QFile *file=new QFile(filename);
|
||||
if(!file->open(IO_WriteOnly|IO_Truncate)) {
|
||||
if(!file->open(QIODevice::WriteOnly|QIODevice::Truncate)) {
|
||||
report_error_code=RDReport::ErrorCantOpen;
|
||||
delete file;
|
||||
return false;
|
||||
}
|
||||
QTextStream *strm=new QTextStream(file);
|
||||
strm->setEncoding(QTextStream::UnicodeUTF8);
|
||||
Q3TextStream *strm=new Q3TextStream(file);
|
||||
strm->setEncoding(Q3TextStream::UnicodeUTF8);
|
||||
|
||||
//
|
||||
// Station Type
|
||||
|
||||
Reference in New Issue
Block a user