|
From: <cn...@us...> - 2021-04-30 04:10:49
|
Revision: 1165
http://sourceforge.net/p/seq/svn/1165
Author: cn187
Date: 2021-04-30 04:10:41 +0000 (Fri, 30 Apr 2021)
Log Message:
-----------
[Qt5] Replace TRUE/FALSE constants with true/false built-ins
Modified Paths:
--------------
showeq/branches/cn187_devel/src/editor.cpp
showeq/branches/cn187_devel/src/interface.cpp
showeq/branches/cn187_devel/src/map.cpp
showeq/branches/cn187_devel/src/spawnlist2.cpp
Modified: showeq/branches/cn187_devel/src/editor.cpp
===================================================================
--- showeq/branches/cn187_devel/src/editor.cpp 2021-04-30 04:10:33 UTC (rev 1164)
+++ showeq/branches/cn187_devel/src/editor.cpp 2021-04-30 04:10:41 UTC (rev 1165)
@@ -157,7 +157,7 @@
f.close();
e->repaint();
- e->document()->setModified( FALSE );
+ e->document()->setModified( false );
setWindowTitle( fileName );
QString s;
s.sprintf( "Opened %s", fileName );
@@ -183,7 +183,7 @@
t << text;
f.close();
- e->document()->setModified( FALSE );
+ e->document()->setModified( false );
setWindowTitle( filename );
Modified: showeq/branches/cn187_devel/src/interface.cpp
===================================================================
--- showeq/branches/cn187_devel/src/interface.cpp 2021-04-30 04:10:33 UTC (rev 1164)
+++ showeq/branches/cn187_devel/src/interface.cpp 2021-04-30 04:10:41 UTC (rev 1165)
@@ -5122,7 +5122,7 @@
QString address =
QInputDialog::getItem(this, "ShowEQ - EQ Client IP Address",
"Enter IP address of EQ client",
- iplst, 0, TRUE, &ok);
+ iplst, 0, true, &ok);
if (ok)
{
for (int i = 4; i > 0; i--)
@@ -5145,7 +5145,7 @@
QString address =
QInputDialog::getItem(this, "ShowEQ - EQ Client MAC Address",
"Enter MAC address of EQ client",
- maclst, 0, TRUE, &ok);
+ maclst, 0, true, &ok);
if (ok)
{
if (address.length() != 17)
Modified: showeq/branches/cn187_devel/src/map.cpp
===================================================================
--- showeq/branches/cn187_devel/src/map.cpp 2021-04-30 04:10:33 UTC (rev 1164)
+++ showeq/branches/cn187_devel/src/map.cpp 2021-04-30 04:10:41 UTC (rev 1165)
@@ -1801,7 +1801,7 @@
// m_offscreen.setOptimization(m_param.pixmapOptimizationMethod());
m_mapTip = new MapLabel( this );
- this->setMouseTracking( TRUE );
+ this->setMouseTracking( true );
m_mapPanning = false;
Modified: showeq/branches/cn187_devel/src/spawnlist2.cpp
===================================================================
--- showeq/branches/cn187_devel/src/spawnlist2.cpp 2021-04-30 04:10:33 UTC (rev 1164)
+++ showeq/branches/cn187_devel/src/spawnlist2.cpp 2021-04-30 04:10:41 UTC (rev 1165)
@@ -85,7 +85,7 @@
// Create the Spawn Counter
m_totalSpawns = new QLineEdit(this);
- m_totalSpawns->setReadOnly(TRUE);
+ m_totalSpawns->setReadOnly(true);
m_totalSpawns->setAlignment(Qt::AlignCenter);
m_totalSpawns->setMinimumWidth(5);
m_totalSpawns->setMaximumWidth(50);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|