author | mickeyl <mickeyl> | 2004-01-15 13:59:58 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-01-15 13:59:58 (UTC) |
commit | dde789ef19fa3a3913805e452ac1e3400688e8a0 (patch) (unidiff) | |
tree | a33a0ce31750ad56cfd3362585d4e7b32ca0a456 /libqtaux/ocolorpopupmenu.cpp | |
parent | 3c74c5343a8432c494ace71d94cca354c01ef1d3 (diff) | |
download | opie-dde789ef19fa3a3913805e452ac1e3400688e8a0.zip opie-dde789ef19fa3a3913805e452ac1e3400688e8a0.tar.gz opie-dde789ef19fa3a3913805e452ac1e3400688e8a0.tar.bz2 |
more libopie1 --> libopie2 with namespace cleanups and code layout cleanups
Diffstat (limited to 'libqtaux/ocolorpopupmenu.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libqtaux/ocolorpopupmenu.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libqtaux/ocolorpopupmenu.cpp b/libqtaux/ocolorpopupmenu.cpp index 6a2321e..6c5f99c 100644 --- a/libqtaux/ocolorpopupmenu.cpp +++ b/libqtaux/ocolorpopupmenu.cpp | |||
@@ -24,28 +24,31 @@ | |||
24 | -. .:....=;==+<; You should have received a copy of the GNU | 24 | -. .:....=;==+<; You should have received a copy of the GNU |
25 | -_. . . )=. = Library General Public License along with | 25 | -_. . . )=. = Library General Public License along with |
26 | -- :-=` this library; see the file COPYING.LIB. | 26 | -- :-=` this library; see the file COPYING.LIB. |
27 | If not, write to the Free Software Foundation, | 27 | If not, write to the Free Software Foundation, |
28 | Inc., 59 Temple Place - Suite 330, | 28 | Inc., 59 Temple Place - Suite 330, |
29 | Boston, MA 02111-1307, USA. | 29 | Boston, MA 02111-1307, USA. |
30 | 30 | ||
31 | */ | 31 | */ |
32 | 32 | ||
33 | #include "ocolorpopupmenu.h" | 33 | #include "ocolorpopupmenu.h" |
34 | #include "qcolordialog.h" | 34 | #include "qcolordialog.h" |
35 | 35 | ||
36 | /* QT */ | ||
36 | #include <qaction.h> | 37 | #include <qaction.h> |
37 | #include <qlayout.h> | 38 | #include <qlayout.h> |
38 | #include <qpainter.h> | 39 | #include <qpainter.h> |
39 | 40 | ||
41 | using namespace Opie; | ||
42 | |||
40 | OColorPanelButton::OColorPanelButton( const QColor& color, QWidget* parent, const char* name ) | 43 | OColorPanelButton::OColorPanelButton( const QColor& color, QWidget* parent, const char* name ) |
41 | : QFrame( parent, name ) | 44 | : QFrame( parent, name ) |
42 | { | 45 | { |
43 | m_color = color; | 46 | m_color = color; |
44 | 47 | ||
45 | setFixedSize( 16, 16 ); | 48 | setFixedSize( 16, 16 ); |
46 | setActive( FALSE ); | 49 | setActive( FALSE ); |
47 | } | 50 | } |
48 | 51 | ||
49 | OColorPanelButton::~OColorPanelButton() | 52 | OColorPanelButton::~OColorPanelButton() |
50 | { | 53 | { |
51 | } | 54 | } |