From 050c10cdbd4f42edd6fe5d68cce2765e56adb157 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 5 Nov 2023 11:54:42 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro --- .../docs/koffice/chalk/developers-plugins.docbook | 12 ++++++------ koffice-i18n-ca/messages/koffice/chalk.po | 3 +-- koffice-i18n-ca/messages/koffice/karbon.po | 21 +++++++-------------- 3 files changed, 14 insertions(+), 22 deletions(-) (limited to 'koffice-i18n-ca') diff --git a/koffice-i18n-ca/docs/koffice/chalk/developers-plugins.docbook b/koffice-i18n-ca/docs/koffice/chalk/developers-plugins.docbook index af2c07e6..22d3a517 100644 --- a/koffice-i18n-ca/docs/koffice/chalk/developers-plugins.docbook +++ b/koffice-i18n-ca/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() & Qt::AltButton) { + if (event->state() & TQt::AltButton) { KisPoint trans = event->pos() - m_dragEnd; m_dragStart += trans; m_dragEnd += trans; @@ -1049,7 +1049,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event) > i dibuixa la vora d'una estrella. Ho cridem amb el mètode move() per a donar retroalimentació a l'usuari de la mida i forma de la seva estrella. Noteu que usem l'operació Qt::NotROPTQt::NotROP, que vol dir que cridant draw() per segon cop amb el mateix començament i el punt final, s'esborrarà l'estrella dibuixada prèviament. @@ -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()); @@ -1096,8 +1096,8 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event) m_action = static_cast<TDERadioAction *>(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("&Star"), "tool_star", shortcut, diff --git a/koffice-i18n-ca/messages/koffice/chalk.po b/koffice-i18n-ca/messages/koffice/chalk.po index 8790d33b..5a637dc9 100644 --- a/koffice-i18n-ca/messages/koffice/chalk.po +++ b/koffice-i18n-ca/messages/koffice/chalk.po @@ -2009,8 +2009,7 @@ msgid "Emboss in All Directions" msgstr "Ressalta en totes les direccions" #: plugins/filters/convolutionfilters/convolutionfilters.cpp:124 -#, fuzzy -msgid "Emboss Horizontal &&Qt::Vertical" +msgid "Emboss Horizontal && Vertical" msgstr "Ressalta en horitzontal i vertical" #: plugins/filters/convolutionfilters/convolutionfilters.cpp:131 diff --git a/koffice-i18n-ca/messages/koffice/karbon.po b/koffice-i18n-ca/messages/koffice/karbon.po index 48b62436..b056b99c 100644 --- a/koffice-i18n-ca/messages/koffice/karbon.po +++ b/koffice-i18n-ca/messages/koffice/karbon.po @@ -763,8 +763,7 @@ msgid "Align Left" msgstr "Alinia a l'esquerra" #: karbon_view.cpp:1034 -#, fuzzy -msgid "Align Center Qt::Horizontal)" +msgid "Align Center (Horizontal)" msgstr "Alinia al centre (horitzontal)" #: karbon_view.cpp:1038 @@ -776,8 +775,7 @@ msgid "Align Top" msgstr "Alinia a dalt" #: karbon_view.cpp:1046 -#, fuzzy -msgid "Align Middle Qt::Vertical)" +msgid "Align Middle (Vertical)" msgstr "Alinia al centre (vertical)" #: karbon_view.cpp:1050 @@ -785,13 +783,11 @@ msgid "Align Bottom" msgstr "Alinia a baix" #: karbon_view.cpp:1055 -#, fuzzy -msgid "Distribute Center Qt::Horizontal)" +msgid "Distribute Center (Horizontal)" msgstr "Alinia al centre (horitzontal)" #: karbon_view.cpp:1059 -#, fuzzy -msgid "Distribute Gaps Qt::Horizontal)" +msgid "Distribute Gaps (Horizontal)" msgstr "Distribueix els forats (horitzontal)" #: karbon_view.cpp:1063 @@ -803,13 +799,11 @@ msgid "Distribute Right Borders" msgstr "Distribueix les vores dretes" #: karbon_view.cpp:1071 -#, fuzzy -msgid "Distribute Center Qt::Vertical)" +msgid "Distribute Center (Vertical)" msgstr "Distribueix centrat (vertical)" #: karbon_view.cpp:1075 -#, fuzzy -msgid "Distribute Gaps Qt::Vertical)" +msgid "Distribute Gaps (Vertical)" msgstr "Distribueix forats (vertical)" #: karbon_view.cpp:1079 @@ -1461,8 +1455,7 @@ msgid "Fade:" msgstr "Fondre:" #: tools/vspiraltool.cpp:54 -#, fuzzy -msgid "Qt::Orientation:" +msgid "Orientation:" msgstr "Orientació:" #: tools/vspiraltool.cpp:56 -- cgit v1.2.1