diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-05 11:54:26 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-16 23:37:57 +0900 |
| commit | ef06f14f2475bd08d3ea2ceec54a7b2238f3554e (patch) | |
| tree | 03df826633e4ba084d133ca977c4fc37c74f21ac /chalk/plugins/tools/tool_star/kis_tool_star.cpp | |
| parent | 895081803a715ee89f4a90cfbf63d558ef2b2ebc (diff) | |
| download | koffice-ef06f14f2475bd08d3ea2ceec54a7b2238f3554e.tar.gz koffice-ef06f14f2475bd08d3ea2ceec54a7b2238f3554e.zip | |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'chalk/plugins/tools/tool_star/kis_tool_star.cpp')
| -rw-r--r-- | chalk/plugins/tools/tool_star/kis_tool_star.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chalk/plugins/tools/tool_star/kis_tool_star.cpp b/chalk/plugins/tools/tool_star/kis_tool_star.cpp index 3a260545b..601bb775f 100644 --- a/chalk/plugins/tools/tool_star/kis_tool_star.cpp +++ b/chalk/plugins/tools/tool_star/kis_tool_star.cpp @@ -73,7 +73,7 @@ void KisToolStar::update (KisCanvasSubject *subject) void KisToolStar::buttonPress(KisButtonPressEvent *event) { - if (m_currentImage && event->button() == Qt::LeftButton) { + if (m_currentImage && event->button() == TQt::LeftButton) { m_dragging = true; m_dragStart = event->pos(); m_dragEnd = event->pos(); @@ -105,7 +105,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event) if (!m_subject || !m_currentImage) return; - if (m_dragging && event->button() == Qt::LeftButton) { + if (m_dragging && event->button() == TQt::LeftButton) { // erase old lines on canvas draw(m_dragStart, m_dragEnd); m_dragging = false; |
