mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-03-04 21:50:47 +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:
@@ -20,7 +20,7 @@
|
||||
|
||||
#include <qfile.h>
|
||||
#include <qmessagebox.h>
|
||||
#include <qtextstream.h>
|
||||
#include <q3textstream.h>
|
||||
|
||||
#include "rdairplay_conf.h"
|
||||
#include "rddatedecode.h"
|
||||
@@ -50,13 +50,13 @@ bool RDReport::ExportNprSoundEx(const QString &filename,const QDate &startdate,
|
||||
QString channel_name=stationId();
|
||||
|
||||
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);
|
||||
|
||||
//
|
||||
// Generate Header
|
||||
|
||||
Reference in New Issue
Block a user