source: trunk/examples/hello/hello.h@ 20

Last change on this file since 20 was 2, checked in by dmik, 20 years ago

Imported xplatform parts of the official release 3.3.1 from Trolltech

  • Property svn:keywords set to Id
File size: 792 bytes
Line 
1/****************************************************************************
2** $Id: hello.h 2 2005-11-16 15:49:26Z dmik $
3**
4** Copyright (C) 1992-2000 Trolltech AS. All rights reserved.
5**
6** This file is part of an example program for Qt. This example
7** program may be used, distributed and modified without limitation.
8**
9*****************************************************************************/
10
11#ifndef HELLO_H
12#define HELLO_H
13
14#include <qwidget.h>
15
16
17class Hello : public QWidget
18{
19 Q_OBJECT
20public:
21 Hello( const char *text, QWidget *parent=0, const char *name=0 );
22signals:
23 void clicked();
24protected:
25 void mouseReleaseEvent( QMouseEvent * );
26 void paintEvent( QPaintEvent * );
27private slots:
28 void animate();
29private:
30 QString t;
31 int b;
32};
33
34#endif
Note: See TracBrowser for help on using the repository browser.