Cppcheck
|
#include <librarydialog.h>
Public Member Functions | |
LibraryDialog (QWidget *parent=nullptr) | |
LibraryDialog (const LibraryDialog &)=delete | |
~LibraryDialog () override | |
LibraryDialog & | operator= (const LibraryDialog &)=delete |
Private Slots | |
void | openCfg () |
void | saveCfg () |
void | saveCfgAs () |
void | addFunction () |
void | changeFunction () |
void | editArg () |
void | editFunctionName (QListWidgetItem *) |
void | filterFunctions (const QString &) |
void | selectFunction () |
void | sortFunctions (bool) |
Private Member Functions | |
CppcheckLibraryData::Function * | currentFunction () |
void | updateArguments (const CppcheckLibraryData::Function &function) |
Static Private Member Functions | |
static QString | getArgText (const CppcheckLibraryData::Function::Arg &arg) |
Private Attributes | |
Ui::LibraryDialog * | mUi |
CppcheckLibraryData | mData |
QString | mFileName |
bool | mIgnoreChanges {} |
Definition at line 34 of file librarydialog.h.
|
explicit |
Definition at line 65 of file librarydialog.cpp.
References mUi, and selectFunction().
|
delete |
|
override |
Definition at line 80 of file librarydialog.cpp.
References mUi.
|
privateslot |
Definition at line 186 of file librarydialog.cpp.
References CppcheckLibraryData::Function::args, CppcheckLibraryData::functions, mData, mUi, CppcheckLibraryData::Function::name, and CppcheckLibraryData::Function::Arg::nr.
|
privateslot |
Definition at line 306 of file librarydialog.cpp.
References currentFunction(), mIgnoreChanges, and mUi.
|
private |
Definition at line 85 of file librarydialog.cpp.
References mUi.
Referenced by changeFunction(), editArg(), selectFunction(), and sortFunctions().
|
privateslot |
Definition at line 323 of file librarydialog.cpp.
References currentFunction(), LibraryEditArgDialog::getArg(), getArgText(), mUi, and CppcheckLibraryData::Function::Arg::nr.
|
privateslot |
Definition at line 209 of file librarydialog.cpp.
References mIgnoreChanges, mUi, CppcheckLibraryData::Function::name, and NAMES.
|
privateslot |
|
staticprivate |
Definition at line 343 of file librarydialog.cpp.
References CppcheckLibraryData::Function::Arg::ANY, CppcheckLibraryData::Function::Arg::MinSize::arg, CppcheckLibraryData::Function::Arg::MinSize::arg2, bool_to_string(), CppcheckLibraryData::Function::Arg::formatstr, CppcheckLibraryData::Function::Arg::minsizes, CppcheckLibraryData::Function::Arg::notbool, CppcheckLibraryData::Function::Arg::notnull, CppcheckLibraryData::Function::Arg::notuninit, CppcheckLibraryData::Function::Arg::nr, CppcheckLibraryData::Function::Arg::strz, CppcheckLibraryData::Function::Arg::MinSize::type, and CppcheckLibraryData::Function::Arg::valid.
Referenced by editArg(), and updateArguments().
|
privateslot |
Definition at line 93 of file librarydialog.cpp.
References CppcheckLibraryData::functions, getDataDir(), mData, mFileName, mIgnoreChanges, mUi, CppcheckLibraryData::open(), and CppcheckLibraryData::swap().
|
delete |
|
privateslot |
Definition at line 149 of file librarydialog.cpp.
References mData, mFileName, mUi, and CppcheckLibraryData::toString().
Referenced by saveCfgAs().
|
privateslot |
Definition at line 168 of file librarydialog.cpp.
References Path::getPathFromFilename(), mFileName, and saveCfg().
|
privateslot |
Definition at line 228 of file librarydialog.cpp.
References currentFunction(), mIgnoreChanges, mUi, and updateArguments().
Referenced by LibraryDialog().
|
privateslot |
Definition at line 272 of file librarydialog.cpp.
References currentFunction(), filterFunctions(), CppcheckLibraryData::functions, mData, mIgnoreChanges, and mUi.
|
private |
Definition at line 361 of file librarydialog.cpp.
References getArgText(), and mUi.
Referenced by selectFunction().
|
private |
Definition at line 57 of file librarydialog.h.
Referenced by addFunction(), openCfg(), saveCfg(), and sortFunctions().
|
private |
Definition at line 58 of file librarydialog.h.
Referenced by openCfg(), saveCfg(), and saveCfgAs().
|
private |
Definition at line 59 of file librarydialog.h.
Referenced by changeFunction(), editFunctionName(), openCfg(), selectFunction(), and sortFunctions().
|
private |
Definition at line 56 of file librarydialog.h.
Referenced by addFunction(), changeFunction(), currentFunction(), editArg(), editFunctionName(), filterFunctions(), LibraryDialog(), openCfg(), saveCfg(), selectFunction(), sortFunctions(), updateArguments(), and ~LibraryDialog().