invalidmenuexception.h
来自「c++的guiQt做的开发」· C头文件 代码 · 共 29 行
H
29 行
#ifndef __INVALIDMENUEXCEPTION_H__#define __INVALIDMENUEXCEPTION_H__#include <exception>class QString;namespace gui {/** Exception raised when program encountered some error while loading menu or toolbar - in menu or toolbar item definitions \brief Exception raised when encountering invalid menu item*/class InvalidMenuException : public std::exception {public: InvalidMenuException(const QString &message); ~InvalidMenuException() throw(); QString message() const; const char* what() const throw();protected: /** exception message*/ QString msg;};} //namespace gui#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?