00001 /* 00002 * @(#)QMainWindowAdapter.h 0.2.0 / 2007-11-20 00003 * 00004 * Copyright (c) 2007, ETF and contributors. All rights reserved. 00005 * 00006 * This software is licensed under the LGPL, version 2.1, license. 00007 * A copy of the license is included in the file LICENSE-LGPL.txt. 00008 */ 00009 #ifndef QMAINWINDOWADAPTER_H 00010 #define QMAINWINDOWADAPTER_H 00011 00012 #include "JavaQxQSwing.h" 00013 00014 /*^**************************************************************************^*/ 00015 /*- QMainWindowAdapter Class. -*/ 00016 /*^**************************************************************************^*/ 00017 00024 class JAVAQX_EXPORT QMainWindowAdapter : public QMainWindow 00025 { 00026 public: 00027 QMainWindowAdapter(QWidget *parent = 0, Qt::WindowFlags flags = 0); 00028 public: 00029 virtual QSize sizeHint() const; 00030 virtual QMenu *createPopupMenu(); 00031 }; 00032 00033 #endif // QMAINWINDOWADAPTER_H 00034 00035 /*^***************************************************************************** 00036 File History: 00037 00038 - 2007-11-20 20:24:00 Slobodan 00039 Initial version 00040 00041 *****************************************************************************^*/