Last change
on this file since 10 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:
752 bytes
|
Line | |
---|
1 | /****************************************************************************
|
---|
2 | ** $Id: mywidget.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 MYWIDGET_H
|
---|
12 | #define MYWIDGET_H
|
---|
13 |
|
---|
14 | #include <qmainwindow.h>
|
---|
15 | #include <qstring.h>
|
---|
16 |
|
---|
17 | class MyWidget : public QMainWindow
|
---|
18 | {
|
---|
19 | Q_OBJECT
|
---|
20 |
|
---|
21 | public:
|
---|
22 | MyWidget( QWidget* parent=0, const char* name = 0 );
|
---|
23 |
|
---|
24 | signals:
|
---|
25 | void closed();
|
---|
26 |
|
---|
27 | protected:
|
---|
28 | void closeEvent(QCloseEvent*);
|
---|
29 |
|
---|
30 | private:
|
---|
31 | static void initChoices(QWidget* parent);
|
---|
32 | };
|
---|
33 |
|
---|
34 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.