kwave  18.07.70
TreeWidgetWrapper.h
Go to the documentation of this file.
1 /***************************************************************************
2  TreeWidget.h - wrapper for QTreeWidget to get focus out information
3  -------------------
4  begin : Mon May 12 2008
5  copyright : (C) 2008 by Thomas Eschenbacher
6  email : Thomas.Eschenbacher@gmx.de
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef TREE_WIDGET_WRAPPER_H
19 #define TREE_WIDGET_WRAPPER_H
20 
21 #include "config.h"
22 
23 #include <QtGlobal>
24 #include <QObject>
25 #include <QTreeWidget>
26 
27 class QFocusEvent;
28 
29 namespace Kwave
30 {
31  class Q_DECL_EXPORT TreeWidgetWrapper: public QTreeWidget
32  {
33  Q_OBJECT
34  public:
36  explicit TreeWidgetWrapper(QWidget *parent);
37 
39  virtual ~TreeWidgetWrapper() Q_DECL_OVERRIDE;
40 
42  virtual void focusOutEvent(QFocusEvent *event) Q_DECL_OVERRIDE;
43 
44  signals:
45 
47  void focusLost();
48 
49  };
50 }
51 
52 #endif /* TREE_WIDGET_WRAPPER_H */
53 
54 //***************************************************************************
55 //***************************************************************************
Definition: App.h:33