-rw-r--r-- | libopie/colordialog.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/libopie/colordialog.h b/libopie/colordialog.h index a2d4d30..474bc61 100644 --- a/libopie/colordialog.h +++ b/libopie/colordialog.h | |||
@@ -1,10 +1,10 @@ | |||
1 | /**************************************************************************** | 1 | /**************************************************************************** |
2 | ** $Id$ | 2 | ** $Id$ |
3 | ** | 3 | ** |
4 | ** Definition of QColorDialog class | 4 | ** Definition of OColorDialog class |
5 | ** | 5 | ** |
6 | ** Created : 990222 | 6 | ** Created : 990222 |
7 | ** | 7 | ** |
8 | ** Copyright (C) 1992-2000 Trolltech AS. All rights reserved. | 8 | ** Copyright (C) 1992-2000 Trolltech AS. All rights reserved. |
9 | ** | 9 | ** |
10 | ** This file is part of the dialogs module of the Qt GUI Toolkit. | 10 | ** This file is part of the dialogs module of the Qt GUI Toolkit. |
@@ -32,46 +32,46 @@ | |||
32 | ** | 32 | ** |
33 | ** Contact info@trolltech.com if any conditions of this licensing are | 33 | ** Contact info@trolltech.com if any conditions of this licensing are |
34 | ** not clear to you. | 34 | ** not clear to you. |
35 | ** | 35 | ** |
36 | **********************************************************************/ | 36 | **********************************************************************/ |
37 | 37 | ||
38 | #ifndef QCOLORDIALOG_H | 38 | #ifndef OColorDialog_H |
39 | #define QCOLORDIALOG_H | 39 | #define OColorDialog_H |
40 | 40 | ||
41 | #ifndef QT_H | 41 | #ifndef QT_H |
42 | #include <qdialog.h> | 42 | #include <qdialog.h> |
43 | #endif // QT_H | 43 | #endif // QT_H |
44 | 44 | ||
45 | class QColorDialogPrivate; | 45 | class OColorDialogPrivate; |
46 | 46 | ||
47 | class Q_EXPORT QColorDialog : public QDialog | 47 | class Q_EXPORT OColorDialog : public QDialog |
48 | { | 48 | { |
49 | Q_OBJECT | 49 | Q_OBJECT |
50 | 50 | ||
51 | public: | 51 | public: |
52 | static QColor getColor( QColor, QWidget *parent=0, const char* name=0 ); // ### 3.0: make const QColor& | 52 | static QColor getColor( QColor, QWidget *parent=0, const char* name=0 ); // ### 3.0: make const QColor& |
53 | static QRgb getRgba( QRgb, bool* ok = 0, | 53 | static QRgb getRgba( QRgb, bool* ok = 0, |
54 | QWidget *parent=0, const char* name=0 ); | 54 | QWidget *parent=0, const char* name=0 ); |
55 | 55 | ||
56 | private: | 56 | private: |
57 | ~QColorDialog(); | 57 | ~OColorDialog(); |
58 | 58 | ||
59 | QColorDialog( QWidget* parent=0, const char* name=0, bool modal=FALSE ); | 59 | OColorDialog( QWidget* parent=0, const char* name=0, bool modal=FALSE ); |
60 | void setColor( QColor ); // ### 3.0: make const QColor& | 60 | void setColor( QColor ); // ### 3.0: make const QColor& |
61 | QColor color() const; | 61 | QColor color() const; |
62 | 62 | ||
63 | private: | 63 | private: |
64 | void setSelectedAlpha( int ); | 64 | void setSelectedAlpha( int ); |
65 | int selectedAlpha() const; | 65 | int selectedAlpha() const; |
66 | private: | 66 | private: |
67 | QColorDialogPrivate *d; | 67 | OColorDialogPrivate *d; |
68 | friend class QColorDialogPrivate; | 68 | friend class OColorDialogPrivate; |
69 | 69 | ||
70 | private:// Disabled copy constructor and operator= | 70 | private:// Disabled copy constructor and operator= |
71 | #if defined(Q_DISABLE_COPY) | 71 | #if defined(Q_DISABLE_COPY) |
72 | QColorDialog( const QColorDialog & ); | 72 | OColorDialog( const OColorDialog & ); |
73 | QColorDialog& operator=( const QColorDialog & ); | 73 | OColorDialog& operator=( const OColorDialog & ); |
74 | #endif | 74 | #endif |
75 | }; | 75 | }; |
76 | 76 | ||
77 | #endif | 77 | #endif |