summaryrefslogtreecommitdiffstats
path: root/koffice-i18n-it/docs/koffice/chalk/developers-plugins.docbook
diff options
context:
space:
mode:
Diffstat (limited to 'koffice-i18n-it/docs/koffice/chalk/developers-plugins.docbook')
-rw-r--r--koffice-i18n-it/docs/koffice/chalk/developers-plugins.docbook12
1 files changed, 6 insertions, 6 deletions
diff --git a/koffice-i18n-it/docs/koffice/chalk/developers-plugins.docbook b/koffice-i18n-it/docs/koffice/chalk/developers-plugins.docbook
index 083ab55c..38d88861 100644
--- a/koffice-i18n-it/docs/koffice/chalk/developers-plugins.docbook
+++ b/koffice-i18n-it/docs/koffice/chalk/developers-plugins.docbook
@@ -982,7 +982,7 @@ void KisToolStar::move(KisMoveEvent *event)
// erase old lines on canvas
draw(m_dragStart, m_dragEnd);
// move (alt) or resize star
- if (event->state() & Qt::AltButton) {
+ if (event->state() & TQt::AltButton) {
KisPoint trans = event->pos() - m_dragEnd;
m_dragStart += trans;
m_dragEnd += trans;
@@ -1050,7 +1050,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
> e disegna il profilo di una stella. Lo chiamiamo dal metodo <methodname
>move()</methodname
> per dare all'utente un'idea delle dimensioni e forma della stella. Nota che usiamo l'operazione raster <varname
->Qt::NotROP</varname
+>TQt::NotROP</varname
>, che vuol dire che se chiamiamo una seconda volta <methodname
>draw()</methodname
> con gli stessi punti iniziale e finale, la stella precedente sarà eliminata. </para>
@@ -1064,14 +1064,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());
@@ -1097,8 +1097,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,