summaryrefslogtreecommitdiffstats
path: root/amarok/src/deviceconfiguredialog.h
blob: 9d02a360dd56a464e7d8bb7b6ffdfcd3eea47de8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
//
// C++ Interface: deviceconfiguredialog.h
//
// Description:
//
//
// Author: Jeff Mitchell <kde-dev@emailgoeshere.com>, (C) 2006
//         Martin Aumueller <aumuell@reserv.at>, (C) 2005
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef DEVICECONFIGUREDIALOG_H
#define DEVICECONFIGUREDIALOG_H

#include "hintlineedit.h"

#include <tqcheckbox.h>
#include <tqradiobutton.h>

#include <kdialogbase.h>

class MediaBrowser;
class Medium;

/**
    @author Jeff Mitchell <kde-dev@emailgoeshere.com>
*/
class DeviceConfigureDialog : public KDialogBase
{
    Q_OBJECT

    public:
        DeviceConfigureDialog( const Medium &medium );
        ~DeviceConfigureDialog();
        bool successful() { return m_accepted; };

    private slots:
        void slotOk();
        void slotCancel();

    private:
        bool            m_accepted;
        Medium*         m_medium;

        HintLineEdit    *m_connectEdit;
        HintLineEdit    *m_disconnectEdit;
        TQCheckBox       *m_transcodeCheck;
        TQRadioButton    *m_transcodeAlways;
        TQRadioButton    *m_transcodeWhenNecessary;
        TQCheckBox       *m_transcodeRemove;

};

#endif