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 "listview.h" 0008 0009 ListView::ListView(QWidget *parent) 0010 : QListView(parent) 0011 { 0012 } 0013 0014 void ListView::currentChanged(const QModelIndex ¤t, const QModelIndex &previous) 0015 { 0016 Q_UNUSED(previous) 0017 Q_EMIT itemActivated(current); 0018 } 0019 0020 #include "moc_listview.cpp"