/***************************************************************************
 *   Copyright (C) 2003, 2004 by Johnathan Burchill                           *
 *   jkerrb@users.sourceforge.net                                                        *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 ***************************************************************************/
#ifndef _KDARUSERINTERACTIONEVENT_H_
#define _KDARUSERINTERACTIONEVENT_H_

#include <qevent.h>
#include <qstring.h>

    class kdarUserInteractionEvent : public QCustomEvent
    {
    public:
        kdarUserInteractionEvent( QString question)
            : QCustomEvent( 1002 ),
	    userQuestion( question )
	 {
	 }
        
	QString question() const { return userQuestion; }
	void setUserAnswer( bool answer ) { userAnswer = answer; }
	bool answer() const { return userAnswer; }
    private:
        QString userQuestion;
	bool userAnswer;
    };

#endif // _KDARUSERINTERACTIONEVENT_H_
