File indexing completed on 2024-05-12 08:52:19
0001 /* 0002 SPDX-FileCopyrightText: 2010-2011 Michal Malek <michalm@jabster.pl> 0003 SPDX-FileCopyrightText: 1998-2007 Sebastian Trueg <trueg@k3b.org> 0004 0005 SPDX-License-Identifier: GPL-2.0-or-later 0006 */ 0007 0008 #ifndef _K3B_VIDEODVD_RIPPING_VIEW_H_ 0009 #define _K3B_VIDEODVD_RIPPING_VIEW_H_ 0010 0011 #include "k3bmediacontentsview.h" 0012 0013 class KActionCollection; 0014 0015 namespace K3b { 0016 0017 class VideoDVDRippingView : public MediaContentsView 0018 { 0019 Q_OBJECT 0020 0021 public: 0022 explicit VideoDVDRippingView( QWidget* parent = 0 ); 0023 ~VideoDVDRippingView() override; 0024 0025 KActionCollection* actionCollection() const; 0026 0027 protected: 0028 bool eventFilter( QObject* obj, QEvent* event ) override; 0029 0030 private Q_SLOTS: 0031 void slotStartRipping(); 0032 void slotContextMenu( const QPoint& pos ); 0033 void slotContextMenuAboutToShow(); 0034 void slotCheck(); 0035 void slotUncheck(); 0036 void slotToggle(); 0037 void slotShowFiles(); 0038 0039 private: 0040 void reloadMedium() override; 0041 void enableInteraction( bool enable ) override; 0042 void activate( bool active ) override; 0043 void initActions(); 0044 0045 class Private; 0046 Private* d; 0047 }; 0048 0049 } // namespace K3b 0050 0051 #endif