/****************************************************************************
** $Id: /sample/3/counter.h 2.3.2 edited 2004-10-12 $
**
** Copyright (C) 2004-2005 OURSELEC AS. All rights reserved.
**
** This file is part of an example program for Qt. This example
** program may be used, distributed and modified without
limitation.
**
*****************************************************************************/
#ifndef COUNTER_H
#define COUNTER_H
#include
class Counter: public QWidget
{
Q_OBJECT
public:
Counter( QWidget *parent=0, const char *name=0 );
public slots:
void IncCounter();
void DecCounter();
private:
int counter;
QLabel *label;
};
#endif