summaryrefslogtreecommitdiffstats
path: root/doc/chalk
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-05 11:54:26 +0900
committerMichele Calgaro <[email protected]>2023-11-16 23:37:57 +0900
commitef06f14f2475bd08d3ea2ceec54a7b2238f3554e (patch)
tree03df826633e4ba084d133ca977c4fc37c74f21ac /doc/chalk
parent895081803a715ee89f4a90cfbf63d558ef2b2ebc (diff)
downloadkoffice-ef06f14f2475bd08d3ea2ceec54a7b2238f3554e.tar.gz
koffice-ef06f14f2475bd08d3ea2ceec54a7b2238f3554e.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'doc/chalk')
-rw-r--r--doc/chalk/developers-plugins.docbook12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/chalk/developers-plugins.docbook b/doc/chalk/developers-plugins.docbook
index 319d9257..e041576e 100644
--- a/doc/chalk/developers-plugins.docbook
+++ b/doc/chalk/developers-plugins.docbook
@@ -951,7 +951,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;
@@ -1016,7 +1016,7 @@ The <methodname>draw()</methodname> method is an internal method of
<classname>KisToolStar</classname> and draws the outline of the star. We call
this from the <methodname>move()</methodname> method to give the user feedback
of the size and shape of their star. Note that we use the
-<varname>Qt::NotROP</varname> raster operation, which means that calling
+<varname>TQt::NotROP</varname> raster operation, which means that calling
<methodname>draw()</methodname> a second time with the same start and end
point the previously drawn star will be deleted.
</para>
@@ -1030,14 +1030,14 @@ void KisToolStar::draw(const KisPoint&amp; start, const KisPoint&amp; end )
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());
@@ -1066,8 +1066,8 @@ void KisToolStar::setup(TDEActionCollection *collection)
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,