Source-highlight Qt Library
srchiliteqt::SourceHighlightExceptionBox Class Reference

Utility functions to show message boxes related to Source-Highlight library thrown exceptions. More...

#include <SourceHighlightExceptionBox.h>

List of all members.

Static Public Member Functions

static void showMessageBox (const srchilite::ParserException &e, QWidget *parent=0)
 Shows a message box with the details of the ParserException exception (e.g., due to a syntax error in a language definition file)
static void showMessageBox (const std::exception &e, QWidget *parent=0)
 Shows a message box with the details of the std::exception.

Detailed Description

Utility functions to show message boxes related to Source-Highlight library thrown exceptions.

Since:
0.2

Member Function Documentation

void srchiliteqt::SourceHighlightExceptionBox::showMessageBox ( const srchilite::ParserException &  e,
QWidget *  parent = 0 
) [static]

Shows a message box with the details of the ParserException exception (e.g., due to a syntax error in a language definition file)

Parameters:
ethe exception
parentthe parent of the message box
void srchiliteqt::SourceHighlightExceptionBox::showMessageBox ( const std::exception &  e,
QWidget *  parent = 0 
) [static]

Shows a message box with the details of the std::exception.

Parameters:
ethe exception
parentthe parent of the message box

The documentation for this class was generated from the following files: