//-----------------------------------------------------------------------------
//
// Screen savers for TDE
//
// Copyright (c)  Martin R. Jones 1999
//

#ifndef __DEMOWIN_H__
#define __DEMOWIN_H__

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <stdio.h>
#include <stdlib.h>
#include <tdelocale.h>
#include <tdeconfig.h>
#include <tdestandarddirs.h>
#include <tdeapplication.h>

//----------------------------------------------------------------------------

class DemoWindow : public TQWidget
{
    TQ_OBJECT
  
public:
    DemoWindow() : TQWidget()
    {
        setFixedSize(600, 420);
    }

protected:
    virtual void keyPressEvent(TQKeyEvent *e)
    {
        if (e->ascii() == 'q')
        {
            tdeApp->quit();
        }
    }
};

#endif

