summaryrefslogtreecommitdiff
path: root/libqtaux/ocolorpopupmenu.cpp
Unidiff
Diffstat (limited to 'libqtaux/ocolorpopupmenu.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--libqtaux/ocolorpopupmenu.cpp3
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
41using namespace Opie;
42
40OColorPanelButton::OColorPanelButton( const QColor& color, QWidget* parent, const char* name ) 43OColorPanelButton::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
49OColorPanelButton::~OColorPanelButton() 52OColorPanelButton::~OColorPanelButton()
50{ 53{
51} 54}