QWidgetActionAdapter.h

00001 /*
00002  * @(#)QWidgetActionAdapter.h  0.2.0 / 2007-11-07
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 QWIDGETACTIONADAPTER_H
00010 #define QWIDGETACTIONADAPTER_H
00011 
00012 #include "JQComponentBridge.h"
00013 
00014 /*^**************************************************************************^*/
00015 /*- QWidgetActionAdapter Class.                                              -*/
00016 /*^**************************************************************************^*/
00017 
00024 class JAVAQX_EXPORT QWidgetActionAdapter : public QWidgetAction
00025 {
00026 protected:
00027   friend class JQComponentBridge; // uses constructor
00028   QWidgetActionAdapter(JQComponentBridge *parent);
00029 protected:
00030   JQComponentBridge *parentBridge();
00031 protected:
00032   virtual QWidget *createWidget(QWidget *parent);
00033   virtual void deleteWidget(QWidget *widget);
00034 };
00035 
00036 #endif // QWIDGETACTIONADAPTER_H
00037 
00038 /*^*****************************************************************************
00039   File History:
00040 
00041  - 2007-11-07 18:04:01 Slobodan
00042    Initial version
00043 
00044 *****************************************************************************^*/

Copyright © 2007 ETF and contributors. All Rights Reserved.