/***************************************************************************
                          CdCopyDialogBase.h  -  description
                             -------------------
    begin                : Sat May 5 2002
    copyright            : (C) 2001 by Alex Podolsky
    email                : alexpod@users.sourceforge.net
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   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.                                   *
 *                                                                         *
 ***************************************************************************/
#ifndef CDCOPYDIALOGBASE_H
#define CDCOPYDIALOGBASE_H

#include <qvariant.h>
#include <kdialog.h>
#include <ktabctl.h>

class QVBoxLayout; 
class QHBoxLayout;
class QGridLayout; 
class DialogCntPnl;
class DriveInfoPnl;
class QButtonGroup;
class QCheckBox;
class QComboBox;
class QFrame;
class QGroupBox;
class QLabel;
class QListView;
class QListViewItem;
class QPushButton;
class QRadioButton;
class QSpinBox;
class QTabWidget;
class QWidget;
class SpeedPnl;

class CdCopyDialogBaseTabs;
class CdboCddaView;

class CdCopyDialogBase : public KDialog
{ 
    Q_OBJECT

public:
    CdCopyDialogBase( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
    ~CdCopyDialogBase();

protected slots:
    virtual void customBtnSlot();
    virtual void dataSlot();
    virtual void musicSlot();
    virtual void readOptionsBtnSlot();

protected:
    DialogCntPnl* dialogCntPnl;
    QFrame* Frame5;
    DriveInfoPnl* srcDevicePnl;
    DriveInfoPnl* targetDevicePnl;
    QFrame* detailesPnl;
	CdCopyDialogBaseTabs* deatilesTab;
    QWidget* detailesTb;
    QFrame* detailsFrm;
    QGroupBox* GroupBox6_2_2;
    QPushButton* optionsBtn;
    QComboBox* outputTypeChk;
    QCheckBox* removeTempBtn;
    QCheckBox* readOnlyChk;
    QLabel* TextLabel1;
    QGroupBox* recordDetailesOnl;
    QComboBox* actionCmb;
    QLabel* TextLabel2_2;
    QSpinBox* numberSpn;
    QPushButton* customBurnBtn;
    SpeedPnl* speedPnl;
    QButtonGroup* ButtonGroup17_2;
    QRadioButton* dataRBtn;
    QRadioButton* musicRBtn;
    QWidget* audioTb;

    QVBoxLayout* Frame5Layout;
    QVBoxLayout* detailesPnlLayout;
    QVBoxLayout* detailesTbLayout;
    QGridLayout* detailsFrmLayout;
    QGridLayout* GroupBox6_2_2Layout;
    QHBoxLayout* recordDetailesOnlLayout;
    QVBoxLayout* ButtonGroup17_2Layout;
    QVBoxLayout* audioTbLayout;

     CdboCddaView *trackView;
};

class CdCopyDialogBaseTabs : public KTabCtl{
    Q_OBJECT
public:
	CdCopyDialogBaseTabs( QWidget* parent = 0, const char* name = 0);
	void showAudioTab(){ showTab(1); }
};
#endif // CDCOPYDIALOGBASE_H
