summaryrefslogtreecommitdiff
path: root/noncore/graphics/drawpad
authorzecke <zecke>2003-04-13 16:35:11 (UTC)
committer zecke <zecke>2003-04-13 16:35:11 (UTC)
commit78d427d8eceac5cb0a92e4f46b7aa3b784d2c214 (patch) (side-by-side diff)
tree4b7e73be0891a269c15fe76553d72ea264837d2b /noncore/graphics/drawpad
parentc27d6327b9be5792fa507557f03997a46f32cc26 (diff)
downloadopie-78d427d8eceac5cb0a92e4f46b7aa3b784d2c214.zip
opie-78d427d8eceac5cb0a92e4f46b7aa3b784d2c214.tar.gz
opie-78d427d8eceac5cb0a92e4f46b7aa3b784d2c214.tar.bz2
Adjust to new libopie version of ColorDialog and Menu..
I'll port first all apps an the check in the libopie changes to avoid bigger problems
Diffstat (limited to 'noncore/graphics/drawpad') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/graphics/drawpad/drawpad.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/graphics/drawpad/drawpad.cpp b/noncore/graphics/drawpad/drawpad.cpp
index 459f1a8..4db6208 100644
--- a/noncore/graphics/drawpad/drawpad.cpp
+++ b/noncore/graphics/drawpad/drawpad.cpp
@@ -256,7 +256,7 @@ DrawPad::DrawPad(QWidget* parent, const char* name)
m_pPenColorToolButton->setPixmap(Resource::loadPixmap("drawpad/pencolor"));
QWhatsThis::add( m_pPenColorToolButton, tr( "Click here to select the color used when drawing." ) );
- ColorPopupMenu* penColorPopupMenu = new ColorPopupMenu(Qt::black, m_pPenColorToolButton);
+ OColorPopupMenu* penColorPopupMenu = new OColorPopupMenu(Qt::black, m_pPenColorToolButton);
connect(penColorPopupMenu, SIGNAL(colorSelected(const QColor&)), this, SLOT(changePenColor(const QColor&)));
QToolTip::add(m_pPenColorToolButton, tr("Pen Color"));
@@ -269,7 +269,7 @@ DrawPad::DrawPad(QWidget* parent, const char* name)
m_pBrushColorToolButton->setPixmap(Resource::loadPixmap("drawpad/brushcolor"));
QWhatsThis::add( m_pBrushColorToolButton, tr( "Click here to select the color used when filling in areas." ) );
- ColorPopupMenu* brushColorPopupMenu = new ColorPopupMenu(Qt::white, m_pBrushColorToolButton);
+ OColorPopupMenu* brushColorPopupMenu = new OColorPopupMenu(Qt::white, m_pBrushColorToolButton);
connect(brushColorPopupMenu, SIGNAL(colorSelected(const QColor&)), this, SLOT(changeBrushColor(const QColor&)));
QToolTip::add(m_pBrushColorToolButton, tr("Fill Color"));