#ifndef SRC_TRANSFER_FUNCTION_PARSER_H_

#define SRC_TRANSFER_FUNCTION_PARSER_H_

#include <QGradient>
#include <QString>
#include <QXmlDefaultHandler>

class QGradientContentHandler;

/**
 * \brief Parser for XML representation of a QGradient used as transfer function
 *
 */
class TransferFunctionParser
{
 public:
  TransferFunctionParser(QString path);

  QGradient *parse();

 private:
  QXmlSimpleReader *xmlReader;
  QXmlInputSource *source;
  QGradientContentHandler *handler;
};

#endif  // SRC_TRANSFER_FUNCTION_PARSER_H_

#ifndef SRC_TRANSFER_FUNCTION_PARSER_H_

#define SRC_TRANSFER_FUNCTION_PARSER_H_

#include <QGradient>
#include <QString>
#include <QXmlDefaultHandler>

/**
 * \brief 
 *
 * 
 */
class QGradientContentHandler;

class TransferFunctionParser
{
 public:
  TransferFunctionParser(QString path);

  QGradient *parse();

 private:
  QXmlSimpleReader *xmlReader;
  QXmlInputSource *source;
  QGradientContentHandler *handler;
};

#endif  // SRC_TRANSFER_FUNCTION_PARSER_H_

--- 
+++ 
@@ -6,13 +6,12 @@
 #include <QString>
 #include <QXmlDefaultHandler>
 
-/**
- * \brief 
- *
- * 
- */
 class QGradientContentHandler;
 
+/**
+ * \brief Parser for XML representation of a QGradient used as transfer function
+ *
+ */
 class TransferFunctionParser
 {
  public:
Add brief description for TransferFunctionParser.
