mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-29 08:43:58 +01:00
2021-02-14 Fred Gleason <fredg@paravelsystems.com>
* Removed 'Q3TextStream' dependencies from 'librd'. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
//
|
||||
// Export a Rivendell Spin Count Report to an ASCII Text File.
|
||||
//
|
||||
// (C) Copyright 2015,2018 Fred Gleason <fredg@paravelsystems.com>
|
||||
// (C) Copyright 2015-2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License version 2 as
|
||||
@@ -20,9 +20,9 @@
|
||||
|
||||
#include <map>
|
||||
|
||||
#include <qfile.h>
|
||||
#include <qmessagebox.h>
|
||||
#include <q3textstream.h>
|
||||
#include <QFile>
|
||||
#include <QMessageBox>
|
||||
#include <QTextStream>
|
||||
|
||||
#include "rdairplay_conf.h"
|
||||
#include "rdconf.h"
|
||||
@@ -53,8 +53,8 @@ bool RDReport::ExportSpinCount(const QString &filename,const QDate &startdate,
|
||||
delete file;
|
||||
return false;
|
||||
}
|
||||
Q3TextStream *strm=new Q3TextStream(file);
|
||||
strm->setEncoding(Q3TextStream::UnicodeUTF8);
|
||||
QTextStream *strm=new QTextStream(file);
|
||||
strm->setEncoding(QTextStream::UnicodeUTF8);
|
||||
if(useLeadingZeros()) {
|
||||
cart_fmt=QString().sprintf("%%0%uu",cartDigits());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user