[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdegraphics/kolourpaint/widgets/toolbars
From: Laurent Montel <montel () kde ! org>
Date: 2007-02-13 12:57:36
Message-ID: 1171371456.090661.22095.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 633175 by mlaurent:
Port++
M +5 -5 kpcolortoolbar.cpp
--- trunk/KDE/kdegraphics/kolourpaint/widgets/toolbars/kpcolortoolbar.cpp #633174:633175
@@ -535,14 +535,14 @@
kDebug () << "kpColorCells::setOrientation(): r=" << r << " c=" << c << endl;
#endif
- setNumRows (r);
- setNumCols (c);
+ setRowCount(r);
+ setColumnCount(c);
setCellWidth (26);
setCellHeight (26);
- setFixedSize (numCols () * cellWidth () + frameWidth () * 2,
- numRows () * cellHeight () + frameWidth () * 2);
+ setFixedSize (columnCount () * cellWidth () + frameWidth () * 2,
+ rowCount () * cellHeight () + frameWidth () * 2);
/*
kDebug () << "\tlimits: array=" << sizeof (colors) / sizeof (colors [0])
@@ -626,7 +626,7 @@
if (!isEnabled ())
{
- cellNo = row * numCols () + col;
+ cellNo = row * columnCount () + col;
// make all cells 3D (so that disabled palette doesn't look flat)
setShading (true);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic