Changeset View
Changeset View
Standalone View
Standalone View
tools/kpTool_UserNotifications.cpp
Show First 20 Lines • Show All 143 Lines • ▼ Show 20 Line(s) | |||||
144 | //--------------------------------------------------------------------- | 144 | //--------------------------------------------------------------------- | ||
145 | 145 | | |||
146 | // public | 146 | // public | ||
147 | void kpTool::setUserShapeSize (const QSize &size) | 147 | void kpTool::setUserShapeSize (const QSize &size) | ||
148 | { | 148 | { | ||
149 | d->userShapeSize = size; | 149 | d->userShapeSize = size; | ||
150 | 150 | | |||
151 | emit userShapeSizeChanged (d->userShapeSize); | 151 | emit userShapeSizeChanged (d->userShapeSize); | ||
152 | emit userShapeSizeChanged (d->userShapeSize.width (), | | |||
153 | d->userShapeSize.height ()); | | |||
154 | } | 152 | } | ||
155 | 153 | | |||
156 | //--------------------------------------------------------------------- | 154 | //--------------------------------------------------------------------- | ||
157 | 155 | | |||
158 | // public | 156 | // public | ||
159 | void kpTool::setUserShapeSize (int width, int height) | 157 | void kpTool::setUserShapeSize (int width, int height) | ||
160 | { | 158 | { | ||
161 | setUserShapeSize (QSize (width, height)); | 159 | setUserShapeSize (QSize (width, height)); | ||
162 | } | 160 | } | ||
163 | 161 | | |||
164 | //--------------------------------------------------------------------- | 162 | //--------------------------------------------------------------------- |