Root/
Source at commit 1322 created 12 years 8 months ago. By meklort, Add doxygen to utils folder | |
---|---|
1 | /****************************************************************************␊ |
2 | ** ␊ |
3 | **␊ |
4 | ** Copyright (C) 1992-1998 Troll Tech 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 | ␊ |
17 | class Hello : public QWidget␊ |
18 | {␊ |
19 | Q_OBJECT␊ |
20 | public:␊ |
21 | Hello( const char *text, QWidget *parent=0, const char *name=0 );␊ |
22 | signals:␊ |
23 | void clicked();␊ |
24 | protected:␊ |
25 | void mouseReleaseEvent( QMouseEvent * );␊ |
26 | void paintEvent( QPaintEvent * );␊ |
27 | private slots:␊ |
28 | void animate();␊ |
29 | private:␊ |
30 | QString t;␊ |
31 | int b;␊ |
32 | };␊ |
33 | ␊ |
34 | #endif␊ |
35 |