home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / qt3_emx.zip / examples / i18n / mywidget.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-10-11  |  765 b   |  35 lines

  1. /****************************************************************************
  2. ** $Id:  qt/mywidget.h   3.0.0   edited Jun 22 13:24 $
  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
  35.