Source-highlight Qt Library
SourceHighlightExceptionBox.h
1 /*
2  * Copyright (C) 2008-2010 Lorenzo Bettini, http://www.lorenzobettini.it
3  * License: See COPYING file that comes with this distribution
4  */
5 
6 #ifndef SOURCEHIGHLIGHTEXCEPTIONBOX_H_
7 #define SOURCEHIGHLIGHTEXCEPTIONBOX_H_
8 
9 #include <exception>
10 
11 class QWidget;
12 
13 namespace srchilite {
14  class ParserException;
15 }
16 
17 namespace srchiliteqt {
18 
26 public:
33  static void showMessageBox(const srchilite::ParserException &e, QWidget *parent = 0);
34 
40  static void showMessageBox(const std::exception &e, QWidget *parent = 0);
41 };
42 
43 }
44 
45 #endif /* SOURCEHIGHLIGHTEXCEPTIONBOX_H_ */
Definition: ColorDialog.cpp:12
Definition: SourceHighlightExceptionBox.h:13
Utility functions to show message boxes related to Source-Highlight library thrown exceptions...
Definition: SourceHighlightExceptionBox.h:25