[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/karbon/widgets
From: Jan Hambrecht <jaham () gmx ! net>
Date: 2006-07-14 18:00:48
Message-ID: 1152900048.650169.18643.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 562416 by jaham:
implement abstract function unit() in KarbonCanvas so karbon compile again
M +1 -0 vcanvas.cc
M +3 -0 vcanvas.h
--- trunk/koffice/karbon/widgets/vcanvas.cc #562415:562416
@@ -60,6 +60,7 @@
, m_tool(0)
, m_zoomHandler()
, m_snapToGrid(false)
+ , m_unit( KoUnit::U_PT )
{
setBackgroundRole(QPalette::Base);
setAutoFillBackground(true);
--- trunk/koffice/karbon/widgets/vcanvas.h #562415:562416
@@ -83,6 +83,8 @@
QWidget *canvasWidget() { return this; }
+ virtual KoUnit::Unit unit() { return m_unit; };
+
protected:
void paintEvent(QPaintEvent * ev);
void wheelEvent(QWheelEvent *e);
@@ -102,6 +104,7 @@
//KSillyCommandHistory *m_commandHistory;
KoTool *m_tool;
+ KoUnit::Unit m_unit;
bool m_snapToGrid;
};
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic