///////////////////////////////////////////////////////////////////////////////
// LameXP - Audio Encoder Front-End
-// Copyright (C) 2004-2013 LoRd_MuldeR <MuldeR2@GMX.de>
+// Copyright (C) 2004-2014 LoRd_MuldeR <MuldeR2@GMX.de>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
#include "Model_FileList.h"
+//Internal
#include "Global.h"
+//MUtils
+#include <MUtils/Global.h>
+
+//Qt
#include <QFileInfo>
#include <QDir>
#include <QFile>
QStringList codecList;
codecList.append(systemDefault);
- codecList.append(lamexp_available_codepages());
+ codecList.append(MUtils::available_codepages());
QInputDialog *input = new QInputDialog(parent);
input->setLabelText(EXPAND(tr("Select ANSI Codepage for CSV file:")));
if(input->exec() < 1)
{
- LAMEXP_DELETE(input);
+ MUTILS_DELETE(input);
return CsvError_Aborted;
}
codec = QTextCodec::codecForName("System");
}
- LAMEXP_DELETE(input);
+ MUTILS_DELETE(input);
}
bomCheck.clear();
{
if(stream.atEnd())
{
- LAMEXP_DELETE_ARRAY(ignore);
+ MUTILS_DELETE_ARRAY(ignore);
return CsvError_Incomplete;
}
}
else
{
- qWarning("Unkonw field '%s' will be ignored!", QUTF8(header.at(j)));
+ qWarning("Unkonw field '%s' will be ignored!", MUTILS_UTF8(header.at(j)));
ignore[j] = true;
if(!checkArray(ignore, false, nCols))
//----------------------//
- LAMEXP_DELETE_ARRAY(ignore);
+ MUTILS_DELETE_ARRAY(ignore);
return CsvError_OK;
}