sed: s/( void )/(), s/FALSE/false/, s/TRUE/true

Replaced remaining occurences of old constants and superfluous "void"
on empty argument list of functions.
(cherry picked from commit 166701f9f3)
This commit is contained in:
Tobias Doerffel committed 2009-08-25 01:42:20 +02:00
1 parent 1d5cb23385
commit f4dbb2ff5c
175 files changed
+1130 -1130

No files matched your search

+5 -5
View File
@@ -40,7 +40,7 @@ ControllerConnectionVector ControllerConnection::s_connections;
ControllerConnection::ControllerConnection( Controller * _controller ) :
m_controllerId( -1 ),
m_ownsController( FALSE )
m_ownsController( false )
{
if( _controller != NULL )
{
@@ -60,7 +60,7 @@ ControllerConnection::ControllerConnection( Controller * _controller ) :
ControllerConnection::ControllerConnection( int _controllerId ) :
m_controller( Controller::create( Controller::DummyController, NULL ) ),
m_controllerId( _controllerId ),
m_ownsController( FALSE )
m_ownsController( false )
{
s_connections.append( this );
}
@@ -141,7 +141,7 @@ inline void ControllerConnection::setTargetName( const QString & _name )
* controllers. So, we remember the controller-ID and use a dummyController
* instead. Once the song is loaded, finalizeConnections() connects to the proper controllers
*/
void ControllerConnection::finalizeConnections( void )
void ControllerConnection::finalizeConnections()
{
for( int i = 0; i < s_connections.size(); ++i )
{
@@ -203,12 +203,12 @@ void ControllerConnection::loadSettings( const QDomElement & _this )
}
void ControllerConnection::deleteConnection( void )
void ControllerConnection::deleteConnection()
{
delete this;
}
QString ControllerConnection::nodeName( void ) const
QString ControllerConnection::nodeName() const
{
return( "connection" );
}