Commit e19a742b authored by Thomas Eschenbacher's avatar Thomas Eschenbacher

use QString() instead of QString::null (deprecated)

parent 9ce5d779
......@@ -322,7 +322,7 @@ QString Kwave::RecordALSA::open(const QString &device)
// now we can detect all supported formats
detectSupportedFormats();
return QString::null;
return QString();
}
//***************************************************************************
......
......@@ -54,7 +54,7 @@ namespace Kwave
/**
* Open the record device.
* @param dev path of the record device
* @retval QString::null if successful
* @retval QString() if successful
* @retval QString::number(ENODEV) if device not found
* @retval QString::number(EBUSY) if device is busy
* @retval QString::number(EINVAL) on invalid parameters
......
......@@ -123,7 +123,7 @@ QString Kwave::RecordOSS::open(const QString &dev)
ioctl(fd, OSS_GETVERSION, &m_oss_version);
#endif
m_fd = fd;
return QString::null;
return QString();
}
//***************************************************************************
......
......@@ -829,7 +829,7 @@ QString Kwave::RecordPulseAudio::open(const QString& device)
// detect all formats the device knows
detectSupportedFormats(device);
return QString::null;
return QString();
}
//***************************************************************************
......
......@@ -59,7 +59,7 @@ namespace Kwave
/**
* Open the record device.
* @param dev path of the record device
* @retval QString::null if successful
* @retval QString() if successful
* @retval QString::number(ENODEV) if device not found
* @retval QString::number(EBUSY) if device is busy
* @retval QString(...) device specific error message
......
......@@ -405,7 +405,7 @@ QString Kwave::RecordQt::open(const QString& device)
}
m_device = device;
return QString::null;
return QString();
}
//***************************************************************************
......
......@@ -57,7 +57,7 @@ namespace Kwave
/**
* Open the record device.
* @param dev path of the record device
* @retval QString::null if successful
* @retval QString() if successful
* @retval QString::number(ENODEV) if device not found
* @retval QString::number(EBUSY) if device is busy
* @retval QString(...) device specific error message
......
......@@ -47,7 +47,7 @@ namespace Kwave
/**
* Open the record device.
* @param dev path of the record device
* @retval QString::null if successful
* @retval QString() if successful
* @retval QString::number(ENODEV) if device not found
* @retval QString::number(EBUSY) if device is busy
* @retval QString::number(EINVAL) on invalid parameters
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment