File indexing completed on 2025-01-05 05:14:39

0001 /*
0002 SPDX-FileCopyrightText: 2021 Hamed Masafi <hamed.masfi@gmail.com>
0003 
0004 SPDX-License-Identifier: GPL-3.0-or-later
0005 */
0006 
0007 #include "treeview.h"
0008 
0009 TreeView::TreeView(QWidget *parent)
0010     : QTreeView(parent)
0011 {
0012 }
0013 
0014 void TreeView::currentChanged(const QModelIndex &current, const QModelIndex &previous)
0015 {
0016     Q_UNUSED(previous)
0017     Q_EMIT itemActivated(current);
0018 }
0019 
0020 #include "moc_treeview.cpp"