[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/plasma/applets/quicklaunch
From: Aaron J. Seigo <aseigo () kde ! org>
Date: 2009-05-04 19:24:41
Message-ID: 1241465081.751923.22859.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 963460 by aseigo:
access to the row count
M +5 -0 QuicklaunchLayout.cpp
M +1 -0 QuicklaunchLayout.h
--- trunk/KDE/kdebase/workspace/plasma/applets/quicklaunch/QuicklaunchLayout.cpp #963459:963460
@@ -35,6 +35,11 @@
m_rowCount = rowCount;
}
+int QuicklaunchLayout::rowCount() const
+{
+ return m_rowCount;
+}
+
void QuicklaunchLayout::addItem(Plasma::IconWidget *icon)
{
//kDebug() << "Row count is" << rowCount() << "Wanted row count is" << m_rowCount;
--- trunk/KDE/kdebase/workspace/plasma/applets/quicklaunch/QuicklaunchLayout.h #963459:963460
@@ -33,6 +33,7 @@
QuicklaunchLayout(int rowCount, QGraphicsWidget *parentWidget, QGraphicsLayoutItem *parent);
~QuicklaunchLayout();
void setRowCount(int rowCount);
+ int rowCount() const;
void addItem(Plasma::IconWidget *icon);
QSizeF sizeHint(Qt::SizeHint which, const QSizeF & constraint = QSizeF()) const;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic