File indexing completed on 2024-04-28 04:50:22

0001 /*
0002     SPDX-FileCopyrightText: 2003 Christian Kvasny <chris@k3b.org>
0003     SPDX-FileCopyrightText: 1998-2007 Sebastian Trueg <trueg@k3b.org>
0004 
0005     SPDX-License-Identifier: GPL-2.0-or-later
0006 */
0007 
0008 
0009 #ifndef _K3B_VIDEOCD_RIPPING_DIALOG_H_
0010 #define _K3B_VIDEOCD_RIPPING_DIALOG_H_
0011 
0012 #include "k3binteractiondialog.h"
0013 #include "k3bdiskinfo.h"
0014 #include "k3bvideocdrippingoptions.h"
0015 
0016 class QCheckBox;
0017 class QLabel;
0018 class KUrlRequester;
0019 
0020 namespace K3b {
0021     class TempDirSelectionWidget;
0022 
0023     class VideoCdRippingDialog : public InteractionDialog
0024     {
0025         Q_OBJECT
0026 
0027     public:
0028         explicit VideoCdRippingDialog( VideoCdRippingOptions* options, QWidget* parent = 0 );
0029         ~VideoCdRippingDialog() override;
0030 
0031     private:
0032         void setupGui();
0033         void setupContextHelp();
0034 
0035         void loadSettings( const KConfigGroup& ) override;
0036         void saveSettings( KConfigGroup ) override;
0037 
0038         TempDirSelectionWidget* m_tempDirSelectionWidget;
0039 
0040         KUrlRequester* m_editDirectory;
0041 
0042         QLabel* m_labelFreeSpace;
0043         QLabel* m_labelNecessarySize;
0044         QCheckBox* m_ignoreExt;
0045         QCheckBox* m_sector2336;
0046         QCheckBox* m_extractXML;
0047 
0048         VideoCdRippingOptions* m_videooptions;
0049 
0050         unsigned long m_freeSpace;
0051 
0052     private Q_SLOTS:
0053         void slotStartClicked() override;
0054 
0055         void slotUpdateFreeSpace();
0056         void slotFreeSpace(const QString&, unsigned long, unsigned long, unsigned long);
0057 
0058     };
0059 }
0060 
0061 #endif