Back to index

kdeartwork  4.3.2
phasestyleconfig.h
Go to the documentation of this file.
00001 
00002 // phasestyleconfig.h
00003 // -------------------
00004 // Config dialog for Phase widget style
00005 // -------------------
00006 // Copyright (c) 2004-2007 David Johnson <david@usermode.org>
00007 //
00008 // Permission is hereby granted, free of charge, to any person obtaining a copy
00009 // of this software and associated documentation files (the "Software"), to
00010 // deal in the Software without restriction, including without limitation the
00011 // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
00012 // sell copies of the Software, and to permit persons to whom the Software is
00013 // furnished to do so, subject to the following conditions:
00014 //
00015 // The above copyright notice and this permission notice shall be included in
00016 // all copies or substantial portions of the Software.
00017 //
00018 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
00019 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
00020 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
00021 // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
00022 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
00023 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
00024 // IN THE SOFTWARE.
00026 
00027 #ifndef PHASESTYLECONFIG_H
00028 #define PHASESTYLECONFIG_H
00029 
00030 #include <QWidget>
00031 #include "ui_styledialog.h"
00032 
00033 class PhaseStyleConfig : public QWidget, private Ui::StyleDialog
00034 {
00035     Q_OBJECT
00036 public:
00037     PhaseStyleConfig(QWidget* parent);
00038     ~PhaseStyleConfig();
00039 
00040 signals:
00041     void changed(bool);
00042 
00043 public slots:
00044     void save();
00045     void defaults();
00046 
00047 protected slots:
00048     void updateChanged();
00049 
00050 private:
00051     bool oldgradients;
00052     bool oldhighlights;
00053 };
00054 
00055 #endif // PHASESTYLECONFIG_H