Commit 9d8f648b authored by Jan Möbius's avatar Jan Möbius

Omit deprecated functions

parent 68b54a65
......@@ -160,7 +160,7 @@ getSaveFileName(QWidget* _parent,
QMessageBox::Yes | QMessageBox::Default,
QMessageBox::No | QMessageBox::Escape)
!= QMessageBox::Yes)
return QString::null;
return QString();
}
return filename;
......
......@@ -69,43 +69,43 @@ namespace ACG {
ACGDLLEXPORT
QString
getOpenFileName(QWidget* _parent = 0,
const QString& _caption = QString::null,
const QString& _filter = QString::null,
const QString& _start = QString::null);
const QString& _caption = QString(),
const QString& _filter = QString(),
const QString& _start = QString());
ACGDLLEXPORT
QString
getOpenMeshName(QWidget* _parent = 0,
const QString& _caption = QString::null,
const QString& _start = QString::null);
const QString& _caption = QString(),
const QString& _start = QString());
ACGDLLEXPORT
QStringList
getOpenFileNames(QWidget* _parent = 0,
const QString& _caption = QString::null,
const QString& _filter = QString::null,
const QString& _start = QString::null);
const QString& _caption = QString(),
const QString& _filter = QString(),
const QString& _start = QString());
ACGDLLEXPORT
QStringList
getOpenMeshNames(QWidget* _parent = 0,
const QString& _caption = QString::null,
const QString& _start = QString::null);
const QString& _caption = QString(),
const QString& _start = QString());
ACGDLLEXPORT
QString
getSaveFileName(QWidget* _parent = 0,
const QString& _caption = QString::null,
const QString& _filter = QString::null,
const QString& _caption = QString(),
const QString& _filter = QString(),
bool _askOverwrite=false,
const QString& _start = QString::null);
const QString& _start = QString());
ACGDLLEXPORT
QString
getSaveMeshName(QWidget* _parent = 0,
const QString& _caption = QString::null,
const QString& _caption = QString(),
bool _askOverwrite=false,
const QString& _start = QString::null);
const QString& _start = QString());
//=============================================================================
......
......@@ -64,7 +64,7 @@ class ACGDLLEXPORT Histogram: public QwtPlotItem
{
public:
/// Constructor
explicit Histogram(const QString &title = QString::null);
explicit Histogram(const QString &title = QString());
/// Constructor
explicit Histogram(const QwtText &title);
/// Destructor
......
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