|
From: <cn...@us...> - 2020-10-25 19:42:13
|
Revision: 1066
http://sourceforge.net/p/seq/svn/1066
Author: cn187
Date: 2020-10-25 19:42:12 +0000 (Sun, 25 Oct 2020)
Log Message:
-----------
Replace Q3StrList with QList
Modified Paths:
--------------
showeq/branches/pre_6_0_beta/src/map.cpp
showeq/branches/pre_6_0_beta/src/packetinfo.cpp
showeq/branches/pre_6_0_beta/src/packetinfo.h
Modified: showeq/branches/pre_6_0_beta/src/map.cpp
===================================================================
--- showeq/branches/pre_6_0_beta/src/map.cpp 2020-10-25 17:59:46 UTC (rev 1065)
+++ showeq/branches/pre_6_0_beta/src/map.cpp 2020-10-25 19:42:12 UTC (rev 1066)
@@ -62,7 +62,7 @@
#include <QColorDialog>
#include <QFontDialog>
#include <QTimer>
-#include <Q3StrList>
+#include <QStringList>
#include <QImage>
#include <QImageWriter>
#include <QMenu>
@@ -4561,10 +4561,11 @@
void Map::saveMapImage(void)
{
- Q3StrList formats(QImageWriter::supportedImageFormats());
+ QList<QByteArray> formats(QImageWriter::supportedImageFormats());
QString filters;
- for (char* tmp =formats.first(); tmp != 0; tmp = formats.next())
- filters += QString(tmp) + QString(" (*.") + QString(tmp) + ")\n";
+ QList<QByteArray>::iterator it;
+ for (it = formats.begin(); it != formats.end(); ++it)
+ filters += QString(*it) + QString(" (*.") + QString(*it) + ")\n";
QFileDialog fileDlg(this, "Save Map Image Filename", QString(), filters);
Modified: showeq/branches/pre_6_0_beta/src/packetinfo.cpp
===================================================================
--- showeq/branches/pre_6_0_beta/src/packetinfo.cpp 2020-10-25 17:59:46 UTC (rev 1065)
+++ showeq/branches/pre_6_0_beta/src/packetinfo.cpp 2020-10-25 19:42:12 UTC (rev 1066)
@@ -26,7 +26,6 @@
#include <QObject>
#include <QMetaObject>
-#include <Q3StrList>
#include <QFile>
#include <QXmlAttributes>
#include <Q3TextStream>
Modified: showeq/branches/pre_6_0_beta/src/packetinfo.h
===================================================================
--- showeq/branches/pre_6_0_beta/src/packetinfo.h 2020-10-25 17:59:46 UTC (rev 1065)
+++ showeq/branches/pre_6_0_beta/src/packetinfo.h 2020-10-25 19:42:12 UTC (rev 1066)
@@ -32,7 +32,6 @@
#include <QHash>
#include <QByteArray>
#include <Q3CString>
-#include <Q3StrList>
#include <QStringList>
#include <Q3TextStream>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|