diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-03 02:15:56 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-03 02:15:56 +0000 |
commit | 50b48aec6ddd451a6d1709c0942477b503457663 (patch) | |
tree | a9ece53ec06fd0a2819de7a2a6de997193566626 /src/misc/k3bcdcopydialog.h | |
download | k3b-50b48aec6ddd451a6d1709c0942477b503457663.tar.gz k3b-50b48aec6ddd451a6d1709c0942477b503457663.zip |
Added abandoned KDE3 version of K3B
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1084400 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/misc/k3bcdcopydialog.h')
-rw-r--r-- | src/misc/k3bcdcopydialog.h | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/src/misc/k3bcdcopydialog.h b/src/misc/k3bcdcopydialog.h new file mode 100644 index 0000000..b7a4bd2 --- /dev/null +++ b/src/misc/k3bcdcopydialog.h @@ -0,0 +1,96 @@ +/* + * + * $Id: k3bcdcopydialog.h 733470 2007-11-06 12:10:29Z trueg $ + * Copyright (C) 2003 Sebastian Trueg <[email protected]> + * Klaus-Dieter Krannich <[email protected]> + * + * This file is part of the K3b project. + * Copyright (C) 1998-2007 Sebastian Trueg <[email protected]> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * See the file "COPYING" for the exact licensing terms. + */ + + +#ifndef K3BCDCOPYDIALOG_H +#define K3BCDCOPYDIALOG_H + + +#include <k3binteractiondialog.h> + +#include <kio/global.h> + +namespace K3bDevice { + class Device; + class DeviceManager; +} + +class K3bWriterSelectionWidget; +class K3bTempDirSelectionWidget; +class K3bMediaSelectionComboBox; +class QCheckBox; +class QSpinBox; +class QComboBox; +class K3bWritingModeWidget; +class QButtonGroup; +class QGroupBox; + + +/** + *@author Sebastian Trueg + */ +class K3bCdCopyDialog : public K3bInteractionDialog +{ + Q_OBJECT + + public: + K3bCdCopyDialog(QWidget *parent = 0, const char *name = 0, bool modal = true ); + ~K3bCdCopyDialog(); + + void setReadingDevice( K3bDevice::Device* ); + K3bDevice::Device* readingDevice() const; + + private slots: + void slotStartClicked(); + + void slotSourceMediumChanged( K3bDevice::Device* ); + void updateOverrideDevice(); + + protected: + void init(); + void toggleAll(); + + private: + void loadUserDefaults( KConfigBase* ); + void saveUserDefaults( KConfigBase* ); + void loadK3bDefaults(); + + KIO::filesize_t neededSize() const; + + K3bWriterSelectionWidget* m_writerSelectionWidget; + K3bTempDirSelectionWidget* m_tempDirSelectionWidget; + QCheckBox* m_checkSimulate; + QCheckBox* m_checkCacheImage; + QCheckBox* m_checkDeleteImages; + QCheckBox* m_checkOnlyCreateImage; + QCheckBox* m_checkReadCdText; + QCheckBox* m_checkPrefereCdText; + QCheckBox* m_checkIgnoreDataReadErrors; + QCheckBox* m_checkIgnoreAudioReadErrors; + QCheckBox* m_checkNoCorrection; + K3bMediaSelectionComboBox* m_comboSourceDevice; + QComboBox* m_comboParanoiaMode; + QSpinBox* m_spinCopies; + QSpinBox* m_spinDataRetries; + QSpinBox* m_spinAudioRetries; + K3bWritingModeWidget* m_writingModeWidget; + QComboBox* m_comboCopyMode; + + QGroupBox* m_groupAdvancedDataOptions; + QGroupBox* m_groupAdvancedAudioOptions; +}; + +#endif |