kwave  18.07.70
TreeWidgetWrapper.cpp
Go to the documentation of this file.
1 /***************************************************************************
2  TreeWidget.cpp - 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 #include "config.h"
20 
21 //***************************************************************************
23  :QTreeWidget(widget)
24 {
25 }
26 
27 //***************************************************************************
29 {
30 }
31 
32 //***************************************************************************
34 {
35  QTreeWidget::focusOutEvent(event);
36  emit focusLost();
37 }
38 
39 //***************************************************************************
40 //***************************************************************************
virtual ~TreeWidgetWrapper() Q_DECL_OVERRIDE
TreeWidgetWrapper(QWidget *parent)
virtual void focusOutEvent(QFocusEvent *event) Q_DECL_OVERRIDE