/***************************************************************************
                          gametimer.h  -  description
                             -------------------
    begin                : Tue Apr 4 2000
    copyright            : (C) 2000 by Frank von Daak
    email                : frank.fun@kpage.de
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   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.                                   *
 *                                                                         *
 ***************************************************************************/
/***************************************************************************
                          gametimer.h  -  description
                             -------------------
    begin                : Mon Apr 3 2000
    copyright            : (C) 2000 by Frank von Daak
    email                : frank.fun@kpage.de
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   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 GAMETIMER_H
#define GAMETIMER_H

#include <kapp.h>

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

/**
  *@author Frank von Daak
  */

class GameTimer : public QObject {
   Q_OBJECT
public: 
	GameTimer(QObject *object);
	~GameTimer();

	void maxTime(int);

private:
	void timerEvent(QTimerEvent*);
	int sek;
	
signals:
	void timeleft(QString);
	void timerExit();
};

#endif