not quite so much needs to be delayed to the init() function
[personal-kdebase.git] / workspace / kcontrol / style / keramik / keramikconf.h
blobee6c71b72983000c4424859fa1d9f1597dd62c29
1 /*
2 Copyright (c) 2003 Maksim Orlovich <maksim.orlovich@kdemail.net>
4 Permission is hereby granted, free of charge, to any person obtaining a
5 copy of this software and associated documentation files (the "Software"),
6 to deal in the Software without restriction, including without limitation
7 the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 and/or sell copies of the Software, and to permit persons to whom the
9 Software is furnished to do so, subject to the following conditions:
11 The above copyright notice and this permission notice shall be included in
12 all copies or substantial portions of the Software.
14 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17 THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20 DEALINGS IN THE SOFTWARE.
24 #ifndef KERAMIK_CONF_H
25 #define KERAMIK_CONF_H
27 class QCheckBox;
29 class KeramikStyleConfig: public QWidget
31 Q_OBJECT
32 public:
33 KeramikStyleConfig(QWidget* parent);
34 ~KeramikStyleConfig();
36 //This signal and the next two slots are the plugin
37 //page interface
38 Q_SIGNALS:
39 void changed(bool);
41 public Q_SLOTS:
42 void save();
43 void defaults();
45 //Everything below this is internal.
46 protected Q_SLOTS:
47 void updateChanged();
49 protected:
50 //We store settings directly in widgets to
51 //avoid the hassle of sync'ing things
52 //QCheckBox* highlightLineEdits;
53 QCheckBox* animateProgressBar;
54 QCheckBox* highlightScrollBar;
56 //Original settings, for accurate dirtiness tracking
57 //bool origHlLineEdit;
58 bool origAnimProgressBar;
59 bool origHlScrollbar;
62 #endif