//
// C++ Interface: StringCheck
//
// Description: 
//
//
// Author: Muylkens Toon <toon.muylkens@student.kuleuven.be>, (C) 2007
//
// Copyright: See COPYING file that comes with this distribution
//
//
/**
 * \class StringCheck
 * \brief Provide an example
 *
 * This class checks if strings don't contain characters they shouldn't contain
 *
 * \author Toon Muylkens
 *
 * \date 2007/02/13
 *
 * Contact: toon.muylkens@student.kuleuven.be
  */

#ifndef STRINGCHECK_H
#define STRINGCHECK_H
#include <QtCore/QString>
#include <QtGui/QMessageBox>


class StringCheck : public QObject
 {
	Q_OBJECT

 public:
	StringCheck();
 	~StringCheck();

	 static bool check(QString string, bool emptystringallowed=false, QString title=tr("The data you entered is illegal."));
	
};


#endif


