File indexing completed on 2024-05-05 04:51:49
0001 /* 0002 SPDX-FileCopyrightText: 2003-2004 Christian Kvasny <chris@k3b.org> 0003 SPDX-FileCopyrightText: 2009 Arthur Renato Mello <arthur@mandriva.com> 0004 SPDX-FileCopyrightText: 2009-2010 Michal Malek <michalm@jabster.pl> 0005 SPDX-FileCopyrightText: 1998-2009 Sebastian Trueg <trueg@k3b.org> 0006 0007 SPDX-License-Identifier: GPL-2.0-or-later 0008 */ 0009 0010 #ifndef K3BVCDVIEW_H 0011 #define K3BVCDVIEW_H 0012 0013 #include "k3bview.h" 0014 0015 #include <QModelIndex> 0016 0017 class QAction; 0018 class QTreeView; 0019 class QWidget; 0020 0021 namespace K3b { 0022 0023 class ProjectBurnDialog; 0024 class VcdDoc; 0025 class VcdProjectModel; 0026 0027 class VcdView : public View 0028 { 0029 Q_OBJECT 0030 0031 public: 0032 VcdView( VcdDoc* doc, QWidget* parent ); 0033 ~VcdView() override; 0034 0035 private Q_SLOTS: 0036 void slotSelectionChanged(); 0037 void slotProperties() override; 0038 void slotRemove(); 0039 void slotItemActivated( const QModelIndex& index ); 0040 0041 protected: 0042 ProjectBurnDialog* newBurnDialog( QWidget* parent = 0 ) override; 0043 0044 void init(); 0045 0046 private: 0047 VcdDoc* m_doc; 0048 VcdProjectModel* m_model; 0049 QTreeView* m_view; 0050 0051 QAction* m_actionProperties; 0052 QAction* m_actionRemove; 0053 }; 0054 } 0055 0056 #endif