Try to make Travis happy
This commit is contained in:
parent
c19a9c2ad9
commit
30e6214f1c
|
@ -10,22 +10,22 @@ static QString formatFunctionName(QString f)
|
||||||
return f;
|
return f;
|
||||||
}
|
}
|
||||||
|
|
||||||
FunctionContractDialog::FunctionContractDialog(QWidget *parent, QString name, QString expects) :
|
FunctionContractDialog::FunctionContractDialog(QWidget *parent, const QString &name, const QString &expects) :
|
||||||
QDialog(parent),
|
QDialog(parent),
|
||||||
ui(new Ui::FunctionContractDialog)
|
mUi(new Ui::FunctionContractDialog)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
mUi->setupUi(this);
|
||||||
ui->functionName->setText(formatFunctionName(name));
|
mUi->functionName->setText(formatFunctionName(name));
|
||||||
ui->expects->setPlainText(expects);
|
mUi->expects->setPlainText(expects);
|
||||||
}
|
}
|
||||||
|
|
||||||
FunctionContractDialog::~FunctionContractDialog()
|
FunctionContractDialog::~FunctionContractDialog()
|
||||||
{
|
{
|
||||||
delete ui;
|
delete mUi;
|
||||||
}
|
}
|
||||||
|
|
||||||
QString FunctionContractDialog::getExpects() const
|
QString FunctionContractDialog::getExpects() const
|
||||||
{
|
{
|
||||||
return ui->expects->toPlainText();
|
return mUi->expects->toPlainText();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,11 +11,11 @@ class FunctionContractDialog : public QDialog {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit FunctionContractDialog(QWidget *parent, QString name, QString expects);
|
explicit FunctionContractDialog(QWidget *parent, const QString &name, const QString &expects);
|
||||||
~FunctionContractDialog();
|
~FunctionContractDialog();
|
||||||
QString getExpects() const;
|
QString getExpects() const;
|
||||||
private:
|
private:
|
||||||
Ui::FunctionContractDialog *ui;
|
Ui::FunctionContractDialog *mUi;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // FUNCTIONCONTRACTDIALOG_H
|
#endif // FUNCTIONCONTRACTDIALOG_H
|
||||||
|
|
|
@ -201,7 +201,7 @@ public:
|
||||||
mMaxCtuDepth = maxCtuDepth;
|
mMaxCtuDepth = maxCtuDepth;
|
||||||
}
|
}
|
||||||
|
|
||||||
const std::map<std::string,std::string> getFunctionContracts() const {
|
const std::map<std::string,std::string>& getFunctionContracts() const {
|
||||||
return mFunctionContracts;
|
return mFunctionContracts;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue