Cppcheck
|
#include <newsuppressiondialog.h>
Public Member Functions | |
NewSuppressionDialog (QWidget *parent=nullptr) | |
NewSuppressionDialog (const NewSuppressionDialog &)=delete | |
~NewSuppressionDialog () override | |
NewSuppressionDialog & | operator= (const NewSuppressionDialog &)=delete |
SuppressionList::Suppression | getSuppression () const |
Translate the user input in the GUI into a suppression. More... | |
void | setSuppression (const SuppressionList::Suppression &suppression) |
Update the GUI so it corresponds with the given Cppcheck suppression. More... | |
Private Attributes | |
Ui::NewSuppressionDialog * | mUI |
Definition at line 33 of file newsuppressiondialog.h.
|
explicit |
Definition at line 36 of file newsuppressiondialog.cpp.
References CppCheck::getErrorMessages(), ErrorMessage::id, and mUI.
|
delete |
|
override |
Definition at line 60 of file newsuppressiondialog.cpp.
References mUI.
SuppressionList::Suppression NewSuppressionDialog::getSuppression | ( | ) | const |
Translate the user input in the GUI into a suppression.
Definition at line 65 of file newsuppressiondialog.cpp.
References SuppressionList::Suppression::errorId, SuppressionList::Suppression::fileName, SuppressionList::Suppression::lineNumber, mUI, and SuppressionList::Suppression::symbolName.
Referenced by ProjectFileDialog::addSuppression(), and ProjectFileDialog::editSuppression().
|
delete |
void NewSuppressionDialog::setSuppression | ( | const SuppressionList::Suppression & | suppression | ) |
Update the GUI so it corresponds with the given Cppcheck suppression.
suppression | Cppcheck suppression |
Definition at line 78 of file newsuppressiondialog.cpp.
References SuppressionList::Suppression::errorId, SuppressionList::Suppression::fileName, SuppressionList::Suppression::lineNumber, mUI, and SuppressionList::Suppression::symbolName.
Referenced by ProjectFileDialog::editSuppression().
|
private |
Definition at line 56 of file newsuppressiondialog.h.
Referenced by getSuppression(), NewSuppressionDialog(), setSuppression(), and ~NewSuppressionDialog().