~ubuntu-branches/ubuntu/hoary/kdemultimedia/hoary

« back to all changes in this revision

Viewing changes to kscd/configdlg.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Schulze
  • Date: 2003-01-22 15:00:51 UTC
  • Revision ID: james.westby@ubuntu.com-20030122150051-uihwkdoxf15mi1tn
Tags: upstream-2.2.2
ImportĀ upstreamĀ versionĀ 2.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
/*
 
3
 *
 
4
 * kscd -- A simple CD player for the KDE project
 
5
 *
 
6
 * $Id: configdlg.h,v 1.16 2001/06/12 06:06:45 dfoerste Exp $
 
7
 *
 
8
 * Copyright (C) 1997 Bernd Johannes Wuebben
 
9
 * wuebben@math.cornell.edu
 
10
 *
 
11
 *
 
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.
 
16
 *
 
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.
 
21
 *
 
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.
 
25
 *
 
26
 */
 
27
 
 
28
 
 
29
#ifndef _CONFIG_DLG_H_
 
30
#define _CONFIG_DLG_H_
 
31
 
 
32
#include <qgroupbox.h>
 
33
#include <qdialog.h>
 
34
#include <qlineedit.h>
 
35
#include <qpushbutton.h>
 
36
#include <qpainter.h>
 
37
#include <qlabel.h>
 
38
#include <qframe.h>
 
39
#include <qcheckbox.h>
 
40
#include <qlineedit.h>
 
41
#include <qradiobutton.h>
 
42
#include <qbutton.h>
 
43
#include <qbuttongroup.h>
 
44
#include <kcolordlg.h>
 
45
 
 
46
 
 
47
#include "kscd.h"
 
48
 
 
49
 
 
50
class ConfigDlg : public QDialog {
 
51
 
 
52
Q_OBJECT
 
53
 
 
54
public:
 
55
 
 
56
  ConfigDlg(QWidget *parent=0, struct configstruct * data=0,const char *name=0);
 
57
  ~ConfigDlg() {}
 
58
 
 
59
 
 
60
  struct configstruct * getData();
 
61
 
 
62
private slots:
 
63
  void cancelbutton();
 
64
  void okbutton();
 
65
  void set_led_color();
 
66
  void set_background_color();
 
67
  void help();
 
68
  void ttclicked();
 
69
  void dockclicked();
 
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();
 
77
 
 
78
signals:
 
79
  void color_change();
 
80
 
 
81
public:
 
82
  bool colors_changed;
 
83
 
 
84
private:
 
85
 
 
86
  struct configstruct configdata;
 
87
  QGroupBox *box;
 
88
 
 
89
  QPushButton *ok;
 
90
  QPushButton *cancel;
 
91
 
 
92
  QLabel *label1;
 
93
  QFrame *qframe1;
 
94
  QPushButton *button1;
 
95
 
 
96
  QLabel *label2;
 
97
  QFrame *qframe2;
 
98
  QPushButton *button2;
 
99
 
 
100
  QLabel *label3;
 
101
  QFrame *qframe3;
 
102
  QPushButton *button3;
 
103
 
 
104
  QLabel *label4;
 
105
  QFrame *qframe4;
 
106
  QPushButton *button4;
 
107
 
 
108
  QLabel *tooltipslabel;
 
109
  QCheckBox *ttcheckbox;
 
110
  QCheckBox *dockcheckbox;
 
111
  QCheckBox *cdAutoPlayCB;
 
112
  QCheckBox *stopOnExitCB;
 
113
  QCheckBox *ejectOnFinishCB;
 
114
  QCheckBox *randomOnceCB;
 
115
 
 
116
  QLabel *label5;
 
117
  QLineEdit *cd_device_edit;
 
118
 
 
119
  QButtonGroup *browserbox;
 
120
 
 
121
  QRadioButton *kfmbutton;
 
122
  QRadioButton *custombutton;
 
123
 
 
124
  QLineEdit *custom_edit;
 
125
 
 
126
};
 
127
#endif