author | sandman <sandman> | 2002-09-24 23:53:23 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-09-24 23:53:23 (UTC) |
commit | 5ae62a1def1d21c4827560607b208033d6054ed0 (patch) (side-by-side diff) | |
tree | 445b34a539ec9f377d36ba9fb1587c72dafa46b0 /noncore/settings/appearance2/editScheme.h | |
parent | a390040768072b4b2b931ec0bcdaaa55daae0b4c (diff) | |
download | opie-5ae62a1def1d21c4827560607b208033d6054ed0.zip opie-5ae62a1def1d21c4827560607b208033d6054ed0.tar.gz opie-5ae62a1def1d21c4827560607b208033d6054ed0.tar.bz2 |
- updated all copyright headers
- use new OColorButton
- rearranged editScheme a bit
Diffstat (limited to 'noncore/settings/appearance2/editScheme.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/appearance2/editScheme.h | 73 |
1 files changed, 39 insertions, 34 deletions
diff --git a/noncore/settings/appearance2/editScheme.h b/noncore/settings/appearance2/editScheme.h index 583050f..0a025bd 100644 --- a/noncore/settings/appearance2/editScheme.h +++ b/noncore/settings/appearance2/editScheme.h @@ -1,48 +1,53 @@ -/********************************************************************** -** EditScheme -** -** Dialog for editing color scheme -** -** Copyright (C) 2002, Dan Williams -** williamsdr@acm.org -** http://draknor.net -** -** This file may be distributed and/or modified under the terms of the -** GNU General Public License version 2 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the -** packaging of this file. -** -** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE -** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. -** -**********************************************************************/ +/* + =. This file is part of the OPIE Project + .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> + .>+-= + _;:, .> :=|. This library is free software; you can +.> <`_, > . <= redistribute it and/or modify it under +:`=1 )Y*s>-.-- : the terms of the GNU Library General Public +.="- .-=="i, .._ License as published by the Free Software + - . .-<_> .<> Foundation; either version 2 of the License, + ._= =} : or (at your option) any later version. + .%`+i> _;_. + .i_,=:_. -<s. This library is distributed in the hope that + + . -:. = it will be useful, but WITHOUT ANY WARRANTY; + : .. .:, . . . without even the implied warranty of + =_ + =;=|` MERCHANTABILITY or FITNESS FOR A + _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU +..}^=.= = ; Library General Public License for more +++= -. .` .: details. + : = ...= . :.=- + -. .:....=;==+<; You should have received a copy of the GNU + -_. . . )=. = Library General Public License along with + -- :-=` this library; see the file COPYING.LIB. + If not, write to the Free Software Foundation, + Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. + +*/ #ifndef EDITSCHEME_H #define EDITSCHEME_H #include <qdialog.h> -#include <qtoolbutton.h> class QColor; +class OColorButton; -class EditScheme : public QDialog -{ - Q_OBJECT +class EditScheme : public QDialog { + Q_OBJECT public: - EditScheme( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0, - int = 0, QString * = 0, QString * = 0 ); - ~EditScheme(); - - int maxCount; - QString * surfaceList; - QString * colorList; - - - QToolButton** colorButtons; + EditScheme ( int cnt, const QString *labels, QColor *colors, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); + virtual ~EditScheme ( ); protected slots: - void changeColor( const QColor& ); + virtual void accept ( ); + +private: + int m_count; + QColor *m_colors; + OColorButton **m_buttons; }; -#endif // EDITSCHEME_H +#endif |