4
* kscd -- A simple CD player for the KDE project
6
* $Id: configdlg.h,v 1.16 2001/06/12 06:06:45 dfoerste Exp $
8
* Copyright (C) 1997 Bernd Johannes Wuebben
9
* wuebben@math.cornell.edu
12
* This library is free software; you can redistribute it and/or
13
* modify it under the terms of the GNU Library General Public
14
* License as published by the Free Software Foundation; either
15
* version 2 of the License, or (at your option) any later version.
17
* This library is distributed in the hope that it will be useful,
18
* but WITHOUT ANY WARRANTY; without even the implied warranty of
19
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20
* Library General Public License for more details.
22
* You should have received a copy of the GNU Library General Public
23
* License along with this program; if not, write to the Free
24
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
29
#ifndef _CONFIG_DLG_H_
30
#define _CONFIG_DLG_H_
32
#include <qgroupbox.h>
34
#include <qlineedit.h>
35
#include <qpushbutton.h>
39
#include <qcheckbox.h>
40
#include <qlineedit.h>
41
#include <qradiobutton.h>
43
#include <qbuttongroup.h>
44
#include <kcolordlg.h>
50
class ConfigDlg : public QDialog {
56
ConfigDlg(QWidget *parent=0, struct configstruct * data=0,const char *name=0);
60
struct configstruct * getData();
66
void set_background_color();
70
void autoPlayClicked();
71
void stopOnExitClicked();
72
void ejectOnFinishClicked();
73
void device_changed(const QString&);
74
void randomOnceClicked();
75
void custombutton_clicked();
76
void kfmbutton_clicked();
86
struct configstruct configdata;
102
QPushButton *button3;
106
QPushButton *button4;
108
QLabel *tooltipslabel;
109
QCheckBox *ttcheckbox;
110
QCheckBox *dockcheckbox;
111
QCheckBox *cdAutoPlayCB;
112
QCheckBox *stopOnExitCB;
113
QCheckBox *ejectOnFinishCB;
114
QCheckBox *randomOnceCB;
117
QLineEdit *cd_device_edit;
119
QButtonGroup *browserbox;
121
QRadioButton *kfmbutton;
122
QRadioButton *custombutton;
124
QLineEdit *custom_edit;