summaryrefslogtreecommitdiffstats
path: root/koffice-i18n-de/docs/koffice/chalk
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-05 11:54:42 +0900
committerMichele Calgaro <[email protected]>2023-11-16 23:07:03 +0900
commit050c10cdbd4f42edd6fe5d68cce2765e56adb157 (patch)
treef884521f56d5978a8de458483b858f16480246cd /koffice-i18n-de/docs/koffice/chalk
parentf690d31475030bae99f575d345e98768684014c3 (diff)
downloadkoffice-i18n-050c10cdbd4f42edd6fe5d68cce2765e56adb157.tar.gz
koffice-i18n-050c10cdbd4f42edd6fe5d68cce2765e56adb157.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'koffice-i18n-de/docs/koffice/chalk')
-rw-r--r--koffice-i18n-de/docs/koffice/chalk/developers-plugins.docbook12
1 files changed, 6 insertions, 6 deletions
diff --git a/koffice-i18n-de/docs/koffice/chalk/developers-plugins.docbook b/koffice-i18n-de/docs/koffice/chalk/developers-plugins.docbook
index 86e78594..81000b13 100644
--- a/koffice-i18n-de/docs/koffice/chalk/developers-plugins.docbook
+++ b/koffice-i18n-de/docs/koffice/chalk/developers-plugins.docbook
@@ -981,7 +981,7 @@ void KisToolStar::move(KisMoveEvent *event)
// erase old lines on canvas
draw(m_dragStart, m_dragEnd);
// move (alt) or resize star
- if (event->state() &amp; Qt::AltButton) {
+ if (event->state() &amp; TQt::AltButton) {
KisPoint trans = event->pos() - m_dragEnd;
m_dragStart += trans;
m_dragEnd += trans;
@@ -1049,7 +1049,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
> und malt den Umriss eines Sterns. Wir rufen dieses aud <methodname
>move()</methodname
> auf um dem Benutzer Rückmeldungen über die Größe und Form des Sterns zu geben. Beachten Sie, dass wir die Rasteroperation <varname
->Qt::NotROP</varname
+>TQt::NotROP</varname
> verwenden, was bedeutet, dass ein zweiter Aufruf von <methodname
>draw()</methodname
> mit dem gleichen Start- und Endpunkt den vorherigen Stern löscht. </para>
@@ -1063,14 +1063,14 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
KisCanvasController *controller = m_subject->canvasController();
KisCanvas *canvas = controller->kiscanvas();
KisCanvasPainter p (canvas);
- QPen pen(Qt::SolidLine);
+ QPen pen(TQt::SolidLine);
KisPoint startPos;
KisPoint endPos;
startPos = controller->windowToView(start);
endPos = controller->windowToView(end);
- p.setRasterOp(Qt::NotROP);
+ p.setRasterOp(TQt::NotROP);
vKisPoint points = starCoordinates(m_vertices, startPos.x(), startPos.y(), endPos.x(), endPos.y());
@@ -1094,8 +1094,8 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
m_action = static_cast&lt;TDERadioAction *&gt;(collection->action(name()));
if (m_action == 0) {
- TDEShortcut shortcut(Qt::Key_Plus);
- shortcut.append(TDEShortcut(Qt::Key_F9));
+ TDEShortcut shortcut(TQt::Key_Plus);
+ shortcut.append(TDEShortcut(TQt::Key_F9));
m_action = new TDERadioAction(i18n("&amp;Star"),
"tool_star",
shortcut,