• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

KStyles

oxygenconf.h

Go to the documentation of this file.
00001 /*
00002 Copyright (C) 2003 Sandro Giessl <ceebx@users.sourceforge.net>
00003 
00004 based on the Keramik configuration dialog:
00005 Copyright (c) 2003 Maksim Orlovich <maksim.orlovich@kdemail.net>
00006 
00007 Permission is hereby granted, free of charge, to any person obtaining a
00008 copy of this software and associated documentation files (the "Software"),
00009 to deal in the Software without restriction, including without limitation
00010 the rights to use, copy, modify, merge, publish, distribute, sublicense,
00011 and/or sell copies of the Software, and to permit persons to whom the
00012 Software is furnished to do so, subject to the following conditions:
00013 
00014 The above copyright notice and this permission notice shall be included in
00015 all copies or substantial portions of the Software.
00016 
00017 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
00018 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
00019 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
00020 THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
00021 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
00022 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
00023 DEALINGS IN THE SOFTWARE.
00024 
00025 */
00026 
00027 #ifndef OXYGENCONF_H
00028 #define OXYGENCONF_H
00029 
00030 #ifndef QT3_SUPPORT
00031 #define QT3_SUPPORT
00032 #endif
00033 #include <QtGui/QWidget>
00034 #include <QtGui/QColor>
00035 #include <KSharedConfig>
00036 
00037 class QCheckBox;
00038 class KColorButton;
00039 
00040 class OxygenStyleConfig: public QWidget
00041 {
00042     Q_OBJECT
00043 public:
00044     OxygenStyleConfig(QWidget* parent);
00045     ~OxygenStyleConfig();
00046 
00047     //This signal and the next two slots are the plugin
00048     //page interface
00049 Q_SIGNALS:
00050     void changed(bool);
00051 
00052 public Q_SLOTS:
00053     void save();
00054     void defaults();
00055 
00056     //Everything below this is internal.
00057 protected Q_SLOTS:
00058     void updateChanged();
00059 
00060 protected:
00061     KSharedConfigPtr config;
00062 
00063     //We store settings directly in widgets to
00064     //avoid the hassle of sync'ing things
00065     QCheckBox* animateProgressBar;
00066     QCheckBox* drawToolBarItemSeparator;
00067     QCheckBox* drawTriangularExpander;
00068 
00069     //Original settings, for accurate dirtiness tracking
00070     bool       origAnimProgressBar;
00071     bool       origDrawToolBarItemSeparator;
00072     bool       origDrawTriangularExpander;
00073 };
00074 
00075 #endif // OXYGENCONF_H

KStyles

Skip menu "KStyles"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • KCMShell
  • KNotify
  • KStyles
  • Nepomuk Daemons
Generated for API Reference by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal