QTreeViewAdapter.h

00001 /*
00002  * @(#)QTreeViewAdapter.h  0.2.0 / 2007-12-18
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 QTREEVIEWADAPTER_H
00010 #define QTREEVIEWADAPTER_H
00011 
00012 #include "JavaQxQSwing.h"
00013 
00014 /*^**************************************************************************^*/
00015 /*- QTreeViewAdapter Class.                                                  -*/
00016 /*^**************************************************************************^*/
00017 
00018 class JQTreeBridge;
00019 
00026 class JAVAQX_EXPORT QTreeViewAdapter : public QTreeView
00027 {
00028   Q_OBJECT
00029 public:
00030   QTreeViewAdapter(JQTreeBridge *bridge);
00031 protected slots:
00032   void adjustSize(const QModelIndex & index);
00033 protected:
00034   virtual bool event(QEvent *e);
00035 protected:
00036   JQTreeBridge *m_bridge;
00037 };
00038 
00039 #endif // QTREEVIEWADAPTER_H
00040 
00041 
00042 /*^*****************************************************************************
00043   File History:
00044 
00045  - 2007-12-18 09:23:05 Slobodan
00046    Initial version
00047 
00048 *****************************************************************************^*/

Copyright © 2007 ETF and contributors. All Rights Reserved.