* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#include "row.hpp"
namespace decode {
Row::Row() :
- decoder_(NULL),
- row_(NULL)
+ decoder_(nullptr),
+ row_(nullptr)
{
}
{
if (decoder_ && decoder_->name && row_ && row_->desc)
return QString("%1: %2")
- .arg(QString::fromUtf8(decoder_->name))
- .arg(QString::fromUtf8(row_->desc));
+ .arg(QString::fromUtf8(decoder_->name),
+ QString::fromUtf8(row_->desc));
if (decoder_ && decoder_->name)
return QString::fromUtf8(decoder_->name);
if (row_ && row_->desc)
(decoder_ == other.decoder_ && row_ < other.row_);
}
-} // decode
-} // data
-} // pv
+} // namespace decode
+} // namespace data
+} // namespace pv