author | zecke <zecke> | 2003-04-13 16:35:11 (UTC) |
---|---|---|
committer | zecke <zecke> | 2003-04-13 16:35:11 (UTC) |
commit | 78d427d8eceac5cb0a92e4f46b7aa3b784d2c214 (patch) (side-by-side diff) | |
tree | 4b7e73be0891a269c15fe76553d72ea264837d2b | |
parent | c27d6327b9be5792fa507557f03997a46f32cc26 (diff) | |
download | opie-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
-rw-r--r-- | noncore/graphics/drawpad/drawpad.cpp | 4 |
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 @@ -255,9 +255,9 @@ DrawPad::DrawPad(QWidget* parent, const char* name) m_pPenColorToolButton = new QToolButton(drawParametersToolBar); 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")); m_pPenColorToolButton->setPopup(penColorPopupMenu); @@ -268,9 +268,9 @@ DrawPad::DrawPad(QWidget* parent, const char* name) m_pBrushColorToolButton = new QToolButton(drawParametersToolBar); 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")); m_pBrushColorToolButton->setPopup(brushColorPopupMenu); |