/***************************************************************************
 *   Copyright (C) 2004, 2005 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 _KDARUSERINTERACTIONSTRINGEVENT_H_
#define _KDARUSERINTERACTIONSTRINGEVENT_H_

#include "kdarEnums.h"

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

    class kdarUserInteractionStringEvent : public QCustomEvent
    {
    public:
        kdarUserInteractionStringEvent( QString question, bool echo )
            : QCustomEvent( KDar::USERINTERACTIONSTRING ),
              m_question( question ),
              m_echo( echo )
        {}

        QString question() const { return m_question; }
        bool echo() const { return m_echo; }
    private:
        QString m_question;
        bool m_echo;
    };

#endif // _KDARUSERINTERACTIONSTRINGEVENT_H_
