📄 invalidmenuexception.cc
字号:
/** @file InvalidMenuException - class for exception raised when found some error in menu definitions @author Martin Petricek*/#include <qstring.h>#include "invalidmenuexception.h"namespace gui {/** Default constructor of exception @param message Exception message to pass*/InvalidMenuException::InvalidMenuException(const QString &message){ msg=message;}/** Return exception message passed in constructor of this exception The message usually explain what item is invaild and why @return exception message*/QString InvalidMenuException::message() const { return msg;}/** default destructor */InvalidMenuException::~InvalidMenuException() throw() {}/** Overloaded what() from std::exception<br> For getting usable error message if the exception is not handled */const char* InvalidMenuException::what() const throw(){ return msg.toAscii();}} // namespace gui
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -