summaryrefslogtreecommitdiffstats
path: root/kivio
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:31 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:31 -0600
commitc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (patch)
tree1ee1912ac4bb966475f0db0f2a78678661b4b4a5 /kivio
parent94844816550ad672ccfcdc25659c625546239998 (diff)
downloadkoffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.tar.gz
koffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 94844816550ad672ccfcdc25659c625546239998.
Diffstat (limited to 'kivio')
-rw-r--r--kivio/kiviopart/config/kivio_config.cpp38
-rw-r--r--kivio/kiviopart/config/kivio_config.h6
-rw-r--r--kivio/kiviopart/kivio_canvas.cpp8
-rw-r--r--kivio/kiviopart/kivio_dlg_pageshow.cpp2
-rw-r--r--kivio/kiviopart/kivio_doc.cpp10
-rw-r--r--kivio/kiviopart/kivio_icon_view.cpp4
-rw-r--r--kivio/kiviopart/kivio_icon_view.h2
-rw-r--r--kivio/kiviopart/kivio_page.cpp18
-rw-r--r--kivio/kiviopart/kivio_page.h2
-rw-r--r--kivio/kiviopart/kivio_spawner_drag.cpp4
-rw-r--r--kivio/kiviopart/kivio_spawner_drag.h2
-rw-r--r--kivio/kiviopart/kivio_stackbar.cpp6
-rw-r--r--kivio/kiviopart/kivio_stencil_geometry_panel.cpp2
-rw-r--r--kivio/kiviopart/kivio_view.cpp46
-rw-r--r--kivio/kiviopart/kivio_zoomaction.cpp30
-rw-r--r--kivio/kiviopart/kiviodragobject.cpp8
-rw-r--r--kivio/kiviopart/kiviodragobject.h2
-rw-r--r--kivio/kiviopart/kivioglobal.cpp76
-rw-r--r--kivio/kiviopart/kivioglobal.h10
-rw-r--r--kivio/kiviopart/kiviosdk/diapathparser.cpp16
-rw-r--r--kivio/kiviopart/kiviosdk/diapathparser.h4
-rw-r--r--kivio/kiviopart/kiviosdk/kivio_1d_stencil.h2
-rw-r--r--kivio/kiviopart/kiviosdk/kivio_base_connector_stencil.h2
-rw-r--r--kivio/kiviopart/kiviosdk/kivio_base_target_stencil.cpp2
-rw-r--r--kivio/kiviopart/kiviosdk/kivio_common.cpp4
-rw-r--r--kivio/kiviopart/kiviosdk/kivio_connector_point.cpp12
-rw-r--r--kivio/kiviopart/kiviosdk/kivio_dia_stencil_spawner.cpp18
-rw-r--r--kivio/kiviopart/kiviosdk/kivio_fill_style.h2
-rw-r--r--kivio/kiviopart/kiviosdk/kivio_py_stencil.cpp50
-rw-r--r--kivio/kiviopart/kiviosdk/kivio_screen_painter.cpp8
-rw-r--r--kivio/kiviopart/kiviosdk/kivio_shape.cpp178
-rw-r--r--kivio/kiviopart/kiviosdk/kivio_shape.h6
-rw-r--r--kivio/kiviopart/kiviosdk/kivio_shape_data.cpp40
-rw-r--r--kivio/kiviopart/kiviosdk/kivio_shape_data.h14
-rw-r--r--kivio/kiviopart/kiviosdk/kivio_shape_painter.cpp4
-rw-r--r--kivio/kiviopart/kiviosdk/kivio_sml_stencil.cpp216
-rw-r--r--kivio/kiviopart/kiviosdk/kivio_sml_stencil.h2
-rw-r--r--kivio/kiviopart/kiviosdk/kivio_sml_stencil_spawner.cpp32
-rw-r--r--kivio/kiviopart/kiviosdk/kivio_stencil_spawner_set.cpp4
-rw-r--r--kivio/kiviopart/kiviosdk/kivio_text_style.h4
-rw-r--r--kivio/kiviopart/kiviostencilsetinstaller.cpp4
-rw-r--r--kivio/kiviopart/stencilbarbutton.cpp24
-rw-r--r--kivio/kiviopart/stencilbarbutton.h2
-rw-r--r--kivio/kiviopart/stencilbardockmanager.cpp16
-rw-r--r--kivio/kiviopart/stencilbardockmanager.h2
-rw-r--r--kivio/kiviopart/stencils/Dia/Assorted/arrow-chevron.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Assorted/arrow-down.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Assorted/arrow-left-notched.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Assorted/arrow-left-right-up.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Assorted/arrow-left-right.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Assorted/arrow-left-up.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Assorted/arrow-left.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Assorted/arrow-pentagon.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Assorted/arrow-quad.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Assorted/arrow-right-notched.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Assorted/arrow-right.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Assorted/arrow-up-down-left.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Assorted/arrow-up-down.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Assorted/arrow-up.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Assorted/circle.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Assorted/cross-maltese.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Assorted/cross-swiss.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Assorted/diamond.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Assorted/heptagon.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Assorted/hexagon.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Assorted/octagon.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Assorted/parallelogram-horizontal.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Assorted/parallelogram-vertical.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Assorted/pentagon.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Assorted/square.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Assorted/star4.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Assorted/star5.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Assorted/star6.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Assorted/star7.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Assorted/star8.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Assorted/star8sharp.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Assorted/sun.shape6
-rw-r--r--kivio/kiviopart/stencils/Dia/Assorted/trapezoid.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Assorted/triangle-isoceles.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Assorted/triangle-rightangle.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Circuit/npn.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Circuit/opamp.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Circuit/pnp.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Civil/civil_arrow_right.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Civil/civil_arrow_up.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Civil/civil_backflow_preventer.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Civil/civil_basin.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Civil/civil_final-settling_basin.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Civil/civil_frequency_converter.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Civil/civil_horizontal_valve.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Civil/civil_motor.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Civil/civil_preliminary_clarification_tank.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Civil/civil_rotor.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Civil/civil_soil.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Contact/c_if.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Contact/c_ifnot.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Contact/c_lamp.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Contact/c_relay.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Contact/l_ifnot.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Contact/l_out.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Contact/l_outj.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Contact/l_outnot.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Contact/l_outr.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Contact/l_outs.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Contact/l_sout.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Contact/l_soutnot.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Contact/l_soutr.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Contact/l_souts.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Electric/command.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Electric/contact_f.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Electric/contact_o.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Electric/intpos_f.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Electric/intpos_o.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Electric/relay.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/MSE/demultiplexer.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/MSE/large_extension_node.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/MSE/multiplexer.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/MSE/node_center.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/MSE/small_extension_node.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/MSE/tacsat.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Network/dat_external.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Network/digitizing_board.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Network/diskette.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Network/firewall.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Network/hub.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Network/mobile_phone.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Network/monitor.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Network/pc_bigtower.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Network/pc_desktop.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Network/pc_miditower.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Network/pc_minitower.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Network/plotter.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Network/workstation.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Network/zip-disk.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Pneumatic/dejack.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Pneumatic/dist32.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Pneumatic/dist42.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Pneumatic/dist52.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/SDL/block.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/SDL/decision.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/SDL/process.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/SDL/service.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Sybase/client.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Sybase/dataserver.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Sybase/ltm.shape4
-rw-r--r--kivio/kiviopart/stencils/Dia/Sybase/repserver.shape4
-rw-r--r--kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/Card.sml2
-rw-r--r--kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/Data.sml2
-rw-r--r--kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/Decision.sml2
-rw-r--r--kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/DirectData.sml2
-rw-r--r--kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/Display.sml2
-rw-r--r--kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/InternalStorage.sml2
-rw-r--r--kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/LoopLimit.sml2
-rw-r--r--kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/ManualInput.sml2
-rw-r--r--kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/ManualOperation.sml2
-rw-r--r--kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/PredefinedProcess.sml2
-rw-r--r--kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/Preperation.sml2
-rw-r--r--kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/Process.sml2
-rw-r--r--kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/PyStencil.spy14
-rw-r--r--kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/StoredData.sml2
-rw-r--r--kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/Terminator.sml2
-rw-r--r--kivio/kiviopart/stencils/Flowcharting/Extended/Data_Store.sml2
-rw-r--r--kivio/kiviopart/stencils/Flowcharting/Extended/Database.sml2
-rw-r--r--kivio/kiviopart/stencils/Flowcharting/Extended/Process.sml2
-rw-r--r--kivio/kiviopart/stencils/Flowcharting/Extended/Source_or_Sink.sml2
-rw-r--r--kivio/kiviopart/stencils/Hardware/Computer/3FloppyDisk.sml2
-rw-r--r--kivio/kiviopart/stencils/Hardware/Miscellaneous/key.sml2
-rw-r--r--kivio/kiviopart/stencils/Miscellaneous/Arrows/Arrow.sml2
-rw-r--r--kivio/kiviopart/stencils/Miscellaneous/Arrows/Multiple_Arrow_1.sml2
-rw-r--r--kivio/kiviopart/stencils/Miscellaneous/Arrows/Multiple_Arrow_2.sml2
-rw-r--r--kivio/kiviopart/stencils/Miscellaneous/Arrows/Multiple_Arrow_3.sml2
-rw-r--r--kivio/kiviopart/stencils/Miscellaneous/Arrows/Sun_Arrow.sml2
-rwxr-xr-xkivio/kiviopart/stencils/Miscellaneous/Buildings/Factory.sml2
-rwxr-xr-xkivio/kiviopart/stencils/Miscellaneous/Buildings/House.sml2
-rw-r--r--kivio/kiviopart/stencils/Miscellaneous/ER/attribute.sml2
-rw-r--r--kivio/kiviopart/stencils/Miscellaneous/ER/derivedattribute.sml2
-rw-r--r--kivio/kiviopart/stencils/Miscellaneous/ER/entity.sml2
-rw-r--r--kivio/kiviopart/stencils/Miscellaneous/ER/multivaluedattribute.sml2
-rw-r--r--kivio/kiviopart/stencils/Miscellaneous/ER/relationship.sml2
-rw-r--r--kivio/kiviopart/stencils/Miscellaneous/ER/weakentity.sml2
-rw-r--r--kivio/kiviopart/stencils/Miscellaneous/ER/weakrelationship.sml2
-rwxr-xr-xkivio/kiviopart/stencils/Miscellaneous/People/Bad.sml2
-rwxr-xr-xkivio/kiviopart/stencils/Miscellaneous/People/Good.sml2
-rwxr-xr-xkivio/kiviopart/stencils/Miscellaneous/People/Man.sml2
-rwxr-xr-xkivio/kiviopart/stencils/Miscellaneous/People/Woman.sml2
-rwxr-xr-xkivio/kiviopart/stencils/Miscellaneous/People/Woman_Shape.sml2
-rw-r--r--kivio/kiviopart/stencils/Miscellaneous/Transport/Truck.sml2
-rw-r--r--kivio/kiviopart/ui/aligndialog.ui16
-rw-r--r--kivio/kiviopart/ui/kivio_birdeye_panel.cpp2
-rw-r--r--kivio/kiviopart/ui/kivio_layer_panel.cpp4
-rw-r--r--kivio/kiviopart/ui/kivio_protection_panel_base.ui6
-rw-r--r--kivio/kiviopart/ui/kivioaddstencilsetpanel.cpp2
-rw-r--r--kivio/kiviopart/ui/kivioarrowheadformatdlg.cpp2
-rw-r--r--kivio/kiviopart/ui/kiviooptionsdialog.cpp18
-rw-r--r--kivio/kiviopart/ui/kiviostencilformatdlg.cpp2
-rw-r--r--kivio/kiviopart/ui/kiviotextformatdlg.cpp12
-rw-r--r--kivio/kiviopart/ui/layerlisttooltip.cpp4
-rw-r--r--kivio/kiviopart/ui/objectlistpalette.cpp6
-rw-r--r--kivio/plugins/kivioconnectortool/tool_connector.cpp8
-rw-r--r--kivio/plugins/kivioselecttool/tool_select.cpp24
-rw-r--r--kivio/plugins/kiviosmlconnector/sml_connector/sml_connector.cpp16
-rw-r--r--kivio/plugins/kiviosmlconnector/sml_connector/sml_connector.h2
-rw-r--r--kivio/plugins/kiviosmlconnector/tool_connector.cpp4
-rw-r--r--kivio/plugins/kiviotexttool/kivio_stenciltexteditorui.ui2
-rw-r--r--kivio/plugins/kiviotexttool/stenciltexteditor.cpp6
-rw-r--r--kivio/plugins/kiviotexttool/tool_text.cpp40
206 files changed, 810 insertions, 810 deletions
diff --git a/kivio/kiviopart/config/kivio_config.cpp b/kivio/kiviopart/config/kivio_config.cpp
index 74e8572b..6428c1fd 100644
--- a/kivio/kiviopart/config/kivio_config.cpp
+++ b/kivio/kiviopart/config/kivio_config.cpp
@@ -28,30 +28,30 @@ namespace Kivio {
KoPageLayout Config::defaultPageLayout()
{
- KoPageLayout layout;
+ KoPageLayout tqlayout;
- layout.format = KoPageFormat::formatFromString(Settings::format());
- layout.orientation = Kivio::orientationFromString(Settings::orientation());
- layout.ptTop = Settings::borderTop();
- layout.ptBottom = Settings::borderBottom();
- layout.ptLeft = Settings::borderLeft();
- layout.ptRight = Settings::borderRight();
- layout.ptWidth = Settings::width();
- layout.ptHeight = Settings::height();
+ tqlayout.format = KoPageFormat::formatFromString(Settings::format());
+ tqlayout.orientation = Kivio::orientationFromString(Settings::orientation());
+ tqlayout.ptTop = Settings::borderTop();
+ tqlayout.ptBottom = Settings::borderBottom();
+ tqlayout.ptLeft = Settings::borderLeft();
+ tqlayout.ptRight = Settings::borderRight();
+ tqlayout.ptWidth = Settings::width();
+ tqlayout.ptHeight = Settings::height();
- return layout;
+ return tqlayout;
}
- void Config::setDefaultPageLayout(const KoPageLayout& layout)
+ void Config::setDefaultPageLayout(const KoPageLayout& tqlayout)
{
- Settings::setFormat(KoPageFormat::formatString(layout.format));
- Settings::setOrientation(Kivio::orientationString(layout.orientation));
- Settings::setBorderTop(layout.ptTop);
- Settings::setBorderBottom(layout.ptBottom);
- Settings::setBorderLeft(layout.ptLeft);
- Settings::setBorderRight(layout.ptRight);
- Settings::setWidth(layout.ptWidth);
- Settings::setHeight(layout.ptHeight);
+ Settings::setFormat(KoPageFormat::formatString(tqlayout.format));
+ Settings::setOrientation(Kivio::orientationString(tqlayout.orientation));
+ Settings::setBorderTop(tqlayout.ptTop);
+ Settings::setBorderBottom(tqlayout.ptBottom);
+ Settings::setBorderLeft(tqlayout.ptLeft);
+ Settings::setBorderRight(tqlayout.ptRight);
+ Settings::setWidth(tqlayout.ptWidth);
+ Settings::setHeight(tqlayout.ptHeight);
}
void Config::setGrid(const KivioGridData& /*grid*/)
diff --git a/kivio/kiviopart/config/kivio_config.h b/kivio/kiviopart/config/kivio_config.h
index 651ec121..b4df785a 100644
--- a/kivio/kiviopart/config/kivio_config.h
+++ b/kivio/kiviopart/config/kivio_config.h
@@ -34,12 +34,12 @@ namespace Kivio {
{
public:
/**
- * Set the default page layout
+ * Set the default page tqlayout
*/
- static void setDefaultPageLayout(const KoPageLayout& layout);
+ static void setDefaultPageLayout(const KoPageLayout& tqlayout);
/**
- * Get the default page layout
+ * Get the default page tqlayout
*/
static KoPageLayout defaultPageLayout();
diff --git a/kivio/kiviopart/kivio_canvas.cpp b/kivio/kiviopart/kivio_canvas.cpp
index e2125cbb..96fee8cb 100644
--- a/kivio/kiviopart/kivio_canvas.cpp
+++ b/kivio/kiviopart/kivio_canvas.cpp
@@ -275,7 +275,7 @@ void KivioCanvas::paintEvent( TQPaintEvent* ev )
painter.save();
painter.setClipRegion(grayRegion, TQPainter::CoordPainter);
painter.setPen(TQt::NoPen);
- painter.fillRect(grayRegion.boundingRect(), KApplication::palette().active().brush(TQColorGroup::Mid));
+ painter.fillRect(grayRegion.boundingRect(), KApplication::tqpalette().active().brush(TQColorGroup::Mid));
painter.restore();
// end of copy...
@@ -1006,7 +1006,7 @@ KoPoint KivioCanvas::snapToGuides(const KoPoint& point, bool &snappedX, bool &sn
if (m_pView->isSnapGuides())
{
- KoGuides::SnapStatus status = KoGuides::SNAP_NONE;
+ KoGuides::SnaptqStatus status = KoGuides::SNAP_NONE;
KoPoint diff;
m_guides.snapToGuideLines(p, 4, status, diff);
p += diff;
@@ -1115,7 +1115,7 @@ void KivioCanvas::startPasteMoving()
beginUnclippedSpawnerPainter();
drawSelectedStencilsXOR();
- // Build the list of old geometry
+ // Build the list of old tqgeometry
KoRect *pData;
m_lstOldGeometry.clear();
KivioStencil* pStencil = activePage()->selectedStencils()->first();
@@ -1245,7 +1245,7 @@ void KivioCanvas::endPasteMoving()
endUnclippedSpawnerPainter();
- // Clear the list of old geometry
+ // Clear the list of old tqgeometry
m_lstOldGeometry.clear();
m_pasteMoving = false;
}
diff --git a/kivio/kiviopart/kivio_dlg_pageshow.cpp b/kivio/kiviopart/kivio_dlg_pageshow.cpp
index 7989a4c6..6381d76b 100644
--- a/kivio/kiviopart/kivio_dlg_pageshow.cpp
+++ b/kivio/kiviopart/kivio_dlg_pageshow.cpp
@@ -26,7 +26,7 @@
#include <kapplication.h>
#include <klocale.h>
#include <tqstringlist.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <kbuttonbox.h>
#include <tqstrlist.h>
#include <tqptrlist.h>
diff --git a/kivio/kiviopart/kivio_doc.cpp b/kivio/kiviopart/kivio_doc.cpp
index d25bcfa0..a7dee3d4 100644
--- a/kivio/kiviopart/kivio_doc.cpp
+++ b/kivio/kiviopart/kivio_doc.cpp
@@ -17,7 +17,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include <tqdom.h>
-#include <textstream.h>
+#include <tqtextstream.h>
#include <tqbuffer.h>
#include <tqtabwidget.h>
#include <tqpaintdevicemetrics.h>
@@ -119,7 +119,7 @@ KivioDoc::KivioDoc( TQWidget *parentWidget, const char* widgetName, TQObject* pa
if ( !name )
{
TQString tmp( "Document%1" ); //lukas: FIXME
- tmp = tmp.arg( s_docId++ );
+ tmp = tmp.tqarg( s_docId++ );
setName( tmp.latin1() );
}
@@ -307,7 +307,7 @@ bool KivioDoc::saveOasis(KoStore* store, KoXmlWriter* manifestWriter)
KoGenStyle pageLayout = Kivio::Config::defaultPageLayout().saveOasis();
TQString layoutName = styles.lookup(pageLayout, "PL");
KoGenStyle masterPage(KoGenStyle::STYLE_MASTER);
- masterPage.addAttribute("style:page-layout-name", layoutName);
+ masterPage.addAttribute("style:page-tqlayout-name", layoutName);
styles.lookup(masterPage, "Standard", false);
if(!store->open("content.xml")) {
@@ -345,7 +345,7 @@ bool KivioDoc::saveOasis(KoStore* store, KoXmlWriter* manifestWriter)
TQValueList<KoGenStyles::NamedStyle>::const_iterator it = styleList.begin();
for ( ; it != styleList.end(); ++it) {
- (*it).style->writeStyle(styleWriter, styles, "style:page-layout", (*it).name, "style:page-layout-properties");
+ (*it).style->writeStyle(styleWriter, styles, "style:page-tqlayout", (*it).name, "style:page-tqlayout-properties");
}
styleList = styles.styles(Kivio::STYLE_PAGE);
@@ -627,7 +627,7 @@ bool KivioDoc::completeLoading( KoStore* )
KivioPage* KivioDoc::createPage()
{
TQString s( i18n("Page%1") );
- s = s.arg( m_iPageId++ );
+ s = s.tqarg( m_iPageId++ );
KivioPage* t = new KivioPage(m_pMap, s);
t->setPageName(s,true);
diff --git a/kivio/kiviopart/kivio_icon_view.cpp b/kivio/kiviopart/kivio_icon_view.cpp
index 94463366..179b6a49 100644
--- a/kivio/kiviopart/kivio_icon_view.cpp
+++ b/kivio/kiviopart/kivio_icon_view.cpp
@@ -26,9 +26,9 @@
#include "kivioglobal.h"
#include "kivio_stencil.h"
-#include <brush.h>
+#include <tqbrush.h>
#include <tqcursor.h>
-#include <palette.h>
+#include <tqpalette.h>
#include <klocale.h>
#include <kdebug.h>
#include <kglobalsettings.h>
diff --git a/kivio/kiviopart/kivio_icon_view.h b/kivio/kiviopart/kivio_icon_view.h
index 8ceede64..ec6fa163 100644
--- a/kivio/kiviopart/kivio_icon_view.h
+++ b/kivio/kiviopart/kivio_icon_view.h
@@ -23,7 +23,7 @@
#include <tqiconview.h>
#include <tqptrlist.h>
#include <tqpainter.h>
-#include <palette.h>
+#include <tqpalette.h>
#include <tqpixmap.h>
#include <tqdragobject.h>
diff --git a/kivio/kiviopart/kivio_page.cpp b/kivio/kiviopart/kivio_page.cpp
index 41fe984b..0b60344b 100644
--- a/kivio/kiviopart/kivio_page.cpp
+++ b/kivio/kiviopart/kivio_page.cpp
@@ -30,10 +30,10 @@
#include <tqptrstack.h>
#include <tqbuffer.h>
#include <tqmessagebox.h>
-#include <clipboard.h>
+#include <tqclipboard.h>
#include <tqpicture.h>
#include <tqdom.h>
-#include <textstream.h>
+#include <tqtextstream.h>
#include <tqdragobject.h>
#include <tqmime.h>
#include <tqsortedlist.h>
@@ -153,7 +153,7 @@ TQDomElement KivioPage::save( TQDomDocument& doc )
page.setAttribute( "name", m_strName );
page.setAttribute( "hide", (int)m_bPageHide );
- // Create a child element for the page layout
+ // Create a child element for the page tqlayout
TQDomElement layoutE = saveLayout( doc );
page.appendChild( layoutE );
@@ -194,7 +194,7 @@ void KivioPage::saveOasis(KoStore* /*store*/, KoXmlWriter* docWriter, KoGenStyle
TQString layoutName = styles->lookup(pageLayout, "PL");
KoGenStyle masterPage(KoGenStyle::STYLE_MASTER);
- masterPage.addAttribute("style:page-layout-name", layoutName);
+ masterPage.addAttribute("style:page-tqlayout-name", layoutName);
TQString masterName = styles->lookup(masterPage, "MP");
docWriter->addAttribute("draw:master-page-name", masterName);
@@ -324,17 +324,17 @@ bool KivioPage::loadOasis(const TQDomElement& page, KoOasisStyles& oasisStyles)
return false;
}
- const TQDomElement *pageLayout = oasisStyles.findStyle(masterPage->attributeNS( KoXmlNS::style, "page-layout-name", TQString() ) );
+ const TQDomElement *pageLayout = oasisStyles.findStyle(masterPage->attributeNS( KoXmlNS::style, "page-tqlayout-name", TQString() ) );
if(!pageLayout) {
- kdDebug(430000) << "Couldn't find the pagelayout!" << endl;
+ kdDebug(430000) << "Couldn't find the pagetqlayout!" << endl;
return false;
}
m_pPageLayout.loadOasis(*pageLayout);
if(m_pPageLayout.ptWidth <= 1e-13 || m_pPageLayout.ptHeight <= 1e-13) {
- kdDebug(430000) << "Non valid pagelayout!" << endl;
+ kdDebug(430000) << "Non valid pagetqlayout!" << endl;
return false;
}
@@ -941,7 +941,7 @@ void KivioPage::copy()
KivioDragObject* kdo = new KivioDragObject();
kdo->setStencilList(m_lstSelection);
kdo->setStencilRect(getRectForAllSelectedStencils());
- TQApplication::clipboard()->setData(kdo, TQClipboard::Clipboard);
+ TQApplication::tqclipboard()->setData(kdo, TQClipboard::Clipboard);
}
void KivioPage::cut()
@@ -987,7 +987,7 @@ void KivioPage::paste(KivioView* view)
list.setAutoDelete(false);
KivioDragObject kdo;
- if(kdo.decode(TQApplication::clipboard()->data(TQClipboard::Clipboard), list, this)) {
+ if(kdo.decode(TQApplication::tqclipboard()->data(TQClipboard::Clipboard), list, this)) {
unselectAllStencils();
KivioStencil* stencil = list.first();
diff --git a/kivio/kiviopart/kivio_page.h b/kivio/kiviopart/kivio_page.h
index bc7daeca..16d9db48 100644
--- a/kivio/kiviopart/kivio_page.h
+++ b/kivio/kiviopart/kivio_page.h
@@ -41,7 +41,7 @@ class DCOPObject;
#include <tqintdict.h>
#include <tqmemarray.h>
#include <tqrect.h>
-#include <palette.h>
+#include <tqpalette.h>
#include <tqwidget.h>
#include <KoPoint.h>
diff --git a/kivio/kiviopart/kivio_spawner_drag.cpp b/kivio/kiviopart/kivio_spawner_drag.cpp
index 249138b0..7f1ba985 100644
--- a/kivio/kiviopart/kivio_spawner_drag.cpp
+++ b/kivio/kiviopart/kivio_spawner_drag.cpp
@@ -47,13 +47,13 @@ const char *KivioSpawnerDrag::format( int i ) const
return 0L;
}
-TQByteArray KivioSpawnerDrag::encodedData( const char *mime ) const
+TQByteArray KivioSpawnerDrag::tqencodedData( const char *mime ) const
{
TQByteArray a;
if( TQString(mime) == "application/x-qiconlist" )
{
- a = TQIconDrag::encodedData(mime);
+ a = TQIconDrag::tqencodedData(mime);
}
else if( TQString(mime) == "kivio/stencilSpawner" )
{
diff --git a/kivio/kiviopart/kivio_spawner_drag.h b/kivio/kiviopart/kivio_spawner_drag.h
index cb494221..9bd68dfe 100644
--- a/kivio/kiviopart/kivio_spawner_drag.h
+++ b/kivio/kiviopart/kivio_spawner_drag.h
@@ -33,7 +33,7 @@ public:
virtual ~KivioSpawnerDrag();
const char *format(int i) const;
- TQByteArray encodedData( const char *mime ) const;
+ TQByteArray tqencodedData( const char *mime ) const;
static bool canDecode( TQMimeSource* e );
void append( const TQIconDragItem &item, const TQRect &pr,
const TQRect &tr, KivioStencilSpawner &spawner );
diff --git a/kivio/kiviopart/kivio_stackbar.cpp b/kivio/kiviopart/kivio_stackbar.cpp
index 25ea7af2..4b42fa09 100644
--- a/kivio/kiviopart/kivio_stackbar.cpp
+++ b/kivio/kiviopart/kivio_stackbar.cpp
@@ -19,7 +19,7 @@
#include "kivio_stackbar.h"
#include "stencilbarbutton.h"
-#include <layout.h>
+#include <tqlayout.h>
#include <tqpushbutton.h>
#include <tqapplication.h>
@@ -52,8 +52,8 @@ void KivioStackBar::insertPage( TQWidget* w, const TQString& title )
w->hide();
w->setFocusPolicy(TQ_NoFocus);
- setMinimumWidth( TQMAX(minimumSize().width(),w->minimumSize().width() ) );
- setMaximumWidth( TQMAX(maximumSize().width(),w->maximumSize().width() ) );
+ setMinimumWidth( TQMAX(tqminimumSize().width(),w->tqminimumSize().width() ) );
+ setMaximumWidth( TQMAX(tqmaximumSize().width(),w->tqmaximumSize().width() ) );
DragBarButton* b = new DragBarButton( title, this );
b->setOrientation(orientation());
diff --git a/kivio/kiviopart/kivio_stencil_geometry_panel.cpp b/kivio/kiviopart/kivio_stencil_geometry_panel.cpp
index 064c8b50..f7ea9121 100644
--- a/kivio/kiviopart/kivio_stencil_geometry_panel.cpp
+++ b/kivio/kiviopart/kivio_stencil_geometry_panel.cpp
@@ -1,6 +1,6 @@
#include "kivio_stencil_geometry_panel.h"
-#include <layout.h>
+#include <tqlayout.h>
#include <tqlabel.h>
#include <tqpixmap.h>
diff --git a/kivio/kiviopart/kivio_view.cpp b/kivio/kiviopart/kivio_view.cpp
index 282312a0..8d529449 100644
--- a/kivio/kiviopart/kivio_view.cpp
+++ b/kivio/kiviopart/kivio_view.cpp
@@ -24,7 +24,7 @@
#include <time.h>
#include <assert.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqwidgetstack.h>
#include <tqsplitter.h>
#include <tqpushbutton.h>
@@ -37,7 +37,7 @@
#include <tqtoolbutton.h>
#include <tqtimer.h>
#include <tqbutton.h>
-#include <clipboard.h>
+#include <tqclipboard.h>
#include <tqprogressbar.h>
#include <tqstringlist.h>
@@ -153,7 +153,7 @@ KivioView::KivioView( TQWidget *_parent, const char *_name, KivioDoc* doc )
if(KStatusBar* sb = statusBar()) { // No statusbar in e.g. konqueror
m_pageCountSLbl = new KStatusBarLabel(i18n("%1 current page, %2 total number of pages",
- "Page %1/%2").arg(0).arg(0), PAGECOUNT_TEXT, sb);
+ "Page %1/%2").tqarg(0).tqarg(0), PAGECOUNT_TEXT, sb);
addStatusBarItem(m_pageCountSLbl, 0, false);
m_infoSLbl = new KStatusBarLabel("", INFO_TEXT, sb);
@@ -163,8 +163,8 @@ KivioView::KivioView( TQWidget *_parent, const char *_name, KivioDoc* doc )
TQString unit = KoUnit::unitName(m_pDoc->unit());
KoPoint xy(0, 0);
TQString text = i18n("%1 x coord, %2 y coord, %3 and %4 the unit",
- "X: %1 %3 Y: %2 %4").arg(KGlobal::_locale->formatNumber(xy.x(), 2))
- .arg(KGlobal::_locale->formatNumber(xy.y(), 2)).arg(unit).arg(unit);
+ "X: %1 %3 Y: %2 %4").tqarg(KGlobal::_locale->formatNumber(xy.x(), 2))
+ .tqarg(KGlobal::_locale->formatNumber(xy.y(), 2)).tqarg(unit).tqarg(unit);
m_coordSLbl = new KStatusBarLabel(text, MOUSEPOS_TEXT, sb);
addStatusBarItem(m_coordSLbl, 0, true);
}
@@ -245,20 +245,20 @@ KivioView::KivioView( TQWidget *_parent, const char *_name, KivioDoc* doc )
&(m_pCanvas->guideLines()), TQT_SLOT(moveGuide(const TQPoint&, bool, int)));
connect(&(m_pCanvas->guideLines()), TQT_SIGNAL(guideLinesChanged(KoView*)), m_pDoc, TQT_SLOT(updateGuideLines(KoView*)));
- TQGridLayout* layout = new TQGridLayout(pRightSide);
- layout->addWidget(hRuler, 0, 1);
- layout->addWidget(vRuler, 1, 0);
- layout->addWidget(canvasBase, 1, 1);
- layout->addMultiCellLayout(tabLayout, 2, 2, 0, 1);
- layout->addMultiCellWidget(m_vertScrollBar, 0, 1, 2, 2);
- layout->setRowStretch(1, 10);
- layout->setColStretch(1, 10);
+ TQGridLayout* tqlayout = new TQGridLayout(pRightSide);
+ tqlayout->addWidget(hRuler, 0, 1);
+ tqlayout->addWidget(vRuler, 1, 0);
+ tqlayout->addWidget(canvasBase, 1, 1);
+ tqlayout->addMultiCellLayout(tabLayout, 2, 2, 0, 1);
+ tqlayout->addMultiCellWidget(m_vertScrollBar, 0, 1, 2, 2);
+ tqlayout->setRowStretch(1, 10);
+ tqlayout->setColStretch(1, 10);
TQWidget::setFocusPolicy( TQ_StrongFocus );
setFocusProxy( m_pCanvas );
connect( TQT_TQOBJECT(this), TQT_SIGNAL( invalidated() ), m_pCanvas, TQT_SLOT( update() ) );
- connect( TQT_TQOBJECT(this), TQT_SIGNAL( regionInvalidated( const TQRegion&, bool ) ), m_pCanvas, TQT_SLOT( repaint( const TQRegion&, bool ) ) );
+ connect( TQT_TQOBJECT(this), TQT_SIGNAL( regionInvalidated( const TQRegion&, bool ) ), m_pCanvas, TQT_SLOT( tqrepaint( const TQRegion&, bool ) ) );
setInstance(KivioFactory::global());
if ( !m_pDoc->isReadWrite() )
@@ -390,7 +390,7 @@ void KivioView::setupActions()
m_editCut = KStdAction::cut( TQT_TQOBJECT(this), TQT_SLOT(cutStencil()), actionCollection(), "cutStencil" );
m_editCopy = KStdAction::copy( TQT_TQOBJECT(this), TQT_SLOT(copyStencil()), actionCollection(), "copyStencil" );
m_editPaste = KStdAction::paste( TQT_TQOBJECT(this), TQT_SLOT(pasteStencil()), actionCollection(), "pasteStencil" );
- connect(TQApplication::clipboard(), TQT_SIGNAL(dataChanged()), TQT_TQOBJECT(this), TQT_SLOT(clipboardDataChanged()));
+ connect(TQApplication::tqclipboard(), TQT_SIGNAL(dataChanged()), TQT_TQOBJECT(this), TQT_SLOT(clipboardDataChanged()));
m_selectAll = KStdAction::selectAll(TQT_TQOBJECT(this), TQT_SLOT(selectAllStencils()), actionCollection(), "selectAllStencils");
m_selectNone = KStdAction::deselect(TQT_TQOBJECT(this), TQT_SLOT(unselectAllStencils()), actionCollection(), "unselectAllStencils");
@@ -1134,13 +1134,13 @@ void KivioView::ungroupStencils()
void KivioView::selectAllStencils()
{
m_pActivePage->selectAllStencils();
- m_pCanvas->repaint();
+ m_pCanvas->tqrepaint();
}
void KivioView::unselectAllStencils()
{
m_pActivePage->unselectAllStencils();
- m_pCanvas->repaint();
+ m_pCanvas->tqrepaint();
}
TQColor KivioView::fgColor() const
@@ -1733,7 +1733,7 @@ void KivioView::addStencilFromSpawner( KivioStencilSpawner *pSpawner, double x,
m_pActivePage->addStencil( pStencil );
m_pActivePage->selectStencil( pStencil );
- // Mark the page as modified and repaint
+ // Mark the page as modified and tqrepaint
m_pDoc->updateView(m_pActivePage);
pluginManager()->activateDefaultTool();
m_pCanvas->updateAutoGuideLines();
@@ -1748,7 +1748,7 @@ void KivioView::alignStencilsDlg()
m_pActivePage->alignStencils(dlg->align());
m_pActivePage->distributeStencils(dlg->distribute());
- m_pCanvas->repaint();
+ m_pCanvas->tqrepaint();
}
delete dlg;
@@ -1842,8 +1842,8 @@ void KivioView::setMousePos( int mx, int my )
KoPoint xy = m_pCanvas->mapFromScreen(TQPoint(mx, my));
xy.setX(KoUnit::toUserValue(xy.x(), m_pDoc->unit()));
xy.setY(KoUnit::toUserValue(xy.y(), m_pDoc->unit()));
- TQString text = i18n("X: %1 %3 Y: %2 %4").arg(KGlobal::_locale->formatNumber(xy.x(), 2))
- .arg(KGlobal::_locale->formatNumber(xy.y(), 2)).arg(unit).arg(unit);
+ TQString text = i18n("X: %1 %3 Y: %2 %4").tqarg(KGlobal::_locale->formatNumber(xy.x(), 2))
+ .tqarg(KGlobal::_locale->formatNumber(xy.y(), 2)).tqarg(unit).tqarg(unit);
m_coordSLbl->setText(text);
}
}
@@ -2113,7 +2113,7 @@ Kivio::PluginManager* KivioView::pluginManager()
void KivioView::clipboardDataChanged()
{
- TQMimeSource* data = TQApplication::clipboard()->data();
+ TQMimeSource* data = TQApplication::tqclipboard()->data();
KivioDragObject decoder(this);
bool paste = decoder.canDecode(data);
m_editPaste->setEnabled(paste);
@@ -2191,7 +2191,7 @@ int KivioView::vTextAlign()
void KivioView::updatePageStatusLabel()
{
- TQString text = i18n("Page %1/%2").arg(m_pDoc->map()->pageList().find(activePage()) + 1).arg(m_pDoc->map()->count());
+ TQString text = i18n("Page %1/%2").tqarg(m_pDoc->map()->pageList().find(activePage()) + 1).tqarg(m_pDoc->map()->count());
m_pageCountSLbl->setText(text);
}
diff --git a/kivio/kiviopart/kivio_zoomaction.cpp b/kivio/kiviopart/kivio_zoomaction.cpp
index dde3103a..c500f34a 100644
--- a/kivio/kiviopart/kivio_zoomaction.cpp
+++ b/kivio/kiviopart/kivio_zoomaction.cpp
@@ -29,18 +29,18 @@ ZoomAction::ZoomAction(TQObject* parent, const char* name)
{
setEditable(true);
TQStringList lst;
- lst << i18n("%1%").arg("33");
- lst << i18n("%1%").arg("50");
- lst << i18n("%1%").arg("75");
- lst << i18n("%1%").arg("100");
- lst << i18n("%1%").arg("125");
- lst << i18n("%1%").arg("150");
- lst << i18n("%1%").arg("200");
- lst << i18n("%1%").arg("250");
- lst << i18n("%1%").arg("350");
- lst << i18n("%1%").arg("400");
- lst << i18n("%1%").arg("450");
- lst << i18n("%1%").arg("500");
+ lst << i18n("%1%").tqarg("33");
+ lst << i18n("%1%").tqarg("50");
+ lst << i18n("%1%").tqarg("75");
+ lst << i18n("%1%").tqarg("100");
+ lst << i18n("%1%").tqarg("125");
+ lst << i18n("%1%").tqarg("150");
+ lst << i18n("%1%").tqarg("200");
+ lst << i18n("%1%").tqarg("250");
+ lst << i18n("%1%").tqarg("350");
+ lst << i18n("%1%").tqarg("400");
+ lst << i18n("%1%").tqarg("450");
+ lst << i18n("%1%").tqarg("500");
setItems(lst);
}
@@ -84,14 +84,14 @@ void ZoomAction::insertItem( int zoom )
TQStringList lst;
for (TQValueList<int>::Iterator it = list.begin() ; it != list.end() ; ++it)
- lst.append( i18n("%1%").arg(*it) );
+ lst.append( i18n("%1%").tqarg(*it) );
setItems(lst);
- setCurrentItem(lst.findIndex(i18n("%1%").arg(zoom)));
+ setCurrentItem(lst.findIndex(i18n("%1%").tqarg(zoom)));
}
void ZoomAction::setEditZoom( int zoom )
{
- const TQString zt(i18n("%1%").arg(zoom));
+ const TQString zt(i18n("%1%").tqarg(zoom));
setEditText(zt);
}
#include "kivio_zoomaction.moc"
diff --git a/kivio/kiviopart/kiviodragobject.cpp b/kivio/kiviopart/kiviodragobject.cpp
index 574afddc..35a6d7ff 100644
--- a/kivio/kiviopart/kiviodragobject.cpp
+++ b/kivio/kiviopart/kiviodragobject.cpp
@@ -22,7 +22,7 @@
#include <tqcstring.h>
#include <tqstringlist.h>
#include <tqdom.h>
-#include <textstream.h>
+#include <tqtextstream.h>
#include <tqpixmap.h>
#include <tqimage.h>
@@ -56,7 +56,7 @@ const char* KivioDragObject::format(int i) const
return id.format(i - NumEncodeFormats);
}
-TQByteArray KivioDragObject::encodedData(const char* mimetype) const
+TQByteArray KivioDragObject::tqencodedData(const char* mimetype) const
{
if((m_encodeMimeList[0] == mimetype) ||
(m_encodeMimeList[1] == mimetype))
@@ -90,7 +90,7 @@ bool KivioDragObject::decode(TQMimeSource* e, TQPtrList<KivioStencil>& sl, Kivio
if(e->provides("application/vnd.kde.kivio")) {
TQDomDocument doc("KivioSelection");
- TQByteArray data = e->encodedData("application/vnd.kde.kivio");
+ TQByteArray data = e->tqencodedData("application/vnd.kde.kivio");
doc.setContent( TQCString( data, data.size()+1 ) );
KivioLayer l(page);
ok = l.loadXML(doc.documentElement());
@@ -178,7 +178,7 @@ TQByteArray KivioDragObject::imageEncoded(const char* mimetype) const
TQImageDrag id;
id.setImage(buffer.convertToImage());
- return id.encodedData(mimetype);
+ return id.tqencodedData(mimetype);
}
#include "kiviodragobject.moc"
diff --git a/kivio/kiviopart/kiviodragobject.h b/kivio/kiviopart/kiviodragobject.h
index d441af19..99d632f7 100644
--- a/kivio/kiviopart/kiviodragobject.h
+++ b/kivio/kiviopart/kiviodragobject.h
@@ -36,7 +36,7 @@ class KivioDragObject : public TQDragObject
KivioDragObject(TQWidget* dragSource = 0, const char* name = 0);
const char* format(int i) const;
- TQByteArray encodedData(const char* mimetype) const;
+ TQByteArray tqencodedData(const char* mimetype) const;
bool canDecode(TQMimeSource*);
bool decode(TQMimeSource* e, TQPtrList<KivioStencil>& sl, KivioPage* page);
void setStencilList(TQPtrList<KivioStencil> l);
diff --git a/kivio/kiviopart/kivioglobal.cpp b/kivio/kiviopart/kivioglobal.cpp
index 201eea08..7479af08 100644
--- a/kivio/kiviopart/kivioglobal.cpp
+++ b/kivio/kiviopart/kivioglobal.cpp
@@ -44,52 +44,52 @@ struct PaperSizeDef {
int unit;
};
-void Kivio::savePageLayout(TQDomElement& e, const KoPageLayout& layout)
+void Kivio::savePageLayout(TQDomElement& e, const KoPageLayout& tqlayout)
{
- XmlWriteFloat(e, "width", layout.ptWidth);
- XmlWriteFloat(e, "height", layout.ptHeight);
- XmlWriteFloat(e, "marginLeft", layout.ptLeft);
- XmlWriteFloat(e, "marginRight", layout.ptRight);
- XmlWriteFloat(e, "marginTop", layout.ptTop);
- XmlWriteFloat(e, "marginBottom", layout.ptBottom);
- XmlWriteString(e, "format", KoPageFormat::formatString(layout.format));
- XmlWriteString(e, "orientation", Kivio::orientationString(layout.orientation));
+ XmlWriteFloat(e, "width", tqlayout.ptWidth);
+ XmlWriteFloat(e, "height", tqlayout.ptHeight);
+ XmlWriteFloat(e, "marginLeft", tqlayout.ptLeft);
+ XmlWriteFloat(e, "marginRight", tqlayout.ptRight);
+ XmlWriteFloat(e, "marginTop", tqlayout.ptTop);
+ XmlWriteFloat(e, "marginBottom", tqlayout.ptBottom);
+ XmlWriteString(e, "format", KoPageFormat::formatString(tqlayout.format));
+ XmlWriteString(e, "orientation", Kivio::orientationString(tqlayout.orientation));
}
-// ## TODO: remove this method, now that layout.saveOasis() does it all
-KoGenStyle Kivio::savePageLayout(const KoPageLayout& layout)
+// ## TODO: remove this method, now that tqlayout.saveOasis() does it all
+KoGenStyle Kivio::savePageLayout(const KoPageLayout& tqlayout)
{
- return layout.saveOasis();
+ return tqlayout.saveOasis();
}
KoPageLayout Kivio::loadPageLayout(const TQDomElement& e)
{
- KoPageLayout layout;
+ KoPageLayout tqlayout;
if(e.hasAttribute("unit")) {
// Compatibility with Kivio <= 1.2.x
kdDebug(43000) << "Compatibility mode..." << endl;
KoUnit::Unit unit = Kivio::convToKoUnit(XmlReadInt(e, "unit", 0));
- layout.ptWidth = KoUnit::fromUserValue(XmlReadFloat(e, "width", 0.0), unit);
- layout.ptHeight = KoUnit::fromUserValue(XmlReadFloat(e, "height", 0.0), unit);
- layout.ptLeft = KoUnit::fromUserValue(XmlReadFloat(e, "marginLeft", 0.0), unit);
- layout.ptRight = KoUnit::fromUserValue(XmlReadFloat(e, "marginRight", 0.0), unit);
- layout.ptTop = KoUnit::fromUserValue(XmlReadFloat(e, "marginTop", 0.0), unit);
- layout.ptBottom = KoUnit::fromUserValue(XmlReadFloat(e, "marginBottom", 0.0), unit);
- Kivio::setFormatOrientation(layout);
+ tqlayout.ptWidth = KoUnit::fromUserValue(XmlReadFloat(e, "width", 0.0), unit);
+ tqlayout.ptHeight = KoUnit::fromUserValue(XmlReadFloat(e, "height", 0.0), unit);
+ tqlayout.ptLeft = KoUnit::fromUserValue(XmlReadFloat(e, "marginLeft", 0.0), unit);
+ tqlayout.ptRight = KoUnit::fromUserValue(XmlReadFloat(e, "marginRight", 0.0), unit);
+ tqlayout.ptTop = KoUnit::fromUserValue(XmlReadFloat(e, "marginTop", 0.0), unit);
+ tqlayout.ptBottom = KoUnit::fromUserValue(XmlReadFloat(e, "marginBottom", 0.0), unit);
+ Kivio::setFormatOrientation(tqlayout);
kdDebug(43000) << "Ready." << endl;
} else {
- layout.ptWidth = XmlReadFloat(e, "width", 0.0);
- layout.ptHeight = XmlReadFloat(e, "height", 0.0);
- layout.ptLeft = XmlReadFloat(e, "marginLeft", 0.0);
- layout.ptRight = XmlReadFloat(e, "marginRight", 0.0);
- layout.ptTop = XmlReadFloat(e, "marginTop", 0.0);
- layout.ptBottom = XmlReadFloat(e, "marginBottom", 0.0);
- layout.format = KoPageFormat::formatFromString(XmlReadString(e, "format", pageSizeString(KGlobal::locale()->pageSize())));
- layout.orientation = Kivio::orientationFromString(XmlReadString(e, "orientation", "Portrait"));
+ tqlayout.ptWidth = XmlReadFloat(e, "width", 0.0);
+ tqlayout.ptHeight = XmlReadFloat(e, "height", 0.0);
+ tqlayout.ptLeft = XmlReadFloat(e, "marginLeft", 0.0);
+ tqlayout.ptRight = XmlReadFloat(e, "marginRight", 0.0);
+ tqlayout.ptTop = XmlReadFloat(e, "marginTop", 0.0);
+ tqlayout.ptBottom = XmlReadFloat(e, "marginBottom", 0.0);
+ tqlayout.format = KoPageFormat::formatFromString(XmlReadString(e, "format", pageSizeString(KGlobal::locale()->pageSize())));
+ tqlayout.orientation = Kivio::orientationFromString(XmlReadString(e, "orientation", "Portrait"));
}
- return layout;
+ return tqlayout;
}
KoUnit::Unit Kivio::convToKoUnit(int tkUnit)
@@ -132,7 +132,7 @@ KoOrientation Kivio::orientationFromString(const TQString& s)
return PG_PORTRAIT;
}
-void Kivio::setFormatOrientation(KoPageLayout& layout)
+void Kivio::setFormatOrientation(KoPageLayout& tqlayout)
{
const PaperSizeDef PapersTable[] = {
{"A0",841,1189,KoUnit::U_MM},
@@ -166,20 +166,20 @@ void Kivio::setFormatOrientation(KoPageLayout& layout)
PaperSizeDef sizeDef = PapersTable[0];
bool found = false;
float width, height;
- layout.format = PG_CUSTOM;
- layout.orientation = PG_PORTRAIT;
+ tqlayout.format = PG_CUSTOM;
+ tqlayout.orientation = PG_PORTRAIT;
while((sizeDef.unit != -2) && !found) {
width = KoUnit::fromUserValue(sizeDef.width, static_cast<KoUnit::Unit>(sizeDef.unit));
height = KoUnit::fromUserValue(sizeDef.height, static_cast<KoUnit::Unit>(sizeDef.unit));
- if((layout.ptWidth == width) && (layout.ptHeight == height)) {
- layout.format = KoPageFormat::formatFromString(sizeDef.title);
- layout.orientation = PG_PORTRAIT;
+ if((tqlayout.ptWidth == width) && (tqlayout.ptHeight == height)) {
+ tqlayout.format = KoPageFormat::formatFromString(sizeDef.title);
+ tqlayout.orientation = PG_PORTRAIT;
found = true;
- } else if((layout.ptWidth == height) && (layout.ptHeight == width)) {
- layout.format = KoPageFormat::formatFromString(sizeDef.title);
- layout.orientation = PG_LANDSCAPE;
+ } else if((tqlayout.ptWidth == height) && (tqlayout.ptHeight == width)) {
+ tqlayout.format = KoPageFormat::formatFromString(sizeDef.title);
+ tqlayout.orientation = PG_LANDSCAPE;
found = true;
}
diff --git a/kivio/kiviopart/kivioglobal.h b/kivio/kiviopart/kivioglobal.h
index cd0fe3d6..1e94f79b 100644
--- a/kivio/kiviopart/kivioglobal.h
+++ b/kivio/kiviopart/kivioglobal.h
@@ -37,12 +37,12 @@ namespace Kivio
};
/**
- * Save a page layout to a TQDomElement
+ * Save a page tqlayout to a TQDomElement
*/
- void savePageLayout(TQDomElement& e, const KoPageLayout& layout);
- KoGenStyle savePageLayout(const KoPageLayout& layout);
+ void savePageLayout(TQDomElement& e, const KoPageLayout& tqlayout);
+ KoGenStyle savePageLayout(const KoPageLayout& tqlayout);
/**
- * Load a page layout from a TQDomElement
+ * Load a page tqlayout from a TQDomElement
*/
KoPageLayout loadPageLayout(const TQDomElement& e);
/**
@@ -57,7 +57,7 @@ namespace Kivio
* Return the orientation based on the string
*/
KoOrientation orientationFromString(const TQString& s);
- void setFormatOrientation(KoPageLayout& layout);
+ void setFormatOrientation(KoPageLayout& tqlayout);
/**
* Load a KoSize from a TQDomElement
diff --git a/kivio/kiviopart/kiviosdk/diapathparser.cpp b/kivio/kiviopart/kiviosdk/diapathparser.cpp
index e071a8e6..1af85056 100644
--- a/kivio/kiviopart/kiviosdk/diapathparser.cpp
+++ b/kivio/kiviopart/kiviosdk/diapathparser.cpp
@@ -48,8 +48,8 @@ void DiaPointFinder::svgClosePath()
{
}
-DiaPathParser::DiaPathParser(TQDomDocument *doc, TQDomElement *shape, float xscale, float yscale, float lowestx, float lowesty) :
- SVGPathParser(), m_doc(doc), m_shape(shape),
+DiaPathParser::DiaPathParser(TQDomDocument *doc, TQDomElement *tqshape, float xscale, float yscale, float lowestx, float lowesty) :
+ SVGPathParser(), m_doc(doc), m_tqshape(tqshape),
m_xscale(xscale), m_yscale(yscale),
m_lowestx(lowestx), m_lowesty(lowesty)
{
@@ -72,12 +72,12 @@ void DiaPathParser::svgLineTo( double x1, double y1, bool )
TQDomElement kivioPointElement = m_doc->createElement("KivioPoint");
kivioPointElement.setAttribute("x", TQString::number(diaPointToKivio(lastX,true) * m_xscale));
kivioPointElement.setAttribute("y", TQString::number(diaPointToKivio(lastY, false) * m_yscale));
- m_shape->appendChild(kivioPointElement);
+ m_tqshape->appendChild(kivioPointElement);
kivioPointElement = m_doc->createElement("KivioPoint");
kivioPointElement.setAttribute("x", TQString::number(diaPointToKivio(currentX,true) * m_xscale));
kivioPointElement.setAttribute("y", TQString::number(diaPointToKivio(currentY, false) * m_yscale));
- m_shape->appendChild(kivioPointElement);
+ m_tqshape->appendChild(kivioPointElement);
lastX = currentX;
lastY = currentY;
}
@@ -99,7 +99,7 @@ void DiaPathParser::svgCurveToCubic( double x1, double y1, double x2, double y2,
kivioPointElement.setAttribute("y",
TQString::number(diaPointToKivio(lastY, false) * m_yscale));
kivioPointElement.setAttribute("type", "bezier");
- m_shape->appendChild(kivioPointElement);
+ m_tqshape->appendChild(kivioPointElement);
kivioPointElement = m_doc->createElement("KivioPoint");
kivioPointElement.setAttribute("x",
@@ -107,7 +107,7 @@ void DiaPathParser::svgCurveToCubic( double x1, double y1, double x2, double y2,
kivioPointElement.setAttribute("y",
TQString::number(diaPointToKivio(lastControlY, false) * m_yscale));
kivioPointElement.setAttribute("type", "bezier");
- m_shape->appendChild(kivioPointElement);
+ m_tqshape->appendChild(kivioPointElement);
kivioPointElement = m_doc->createElement("KivioPoint");
kivioPointElement.setAttribute("x",
@@ -115,7 +115,7 @@ void DiaPathParser::svgCurveToCubic( double x1, double y1, double x2, double y2,
kivioPointElement.setAttribute("y",
TQString::number(diaPointToKivio(currentControlY, false) * m_yscale));
kivioPointElement.setAttribute("type", "bezier");
- m_shape->appendChild(kivioPointElement);
+ m_tqshape->appendChild(kivioPointElement);
kivioPointElement = m_doc->createElement("KivioPoint");
kivioPointElement.setAttribute("x",
@@ -123,7 +123,7 @@ void DiaPathParser::svgCurveToCubic( double x1, double y1, double x2, double y2,
kivioPointElement.setAttribute("y",
TQString::number(diaPointToKivio(currentY, false) * m_yscale));
kivioPointElement.setAttribute("type", "bezier");
- m_shape->appendChild(kivioPointElement);
+ m_tqshape->appendChild(kivioPointElement);
lastX = currentX;
lastY = currentY;
}
diff --git a/kivio/kiviopart/kiviosdk/diapathparser.h b/kivio/kiviopart/kiviosdk/diapathparser.h
index 5308c468..0a9439f6 100644
--- a/kivio/kiviopart/kiviosdk/diapathparser.h
+++ b/kivio/kiviopart/kiviosdk/diapathparser.h
@@ -41,7 +41,7 @@ class DiaPointFinder : public SVGPathParser
class DiaPathParser : public SVGPathParser
{
public:
- DiaPathParser(TQDomDocument *doc, TQDomElement *shape, float xscale, float yscale, float lowestx, float lowesty);
+ DiaPathParser(TQDomDocument *doc, TQDomElement *tqshape, float xscale, float yscale, float lowestx, float lowesty);
void svgMoveTo( double x1, double y1, bool abs = true );
void svgLineTo( double x1, double y1, bool abs = true );
@@ -52,7 +52,7 @@ class DiaPathParser : public SVGPathParser
float diaPointToKivio(float point, bool xpoint);
TQDomDocument *m_doc;
- TQDomElement *m_shape;
+ TQDomElement *m_tqshape;
float lastX;
float lastY;
float m_xscale;
diff --git a/kivio/kiviopart/kiviosdk/kivio_1d_stencil.h b/kivio/kiviopart/kiviosdk/kivio_1d_stencil.h
index 8162bcd2..b42d650b 100644
--- a/kivio/kiviopart/kiviosdk/kivio_1d_stencil.h
+++ b/kivio/kiviopart/kiviosdk/kivio_1d_stencil.h
@@ -124,7 +124,7 @@ public:
virtual void customDrag( KivioCustomDragData * );
- // geometry management
+ // tqgeometry management
virtual void updateGeometry();
virtual void updateConnectorPoints( KivioConnectorPoint *, double, double );
diff --git a/kivio/kiviopart/kiviosdk/kivio_base_connector_stencil.h b/kivio/kiviopart/kiviosdk/kivio_base_connector_stencil.h
index 1e0a76de..f7e2dddb 100644
--- a/kivio/kiviopart/kiviosdk/kivio_base_connector_stencil.h
+++ b/kivio/kiviopart/kiviosdk/kivio_base_connector_stencil.h
@@ -100,7 +100,7 @@ public:
virtual void customDrag( KivioCustomDragData * );
- // geometry management
+ // tqgeometry management
virtual void updateGeometry();
diff --git a/kivio/kiviopart/kiviosdk/kivio_base_target_stencil.cpp b/kivio/kiviopart/kiviosdk/kivio_base_target_stencil.cpp
index b290fb62..e41f5788 100644
--- a/kivio/kiviopart/kiviosdk/kivio_base_target_stencil.cpp
+++ b/kivio/kiviopart/kiviosdk/kivio_base_target_stencil.cpp
@@ -501,7 +501,7 @@ void KivioBaseTargetStencil::copyBasicInto( KivioBaseTargetStencil *pStencil )
pTgTarget = pStencil->m_pTargets->next();
}
- // Copy the geometry
+ // Copy the tqgeometry
pStencil->m_x = m_x;
pStencil->m_y = m_y;
pStencil->m_w = m_w;
diff --git a/kivio/kiviopart/kiviosdk/kivio_common.cpp b/kivio/kiviopart/kiviosdk/kivio_common.cpp
index 3dd8b428..b67efc23 100644
--- a/kivio/kiviopart/kiviosdk/kivio_common.cpp
+++ b/kivio/kiviopart/kiviosdk/kivio_common.cpp
@@ -330,7 +330,7 @@ void XmlWriteDouble( TQDomElement &e, const TQString &att, const double &val )
* across two quadrants, you need to determine which side of the test point it crossed, and then
* either add or subtract 2.
*
- * Quad layout:
+ * Quad tqlayout:
* 1 2
* 4 3
*/
@@ -423,7 +423,7 @@ KoRect XmlReadRect( const TQDomElement &e, const TQString &att, const KoRect &de
void XmlWriteRect( TQDomElement &e, const TQString &att, const KoRect &val )
{
- e.setAttribute( att, TQString("[%1,%2,%3,%4]").arg(val.x()).arg(val.y()).arg(val.width()).arg(val.height()) );
+ e.setAttribute( att, TQString("[%1,%2,%3,%4]").tqarg(val.x()).tqarg(val.y()).tqarg(val.width()).tqarg(val.height()) );
}
diff --git a/kivio/kiviopart/kiviosdk/kivio_connector_point.cpp b/kivio/kiviopart/kiviosdk/kivio_connector_point.cpp
index d408bee6..0208f932 100644
--- a/kivio/kiviopart/kiviosdk/kivio_connector_point.cpp
+++ b/kivio/kiviopart/kiviosdk/kivio_connector_point.cpp
@@ -83,10 +83,10 @@ void KivioConnectorPoint::setTarget( KivioConnectorTarget *pTarget )
* Sets the x coordinate.
*
* @param newX The new value
- * @param updateStencil Whether or not the stencil's geometry should be updated (def=true)
+ * @param updateStencil Whether or not the stencil's tqgeometry should be updated (def=true)
*
* Sets the X coordinate to a new value, and optionally
- * updates the stencil's geometry if updateStencil is true.
+ * updates the stencil's tqgeometry if updateStencil is true.
*/
void KivioConnectorPoint::setX( double newX, bool updateStencil )
{
@@ -102,10 +102,10 @@ void KivioConnectorPoint::setX( double newX, bool updateStencil )
* Sets the y coordinate.
*
* @param newY The new value
- * @param updateStencil Whether or not the stencil's geometry should be updated (def=true)
+ * @param updateStencil Whether or not the stencil's tqgeometry should be updated (def=true)
*
* Sets the Y coordinate to a new value, and optionally
- * updates the stencil's geometry if updateStencil is true.
+ * updates the stencil's tqgeometry if updateStencil is true.
*/
void KivioConnectorPoint::setY( double newY, bool updateStencil )
{
@@ -122,10 +122,10 @@ void KivioConnectorPoint::setY( double newY, bool updateStencil )
*
* @param newX The new x value
* @param newY The new y value
- * @param updateStencil Whether or not the stencil's geometry should be updated (def=true)
+ * @param updateStencil Whether or not the stencil's tqgeometry should be updated (def=true)
*
* Sets the X & Y coordinates to new values, and optionally
- * updates the stencil's geometry if updateStencil is true.
+ * updates the stencil's tqgeometry if updateStencil is true.
*/
void KivioConnectorPoint::setPosition( double newX, double newY, bool updateStencil )
{
diff --git a/kivio/kiviopart/kiviosdk/kivio_dia_stencil_spawner.cpp b/kivio/kiviopart/kiviosdk/kivio_dia_stencil_spawner.cpp
index ada33c4c..4407d2d0 100644
--- a/kivio/kiviopart/kiviosdk/kivio_dia_stencil_spawner.cpp
+++ b/kivio/kiviopart/kiviosdk/kivio_dia_stencil_spawner.cpp
@@ -83,7 +83,7 @@ bool KivioDiaStencilSpawner::load(const TQString &file)
return false;
}
dia.setContent(&f);
- TQDomNode diaMain = dia.namedItem("shape");
+ TQDomNode diaMain = dia.namedItem("tqshape");
// Set "creator" attribute
TQDomElement firstElement = kivio.createElement("KivioShapeStencil");
@@ -250,7 +250,7 @@ bool KivioDiaStencilSpawner::load(const TQString &file)
//}
//else
{
- // scale the shape to be close to 30 by 30
+ // scale the tqshape to be close to 30 by 30
m_yscale = 30.0/(m_highesty - m_lowesty);
m_xscale = 30.0/(m_highestx - m_lowestx);
}
@@ -294,7 +294,7 @@ bool KivioDiaStencilSpawner::load(const TQString &file)
{
TQDomElement kivioShape = kivio.createElement("KivioShape");
kivioShape.setAttribute("type", "Rectangle");
- kivioShape.setAttribute("name", TQString::fromLatin1("Element") + TQString::number(runs));
+ kivioShape.setAttribute("name", TQString::tqfromLatin1("Element") + TQString::number(runs));
kivioShape.setAttribute("x", TQString::number(diaPointToKivio(svgChild.attribute("x").toFloat(),true) * m_xscale));
kivioShape.setAttribute("y", TQString::number(diaPointToKivio(svgChild.attribute("y").toFloat(), false) * m_yscale));
kivioShape.setAttribute("w", TQString::number(svgChild.attribute("width").toFloat() * m_xscale));
@@ -309,7 +309,7 @@ bool KivioDiaStencilSpawner::load(const TQString &file)
{
TQDomElement kivioShape = kivio.createElement("KivioShape");
kivioShape.setAttribute("type", "Ellipse");
- kivioShape.setAttribute("name", TQString::fromLatin1("Element") + TQString::number(runs));
+ kivioShape.setAttribute("name", TQString::tqfromLatin1("Element") + TQString::number(runs));
kivioShape.setAttribute("x", TQString::number((diaPointToKivio(svgChild.attribute("cx").toFloat() - svgChild.attribute("r").toFloat(),true) * m_xscale)));
kivioShape.setAttribute("y", TQString::number((diaPointToKivio(svgChild.attribute("cy").toFloat() - svgChild.attribute("r").toFloat(), false) * m_yscale)));
kivioShape.setAttribute("w", TQString::number(svgChild.attribute("r").toFloat() * m_xscale * 2));
@@ -324,7 +324,7 @@ bool KivioDiaStencilSpawner::load(const TQString &file)
{
TQDomElement kivioShape = kivio.createElement("KivioShape");
kivioShape.setAttribute("type", "Ellipse");
- kivioShape.setAttribute("name", TQString::fromLatin1("Element") + TQString::number(runs));
+ kivioShape.setAttribute("name", TQString::tqfromLatin1("Element") + TQString::number(runs));
kivioShape.setAttribute("x", TQString::number((diaPointToKivio(svgChild.attribute("cx").toFloat() - svgChild.attribute("rx").toFloat(),true) * m_xscale)));
kivioShape.setAttribute("y", TQString::number((diaPointToKivio(svgChild.attribute("cy").toFloat() - svgChild.attribute("ry").toFloat(), false) * m_yscale)));
kivioShape.setAttribute("w", TQString::number(svgChild.attribute("rx").toFloat() * m_xscale * 2));
@@ -339,7 +339,7 @@ bool KivioDiaStencilSpawner::load(const TQString &file)
{
TQDomElement kivioShape = kivio.createElement("KivioShape");
kivioShape.setAttribute("type", "LineArray");
- kivioShape.setAttribute("name", TQString::fromLatin1("Element") + TQString::number(runs));
+ kivioShape.setAttribute("name", TQString::tqfromLatin1("Element") + TQString::number(runs));
TQDomElement lineArrayElement = kivio.createElement("Line");
lineArrayElement.setAttribute("x1", TQString::number(diaPointToKivio(svgChild.attribute("x1").toFloat(),true) * m_xscale));
@@ -358,7 +358,7 @@ bool KivioDiaStencilSpawner::load(const TQString &file)
{
TQDomElement kivioShape = kivio.createElement("KivioShape");
kivioShape.setAttribute("type", "Polyline");
- kivioShape.setAttribute("name", TQString::fromLatin1("Element") + TQString::number(runs));
+ kivioShape.setAttribute("name", TQString::tqfromLatin1("Element") + TQString::number(runs));
TQStringList points = TQStringList::split(" ", svgChild.attribute("points"));
for(TQStringList::Iterator it = points.begin(); it != points.end(); ++it)
@@ -387,7 +387,7 @@ bool KivioDiaStencilSpawner::load(const TQString &file)
{
TQDomElement kivioShape = kivio.createElement("KivioShape");
kivioShape.setAttribute("type", "Polygon");
- kivioShape.setAttribute("name", TQString::fromLatin1("Element") + TQString::number(runs));
+ kivioShape.setAttribute("name", TQString::tqfromLatin1("Element") + TQString::number(runs));
TQStringList points = TQStringList::split(" ", svgChild.attribute("points"));
for(TQStringList::Iterator it = points.begin(); it != points.end(); ++it)
@@ -428,7 +428,7 @@ bool KivioDiaStencilSpawner::load(const TQString &file)
kivioShape.setAttribute("type", "OpenPath");
}
- kivioShape.setAttribute("name", TQString::fromLatin1("Element") + TQString::number(runs));
+ kivioShape.setAttribute("name", TQString::tqfromLatin1("Element") + TQString::number(runs));
DiaPathParser *dpp = new DiaPathParser(&kivio,
&kivioShape, m_xscale, m_yscale,
diff --git a/kivio/kiviopart/kiviosdk/kivio_fill_style.h b/kivio/kiviopart/kiviosdk/kivio_fill_style.h
index ea776f20..4be7303b 100644
--- a/kivio/kiviopart/kiviosdk/kivio_fill_style.h
+++ b/kivio/kiviopart/kiviosdk/kivio_fill_style.h
@@ -19,7 +19,7 @@
#ifndef KIVIO_FILL_STYLE_H
#define KIVIO_FILL_STYLE_H
-#include <brush.h>
+#include <tqbrush.h>
#include <tqcolor.h>
#include <tqdom.h>
diff --git a/kivio/kiviopart/kiviosdk/kivio_py_stencil.cpp b/kivio/kiviopart/kiviosdk/kivio_py_stencil.cpp
index f966dc07..cc8eb0e3 100644
--- a/kivio/kiviopart/kiviosdk/kivio_py_stencil.cpp
+++ b/kivio/kiviopart/kiviosdk/kivio_py_stencil.cpp
@@ -25,7 +25,7 @@ KivioView *view;
#include "kivio_page.h"
#include <tqpainter.h>
-#include <brush.h>
+#include <tqbrush.h>
#include <tqcolor.h>
#include <kdebug.h>
#include <math.h>
@@ -63,7 +63,7 @@ KivioPyStencil::KivioPyStencil()
vars = Py_BuildValue( "{s:d,s:d,s:d,s:d,s:d,s:d,s:{},s:[],s:[],s:{}}",
- "x", m_x, "y", m_y, "w", m_w, "h", m_h, "x2", x2, "y2", y2 , "style","connectors","connector_targets","shapes");
+ "x", m_x, "y", m_y, "w", m_w, "h", m_h, "x2", x2, "y2", y2 , "style","connectors","connector_targets","tqshapes");
resizeCode = "";
}
@@ -406,45 +406,45 @@ void KivioPyStencil::paint( KivioIntraStencilData *d, bool outlined )
{
KoZoomHandler* zoomHandler = d->zoomHandler;
- PyObject *shapes = PyDict_Values( PyDict_GetItemString( vars, "shapes" ) );
+ PyObject *tqshapes = PyDict_Values( PyDict_GetItemString( vars, "tqshapes" ) );
- if ( !shapes ) {
+ if ( !tqshapes ) {
return;
}
- int size = PyList_Size( shapes );
+ int size = PyList_Size( tqshapes );
for ( int i=0; i<size; i++ ) {
- PyObject *shape = PyList_GetItem( shapes, i );
- if ( !PyDict_Check(shape) )
+ PyObject *tqshape = PyList_GetItem( tqshapes, i );
+ if ( !PyDict_Check(tqshape) )
continue;
int fill = KivioFillStyle::kcsNone;
- // if style dosn't defined for shape, applay default for stencil
+ // if style dosn't defined for tqshape, applay default for stencil
setStyle( d, PyDict_GetItemString( vars, "style" ) , fill );
- setStyle( d, shape, fill );
+ setStyle( d, tqshape, fill );
if ( isSelected() )
- setStyle( d, PyDict_GetItemString( shape, "selected" ) , fill );
+ setStyle( d, PyDict_GetItemString( tqshape, "selected" ) , fill );
if ( outlined )
fill = KivioFillStyle::kcsNone;
- TQString stype = getStringFromDict( shape, "type" );
+ TQString stype = getStringFromDict( tqshape, "type" );
stype = stype.lower();
- double x = zoomHandler->zoomItX(getDoubleFromDict(shape,"x"));
- double y = zoomHandler->zoomItY(getDoubleFromDict(shape,"y"));
- double w = zoomHandler->zoomItX(getDoubleFromDict(shape,"w"));
- double h = zoomHandler->zoomItY(getDoubleFromDict(shape,"h"));
- //double x2 = zoomHandler->zoomItX(getDoubleFromDict(shape,"x2"));
- //double y2 = zoomHandler->zoomItY(getDoubleFromDict(shape,"y2"));
+ double x = zoomHandler->zoomItX(getDoubleFromDict(tqshape,"x"));
+ double y = zoomHandler->zoomItY(getDoubleFromDict(tqshape,"y"));
+ double w = zoomHandler->zoomItX(getDoubleFromDict(tqshape,"w"));
+ double h = zoomHandler->zoomItY(getDoubleFromDict(tqshape,"h"));
+ //double x2 = zoomHandler->zoomItX(getDoubleFromDict(tqshape,"x2"));
+ //double y2 = zoomHandler->zoomItY(getDoubleFromDict(tqshape,"y2"));
// get points list
TQPtrList<KivioPoint> points;
points.setAutoDelete(true);
- PyObject *pyPoints = PyDict_GetItemString( shape, "points" );
+ PyObject *pyPoints = PyDict_GetItemString( tqshape, "points" );
if ( pyPoints && PyList_Check(pyPoints) ) {
int size = PyList_Size(pyPoints);
for ( int i=0; i<size; i++ ) {
@@ -470,7 +470,7 @@ void KivioPyStencil::paint( KivioIntraStencilData *d, bool outlined )
f.setPointSizeFloat(f.pointSizeFloat() * (((float)zoomHandler->zoom()) / 100.0));
d->painter->setFont( f );
- TQString text = getStringFromDict(shape,"text");
+ TQString text = getStringFromDict(tqshape,"text");
if ( !text.isEmpty() ) {
d->painter->drawText( int( x ), int( y ), int( w ), int( h ), tf | TQt::WordBreak, text );
@@ -478,14 +478,14 @@ void KivioPyStencil::paint( KivioIntraStencilData *d, bool outlined )
}
if ( stype == "arc" ) {
- double a1 = getDoubleFromDict(shape,"a1");
- double a2 = getDoubleFromDict(shape,"a2");
+ double a1 = getDoubleFromDict(tqshape,"a1");
+ double a2 = getDoubleFromDict(tqshape,"a2");
d->painter->drawArc(x,y,w,h,a1,a2);
}
if ( stype == "roundrect" ) {
- double rx = zoomHandler->zoomItX(getDoubleFromDict(shape,"rx"));
- double ry = zoomHandler->zoomItY(getDoubleFromDict(shape,"ry"));
+ double rx = zoomHandler->zoomItX(getDoubleFromDict(tqshape,"rx"));
+ double ry = zoomHandler->zoomItY(getDoubleFromDict(tqshape,"ry"));
if (fill) {
d->painter->fillRoundRect( x, y, w, h, rx, ry );
@@ -924,7 +924,7 @@ void KivioPyStencil::setLineWidth( double w )
void KivioPyStencil::setText( const TQString &s )
{
- PyObject *to = PyDict_GetItemString( PyDict_GetItemString(vars,"shapes"), "text" );
+ PyObject *to = PyDict_GetItemString( PyDict_GetItemString(vars,"tqshapes"), "text" );
if ( to )
PyDict_SetItemString(to, "text", Py_BuildValue("s", s.latin1() ));
}
@@ -932,7 +932,7 @@ void KivioPyStencil::setText( const TQString &s )
TQString KivioPyStencil::text()
{
- PyObject *to = PyDict_GetItemString( PyDict_GetItemString(vars,"shapes"), "text" );
+ PyObject *to = PyDict_GetItemString( PyDict_GetItemString(vars,"tqshapes"), "text" );
if ( to ) {
return getStringFromDict(to, "text");
}
diff --git a/kivio/kiviopart/kiviosdk/kivio_screen_painter.cpp b/kivio/kiviopart/kiviosdk/kivio_screen_painter.cpp
index 307a86e3..07f005fa 100644
--- a/kivio/kiviopart/kiviosdk/kivio_screen_painter.cpp
+++ b/kivio/kiviopart/kiviosdk/kivio_screen_painter.cpp
@@ -23,9 +23,9 @@
#include <tqimage.h>
#include <tqpen.h>
-#include <brush.h>
+#include <tqbrush.h>
#include <tqsimplerichtext.h>
-#include <palette.h>
+#include <tqpalette.h>
#include <kdebug.h>
@@ -549,7 +549,7 @@ void KivioScreenPainter::drawPolyline( TQPointArray &pArray )
m_pPainter->setPen(m_pLineStyle->pen(1.0f));
m_pPainter->setBrush( TQBrush::NoBrush );
- m_pPainter->drawPolyline( pArray, 0, pArray.size() );
+ m_pPainter->tqdrawPolyline( pArray, 0, pArray.size() );
}
void KivioScreenPainter::drawPolygon( TQPointArray &pArray )
@@ -586,7 +586,7 @@ void KivioScreenPainter::drawPolygon( TQPointArray &pArray )
m_pPainter->setPen(m_pLineStyle->pen(1.0f));
m_pPainter->setBrush(b);
- m_pPainter->drawPolygon( pArray, true );
+ m_pPainter->tqdrawPolygon( pArray, true );
m_pPainter->setBrushOrigin(0, 0);
}
diff --git a/kivio/kiviopart/kiviosdk/kivio_shape.cpp b/kivio/kiviopart/kiviosdk/kivio_shape.cpp
index 302c6547..dad8459a 100644
--- a/kivio/kiviopart/kiviosdk/kivio_shape.cpp
+++ b/kivio/kiviopart/kiviosdk/kivio_shape.cpp
@@ -44,7 +44,7 @@ KivioShape::KivioShape()
*/
KivioShape::KivioShape( const KivioShape &source )
{
- source.m_shapeData.copyInto( &m_shapeData );
+ source.m_tqshapeData.copyInto( &m_tqshapeData );
}
@@ -68,7 +68,7 @@ void KivioShape::copyInto( KivioShape *pTarget ) const
if( !pTarget )
return;
- m_shapeData.copyInto( &(pTarget->m_shapeData) );
+ m_tqshapeData.copyInto( &(pTarget->m_tqshapeData) );
}
@@ -84,13 +84,13 @@ bool KivioShape::loadXML( const TQDomElement &e )
TQDomNode node = e.firstChild();
TQString name = XmlReadString( e, "name", "" );
- m_shapeData.setName( name );
- m_shapeData.setShapeType( (KivioShapeData::KivioShapeType)XmlReadInt( e, "shapeType", -1 ));
+ m_tqshapeData.setName( name );
+ m_tqshapeData.setShapeType( (KivioShapeData::KivioShapeType)XmlReadInt( e, "tqshapeType", -1 ));
- if( m_shapeData.name().isEmpty() ||
- m_shapeData.shapeType() == -1 )
+ if( m_tqshapeData.name().isEmpty() ||
+ m_tqshapeData.tqshapeType() == -1 )
{
- kdWarning(43000) << "-LOAD KivioShape::loadXML() - Unknown shape or bad name read. Shape load aborted." << endl;
+ kdWarning(43000) << "-LOAD KivioShape::loadXML() - Unknown tqshape or bad name read. Shape load aborted." << endl;
return false;
}
@@ -101,7 +101,7 @@ bool KivioShape::loadXML( const TQDomElement &e )
if( nodeName == "KivioShapeData" )
{
- m_shapeData.loadXML( ele );
+ m_tqshapeData.loadXML( ele );
}
node = node.nextSibling();
@@ -120,17 +120,17 @@ TQDomElement KivioShape::saveXML( TQDomDocument &doc )
{
TQDomElement e = doc.createElement("KivioShape");
- XmlWriteString( e, "name", m_shapeData.m_name );
- XmlWriteInt( e, "shapeType", m_shapeData.m_shapeType );
+ XmlWriteString( e, "name", m_tqshapeData.m_name );
+ XmlWriteInt( e, "tqshapeType", m_tqshapeData.m_tqshapeType );
- e.appendChild( m_shapeData.saveXML( doc ) );
+ e.appendChild( m_tqshapeData.saveXML( doc ) );
return e;
}
/**
- * Loads a shape of type arc
+ * Loads a tqshape of type arc
*
* @param e The element to load from
* @returns A newly allocated KivioShape, or NULL on error.
@@ -144,7 +144,7 @@ KivioShape *KivioShape::loadShapeArc( const TQDomElement & )
/**
- * Loads a shape of type closed-path.
+ * Loads a tqshape of type closed-path.
*
* @param e The element to load from.
* @returns A newly allocated KivioShape, or NULL on error.
@@ -157,12 +157,12 @@ KivioShape *KivioShape::loadShapeClosedPath( const TQDomElement &e )
TQString nodeName;
- // Create the new shape to load into
+ // Create the new tqshape to load into
pShape = new KivioShape();
// Load the type, name, and lineWidth properties
- pShape->m_shapeData.m_shapeType = KivioShapeData::kstClosedPath;
- pShape->m_shapeData.m_name = XmlReadString( e, "name", "" );
+ pShape->m_tqshapeData.m_tqshapeType = KivioShapeData::kstClosedPath;
+ pShape->m_tqshapeData.m_name = XmlReadString( e, "name", "" );
// Iterate through the nodes loading the various items
node = e.firstChild();
@@ -176,16 +176,16 @@ KivioShape *KivioShape::loadShapeClosedPath( const TQDomElement &e )
// Allocate a new point, load it, and store it in the list
pPoint = new KivioPoint(0.0f, 0.0f, KivioPoint::kptBezier);
pPoint->loadXML( node.toElement() );
- pShape->m_shapeData.m_pOriginalPointList->append( pPoint );
+ pShape->m_tqshapeData.m_pOriginalPointList->append( pPoint );
pPoint = NULL;
}
else if( nodeName == "KivioFillStyle" )
{
- pShape->m_shapeData.m_pFillStyle->loadXML( node.toElement() );
+ pShape->m_tqshapeData.m_pFillStyle->loadXML( node.toElement() );
}
else if( nodeName == "KivioLineStyle" )
{
- pShape->m_shapeData.m_pLineStyle->loadXML( node.toElement() );
+ pShape->m_tqshapeData.m_pLineStyle->loadXML( node.toElement() );
}
node = node.nextSibling();
@@ -196,7 +196,7 @@ KivioShape *KivioShape::loadShapeClosedPath( const TQDomElement &e )
/**
- * Loads a shape of type bezier
+ * Loads a tqshape of type bezier
*
* @param e The element to load from.
* @returns A newly allocated KivioShape, or NULL on error.
@@ -209,12 +209,12 @@ KivioShape *KivioShape::loadShapeBezier( const TQDomElement &e )
TQString nodeName;
- // Create the new shape to load into
+ // Create the new tqshape to load into
pShape = new KivioShape();
// Load the type, name, and lineWidth properties
- pShape->m_shapeData.m_shapeType = KivioShapeData::kstBezier;
- pShape->m_shapeData.m_name = XmlReadString( e, "name", "" );
+ pShape->m_tqshapeData.m_tqshapeType = KivioShapeData::kstBezier;
+ pShape->m_tqshapeData.m_name = XmlReadString( e, "name", "" );
// Iterate through the nodes loading the various items
node = e.firstChild();
@@ -230,25 +230,25 @@ KivioShape *KivioShape::loadShapeBezier( const TQDomElement &e )
pPoint->loadXML( node.toElement() );
if( pPoint->pointType() != KivioPoint::kptBezier )
{
- kdDebug(43000) << "KivioShape::loadShapeBezier() - Non-bezier point found. Aborting shape." << endl;
+ kdDebug(43000) << "KivioShape::loadShapeBezier() - Non-bezier point found. Aborting tqshape." << endl;
delete pPoint;
delete pShape;
return NULL;
}
- pShape->m_shapeData.m_pOriginalPointList->append( pPoint );
+ pShape->m_tqshapeData.m_pOriginalPointList->append( pPoint );
pPoint = NULL;
}
else if( nodeName == "KivioLineStyle" )
{
- pShape->m_shapeData.m_pLineStyle->loadXML( node.toElement() );
+ pShape->m_tqshapeData.m_pLineStyle->loadXML( node.toElement() );
}
node = node.nextSibling();
}
- if( pShape->m_shapeData.m_pOriginalPointList->count() != 4 )
+ if( pShape->m_tqshapeData.m_pOriginalPointList->count() != 4 )
{
- kdDebug(43000) << "KivioShape::loadShapeBezier() - Wrong number of points loaded, should be 4, shape aborted" << endl;
+ kdDebug(43000) << "KivioShape::loadShapeBezier() - Wrong number of points loaded, should be 4, tqshape aborted" << endl;
delete pShape;
return NULL;
}
@@ -258,7 +258,7 @@ KivioShape *KivioShape::loadShapeBezier( const TQDomElement &e )
/**
- * Loads a shape of type ellipse.
+ * Loads a tqshape of type ellipse.
*
* @param e The element to load from.
* @returns A newly allocated KivioShape, or NULL on error.
@@ -270,15 +270,15 @@ KivioShape *KivioShape::loadShapeEllipse( const TQDomElement &e )
TQString nodeName;
- // Create the new shape to load into
+ // Create the new tqshape to load into
pShape = new KivioShape();
// Load the type, name, and lineWidth properties
- pShape->m_shapeData.m_shapeType = KivioShapeData::kstEllipse;
- pShape->m_shapeData.m_name = XmlReadString( e, "name", "" );
+ pShape->m_tqshapeData.m_tqshapeType = KivioShapeData::kstEllipse;
+ pShape->m_tqshapeData.m_name = XmlReadString( e, "name", "" );
- pShape->m_shapeData.m_position.set( XmlReadFloat( e, "x", 0.0f ), XmlReadFloat( e, "y", 0.0f ) );
- pShape->m_shapeData.m_dimensions.set( XmlReadFloat( e, "w", 0.0f ), XmlReadFloat( e, "h", 0.0f ) );
+ pShape->m_tqshapeData.m_position.set( XmlReadFloat( e, "x", 0.0f ), XmlReadFloat( e, "y", 0.0f ) );
+ pShape->m_tqshapeData.m_dimensions.set( XmlReadFloat( e, "w", 0.0f ), XmlReadFloat( e, "h", 0.0f ) );
// Iterate through the nodes loading the various items
node = e.firstChild();
@@ -288,11 +288,11 @@ KivioShape *KivioShape::loadShapeEllipse( const TQDomElement &e )
if( nodeName == "KivioFillStyle" )
{
- pShape->m_shapeData.m_pFillStyle->loadXML( node.toElement() );
+ pShape->m_tqshapeData.m_pFillStyle->loadXML( node.toElement() );
}
else if( nodeName == "KivioLineStyle" )
{
- pShape->m_shapeData.m_pLineStyle->loadXML( node.toElement() );
+ pShape->m_tqshapeData.m_pLineStyle->loadXML( node.toElement() );
}
node = node.nextSibling();
@@ -303,7 +303,7 @@ KivioShape *KivioShape::loadShapeEllipse( const TQDomElement &e )
/**
- * Loads a shape of type line-array.
+ * Loads a tqshape of type line-array.
*
* @param e The element to load from.
* @returns A newly allocated KivioShape, or NULL on error.
@@ -317,12 +317,12 @@ KivioShape *KivioShape::loadShapeLineArray( const TQDomElement &e )
TQDomElement lineElement;
- // Create the new shape to load into
+ // Create the new tqshape to load into
pShape = new KivioShape();
// Load the type, name, and lineWidth properties
- pShape->m_shapeData.m_shapeType = KivioShapeData::kstLineArray;
- pShape->m_shapeData.m_name = XmlReadString( e, "name", "" );
+ pShape->m_tqshapeData.m_tqshapeType = KivioShapeData::kstLineArray;
+ pShape->m_tqshapeData.m_name = XmlReadString( e, "name", "" );
// Iterate through the nodes loading the various items
node = e.firstChild();
@@ -337,14 +337,14 @@ KivioShape *KivioShape::loadShapeLineArray( const TQDomElement &e )
// Allocate a new point, load it, and store it in the list
pPoint = new KivioPoint( XmlReadFloat( lineElement, "x1", 0.0f ), XmlReadFloat( lineElement, "y1", 0.0f ) );
- pShape->m_shapeData.m_pOriginalPointList->append( pPoint );
+ pShape->m_tqshapeData.m_pOriginalPointList->append( pPoint );
pPoint = new KivioPoint( XmlReadFloat( lineElement, "x2", 0.0f ), XmlReadFloat( lineElement, "y2", 0.0f ) );
- pShape->m_shapeData.m_pOriginalPointList->append( pPoint );
+ pShape->m_tqshapeData.m_pOriginalPointList->append( pPoint );
pPoint = NULL;
}
else if( nodeName == "KivioLineStyle" )
{
- pShape->m_shapeData.m_pLineStyle->loadXML( node.toElement() );
+ pShape->m_tqshapeData.m_pLineStyle->loadXML( node.toElement() );
}
node = node.nextSibling();
@@ -355,7 +355,7 @@ KivioShape *KivioShape::loadShapeLineArray( const TQDomElement &e )
/**
- * Loads a shape of type open-path.
+ * Loads a tqshape of type open-path.
*
* @param e The element to load from.
* @returns A newly allocated KivioShape, or NULL on error.
@@ -368,12 +368,12 @@ KivioShape *KivioShape::loadShapeOpenPath( const TQDomElement &e )
TQString nodeName;
- // Create the new shape to load into
+ // Create the new tqshape to load into
pShape = new KivioShape();
// Load the type, name, and lineWidth properties
- pShape->m_shapeData.m_shapeType = KivioShapeData::kstOpenPath;
- pShape->m_shapeData.m_name = XmlReadString( e, "name", "" );
+ pShape->m_tqshapeData.m_tqshapeType = KivioShapeData::kstOpenPath;
+ pShape->m_tqshapeData.m_name = XmlReadString( e, "name", "" );
// Iterate through the nodes loading the various items
node = e.firstChild();
@@ -387,12 +387,12 @@ KivioShape *KivioShape::loadShapeOpenPath( const TQDomElement &e )
// Allocate a new point, load it, and store it in the list
pPoint = new KivioPoint(0.0f, 0.0f, KivioPoint::kptBezier);
pPoint->loadXML( node.toElement() );
- pShape->m_shapeData.m_pOriginalPointList->append( pPoint );
+ pShape->m_tqshapeData.m_pOriginalPointList->append( pPoint );
pPoint = NULL;
}
else if( nodeName == "KivioLineStyle" )
{
- pShape->m_shapeData.m_pLineStyle->loadXML( node.toElement() );
+ pShape->m_tqshapeData.m_pLineStyle->loadXML( node.toElement() );
}
node = node.nextSibling();
@@ -403,7 +403,7 @@ KivioShape *KivioShape::loadShapeOpenPath( const TQDomElement &e )
/**
- * Loads a shape of type pie.
+ * Loads a tqshape of type pie.
*
* @param e The element to load from.
* @returns A newly allocated KivioShape, or NULL on error.
@@ -417,7 +417,7 @@ KivioShape *KivioShape::loadShapePie( const TQDomElement & )
/**
- * Loads a shape of type polygon.
+ * Loads a tqshape of type polygon.
*
* @param e The element to load from.
* @returns A newly allocated KivioShape, or NULL on error.
@@ -430,12 +430,12 @@ KivioShape *KivioShape::loadShapePolygon( const TQDomElement &e )
TQString nodeName;
- // Create the new shape to load into
+ // Create the new tqshape to load into
pShape = new KivioShape();
// Load the type, name, and lineWidth properties
- pShape->m_shapeData.m_shapeType = KivioShapeData::kstPolygon;
- pShape->m_shapeData.m_name = XmlReadString( e, "name", "" );
+ pShape->m_tqshapeData.m_tqshapeType = KivioShapeData::kstPolygon;
+ pShape->m_tqshapeData.m_name = XmlReadString( e, "name", "" );
// Iterate through the nodes loading the various items
node = e.firstChild();
@@ -449,16 +449,16 @@ KivioShape *KivioShape::loadShapePolygon( const TQDomElement &e )
// Allocate a new point, load it, and store it in the list
pPoint = new KivioPoint();
pPoint->loadXML( node.toElement() );
- pShape->m_shapeData.m_pOriginalPointList->append( pPoint );
+ pShape->m_tqshapeData.m_pOriginalPointList->append( pPoint );
pPoint = NULL;
}
else if( nodeName == "KivioFillStyle" )
{
- pShape->m_shapeData.m_pFillStyle->loadXML( node.toElement() );
+ pShape->m_tqshapeData.m_pFillStyle->loadXML( node.toElement() );
}
else if( nodeName == "KivioLineStyle" )
{
- pShape->m_shapeData.m_pLineStyle->loadXML( node.toElement() );
+ pShape->m_tqshapeData.m_pLineStyle->loadXML( node.toElement() );
}
node = node.nextSibling();
@@ -469,7 +469,7 @@ KivioShape *KivioShape::loadShapePolygon( const TQDomElement &e )
/**
- * Loads a shape of type polyline.
+ * Loads a tqshape of type polyline.
*
* @param e The element to load from.
* @returns A newly allocated KivioShape, or NULL on error.
@@ -482,12 +482,12 @@ KivioShape *KivioShape::loadShapePolyline( const TQDomElement &e )
TQString nodeName;
- // Create the new shape to load into
+ // Create the new tqshape to load into
pShape = new KivioShape();
// Load the type, name, and lineWidth properties
- pShape->m_shapeData.m_shapeType = KivioShapeData::kstPolyline;
- pShape->m_shapeData.m_name = XmlReadString( e, "name", "" );
+ pShape->m_tqshapeData.m_tqshapeType = KivioShapeData::kstPolyline;
+ pShape->m_tqshapeData.m_name = XmlReadString( e, "name", "" );
// Iterate through the nodes loading the various items
node = e.firstChild();
@@ -501,12 +501,12 @@ KivioShape *KivioShape::loadShapePolyline( const TQDomElement &e )
// Allocate a new point, load it, and store it in the list
pPoint = new KivioPoint();
pPoint->loadXML( node.toElement() );
- pShape->m_shapeData.m_pOriginalPointList->append( pPoint );
+ pShape->m_tqshapeData.m_pOriginalPointList->append( pPoint );
pPoint = NULL;
}
else if( nodeName == "KivioLineStyle" )
{
- pShape->m_shapeData.m_pLineStyle->loadXML( node.toElement() );
+ pShape->m_tqshapeData.m_pLineStyle->loadXML( node.toElement() );
}
node = node.nextSibling();
@@ -517,7 +517,7 @@ KivioShape *KivioShape::loadShapePolyline( const TQDomElement &e )
/**
- * Loads a shape of type rectangle.
+ * Loads a tqshape of type rectangle.
*
* @param e The element to load from.
* @returns A newly allocated KivioShape, or NULL on error.
@@ -529,15 +529,15 @@ KivioShape *KivioShape::loadShapeRectangle( const TQDomElement &e )
TQString nodeName;
- // Create the new shape to load into
+ // Create the new tqshape to load into
pShape = new KivioShape();
// Load the type, name, and lineWidth properties
- pShape->m_shapeData.m_shapeType = KivioShapeData::kstRectangle;
- pShape->m_shapeData.m_name = XmlReadString( e, "name", "" );
+ pShape->m_tqshapeData.m_tqshapeType = KivioShapeData::kstRectangle;
+ pShape->m_tqshapeData.m_name = XmlReadString( e, "name", "" );
- pShape->m_shapeData.m_position.set( XmlReadFloat( e, "x", 0.0f ), XmlReadFloat( e, "y", 0.0f ) );
- pShape->m_shapeData.m_dimensions.set( XmlReadFloat( e, "w", 72.0f ), XmlReadFloat( e, "h", 72.0f ) );
+ pShape->m_tqshapeData.m_position.set( XmlReadFloat( e, "x", 0.0f ), XmlReadFloat( e, "y", 0.0f ) );
+ pShape->m_tqshapeData.m_dimensions.set( XmlReadFloat( e, "w", 72.0f ), XmlReadFloat( e, "h", 72.0f ) );
// Iterate through the nodes loading the various items
node = e.firstChild();
@@ -548,11 +548,11 @@ KivioShape *KivioShape::loadShapeRectangle( const TQDomElement &e )
// Read the fill style
if( nodeName == "KivioFillStyle" )
{
- pShape->m_shapeData.m_pFillStyle->loadXML( node.toElement() );
+ pShape->m_tqshapeData.m_pFillStyle->loadXML( node.toElement() );
}
else if( nodeName == "KivioLineStyle" )
{
- pShape->m_shapeData.m_pLineStyle->loadXML( node.toElement() );
+ pShape->m_tqshapeData.m_pLineStyle->loadXML( node.toElement() );
}
node = node.nextSibling();
@@ -564,7 +564,7 @@ KivioShape *KivioShape::loadShapeRectangle( const TQDomElement &e )
/**
- * Loads a shape of type round rectangle.
+ * Loads a tqshape of type round rectangle.
*
* @param e The element to load from.
* @returns A newly allocated KivioShape, or NULL on error.
@@ -577,20 +577,20 @@ KivioShape *KivioShape::loadShapeRoundRectangle( const TQDomElement &e )
TQString nodeName;
- // Create the new shape to load into
+ // Create the new tqshape to load into
pShape = new KivioShape();
// Load the type, name, and lineWidth properties
- pShape->m_shapeData.m_shapeType = KivioShapeData::kstRoundRectangle;
- pShape->m_shapeData.m_name = XmlReadString( e, "name", "" );
+ pShape->m_tqshapeData.m_tqshapeType = KivioShapeData::kstRoundRectangle;
+ pShape->m_tqshapeData.m_name = XmlReadString( e, "name", "" );
- pShape->m_shapeData.m_position.set( XmlReadFloat( e, "x", 0.0f ), XmlReadFloat( e, "y", 0.0f ) );
- pShape->m_shapeData.m_dimensions.set( XmlReadFloat( e, "w", 72.0f ), XmlReadFloat( e, "h", 72.0f ) );
+ pShape->m_tqshapeData.m_position.set( XmlReadFloat( e, "x", 0.0f ), XmlReadFloat( e, "y", 0.0f ) );
+ pShape->m_tqshapeData.m_dimensions.set( XmlReadFloat( e, "w", 72.0f ), XmlReadFloat( e, "h", 72.0f ) );
// Read and store the radii of the curves
pPoint = new KivioPoint(0.0f, 0.0f);
pPoint->set( XmlReadFloat( e, "r1", 1.0f ), XmlReadFloat( e, "r2", 1.0f ) );
- pShape->m_shapeData.m_pOriginalPointList->append( pPoint );
+ pShape->m_tqshapeData.m_pOriginalPointList->append( pPoint );
// Iterate through the nodes loading the various items
node = e.firstChild();
@@ -601,11 +601,11 @@ KivioShape *KivioShape::loadShapeRoundRectangle( const TQDomElement &e )
// Read the fill style
if( nodeName == "KivioFillStyle" )
{
- pShape->m_shapeData.m_pFillStyle->loadXML( node.toElement() );
+ pShape->m_tqshapeData.m_pFillStyle->loadXML( node.toElement() );
}
else if( nodeName == "KivioLineStyle" )
{
- pShape->m_shapeData.m_pLineStyle->loadXML( node.toElement() );
+ pShape->m_tqshapeData.m_pLineStyle->loadXML( node.toElement() );
}
node = node.nextSibling();
@@ -616,7 +616,7 @@ KivioShape *KivioShape::loadShapeRoundRectangle( const TQDomElement &e )
/**
- * Loads a shape of type textbox.
+ * Loads a tqshape of type textbox.
*
* @param e The element to load from.
* @returns A newly allocated KivioShape, or NULL on error.
@@ -630,17 +630,17 @@ KivioShape *KivioShape::loadShapeTextBox( const TQDomElement &e )
TQString name;
- // Create the new shape to load into
+ // Create the new tqshape to load into
pShape = new KivioShape();
// Load the type and name
- pShape->m_shapeData.setShapeType(KivioShapeData::kstTextBox);
- pShape->m_shapeData.setName( XmlReadString( e, "name", "" ) );
- pShape->m_shapeData.setTextColor(XmlReadColor(e,"color",TQColor(0,0,0)));
+ pShape->m_tqshapeData.setShapeType(KivioShapeData::kstTextBox);
+ pShape->m_tqshapeData.setName( XmlReadString( e, "name", "" ) );
+ pShape->m_tqshapeData.setTextColor(XmlReadColor(e,"color",TQColor(0,0,0)));
- pShape->m_shapeData.m_position.set(
+ pShape->m_tqshapeData.m_position.set(
XmlReadFloat( e, "x", 0.0f ), XmlReadFloat( e, "y", 0.0f ) );
- pShape->m_shapeData.m_dimensions.set(
+ pShape->m_tqshapeData.m_dimensions.set(
XmlReadFloat( e, "w", 72.0f ), XmlReadFloat( e, "h", 72.0f ) );
// Now look for the KivioTextStyle
@@ -651,13 +651,13 @@ KivioShape *KivioShape::loadShapeTextBox( const TQDomElement &e )
if( nodeName == "KivioTextStyle" )
{
ts.loadXML( node.toElement() );
- pShape->m_shapeData.setTextStyle( &ts );
+ pShape->m_tqshapeData.setTextStyle( &ts );
}
node = node.nextSibling();
}
// TQString text = XmlReadString( e, "text", "" );
-// pShape->m_shapeData.setText( text );
+// pShape->m_tqshapeData.setText( text );
return pShape;
diff --git a/kivio/kiviopart/kiviosdk/kivio_shape.h b/kivio/kiviopart/kiviosdk/kivio_shape.h
index 42adfed6..c83607d7 100644
--- a/kivio/kiviopart/kiviosdk/kivio_shape.h
+++ b/kivio/kiviopart/kiviosdk/kivio_shape.h
@@ -26,7 +26,7 @@
class KivioShape
{
protected:
- KivioShapeData m_shapeData; // The data inside this shape
+ KivioShapeData m_tqshapeData; // The data inside this tqshape
public:
KivioShape();
@@ -39,9 +39,9 @@ public:
bool loadXML( const TQDomElement & );
TQDomElement saveXML( TQDomDocument & );
- KivioShapeData::KivioShapeType shapeType() { return m_shapeData.shapeType(); }
+ KivioShapeData::KivioShapeType tqshapeType() { return m_tqshapeData.tqshapeType(); }
- KivioShapeData *shapeData() { return &m_shapeData; }
+ KivioShapeData *tqshapeData() { return &m_tqshapeData; }
static KivioShape *loadShapeArc( const TQDomElement & );
static KivioShape *loadShapeClosedPath( const TQDomElement & );
diff --git a/kivio/kiviopart/kiviosdk/kivio_shape_data.cpp b/kivio/kiviopart/kiviosdk/kivio_shape_data.cpp
index 431d7987..5305fe13 100644
--- a/kivio/kiviopart/kiviosdk/kivio_shape_data.cpp
+++ b/kivio/kiviopart/kiviosdk/kivio_shape_data.cpp
@@ -27,7 +27,7 @@
#include <kdebug.h>
/*
- * Struct for holding information about a shape type
+ * Struct for holding information about a tqshape type
*/
struct KivioShapeTypeInfo
{
@@ -36,10 +36,10 @@ struct KivioShapeTypeInfo
};
/*
- * Array of shape info used for loading/saving.
+ * Array of tqshape info used for loading/saving.
*/
static const int numShapeInfo = 12;
-static struct KivioShapeTypeInfo shapeInfo[] = {
+static struct KivioShapeTypeInfo tqshapeInfo[] = {
{ "Arc", KivioShapeData::kstArc },
{ "Pie", KivioShapeData::kstPie },
{ "LineArray", KivioShapeData::kstLineArray },
@@ -84,7 +84,7 @@ KivioShapeData::KivioShapeData()
m_pLineStyle = new KivioLineStyle();
// m_fgColor = TQColor( 0, 0, 0 );
- m_shapeType = kstNone;
+ m_tqshapeType = kstNone;
m_name = "";
// m_lineWidth = 1.0f;
@@ -119,7 +119,7 @@ KivioShapeData::KivioShapeData( const KivioShapeData &source )
//m_fgColor = source.m_fgColor;
// Copy the rest
- m_shapeType = source.m_shapeType;
+ m_tqshapeType = source.m_tqshapeType;
m_name = TQString(source.m_name);
//m_lineWidth = source.m_lineWidth;
@@ -127,8 +127,8 @@ KivioShapeData::KivioShapeData( const KivioShapeData &source )
source.m_position.copyInto( &m_position );
source.m_dimensions.copyInto( &m_dimensions );
- // If this is a text shape, allocate a text data struct and copy the info
- if( m_shapeType == kstTextBox )
+ // If this is a text tqshape, allocate a text data struct and copy the info
+ if( m_tqshapeType == kstTextBox )
{
m_pTextData = new KivioTextStyle();
@@ -208,7 +208,7 @@ void KivioShapeData::copyInto( KivioShapeData *pTarget ) const
//pTarget->m_fgColor = m_fgColor;
// Copy the rest
- pTarget->m_shapeType = m_shapeType;
+ pTarget->m_tqshapeType = m_tqshapeType;
pTarget->m_name = TQString(m_name);
//pTarget->m_lineWidth = m_lineWidth;
@@ -217,7 +217,7 @@ void KivioShapeData::copyInto( KivioShapeData *pTarget ) const
// If this is a textbox, allocate & copy
- if( m_shapeType == kstTextBox )
+ if( m_tqshapeType == kstTextBox )
{
if( !pTarget->m_pTextData )
{
@@ -283,7 +283,7 @@ bool KivioShapeData::loadXML( const TQDomElement &e )
{
// First make sure we are a text box
- if( m_shapeType == kstTextBox )
+ if( m_tqshapeType == kstTextBox )
{
// If we don't have text data, allocate it
if( !m_pTextData )
@@ -291,12 +291,12 @@ bool KivioShapeData::loadXML( const TQDomElement &e )
m_pTextData->loadXML( ele );
- } // end if m_shapeType==kstTextBox
+ } // end if m_tqshapeType==kstTextBox
}
else if( nodeName == "KivioText" )
{
// First make sure we are a text box
- if( m_shapeType == kstTextBox )
+ if( m_tqshapeType == kstTextBox )
{
KivioTextShapeData *pData = new KivioTextShapeData;
@@ -338,7 +338,7 @@ bool KivioShapeData::loadXML( const TQDomElement &e )
m_pTextData->setFont( pData->m_textFont );
m_pTextData->setColor( pData->m_textColor );
- } // end if m_shapeType==kstTextBox
+ } // end if m_tqshapeType==kstTextBox
else
{
kdDebug(43000) << "KivioShapeData::loadXML() - Loading KivioText, but this is not a textbox!" << endl;
@@ -385,7 +385,7 @@ TQDomElement KivioShapeData::saveXML( TQDomDocument &doc )
// Save if we are a text box etc...
- if( m_shapeType == kstTextBox )
+ if( m_tqshapeType == kstTextBox )
{
if( m_pTextData )
{
@@ -420,21 +420,21 @@ TQDomElement KivioShapeData::saveXML( TQDomDocument &doc )
// The BGFillStyle
e.appendChild( m_pFillStyle->saveXML( doc ) );
- // Shape type & name are stored in the shape node
- //XmlWriteInt( e, "shapeType", m_shapeType );
+ // Shape type & name are stored in the tqshape node
+ //XmlWriteInt( e, "tqshapeType", m_tqshapeType );
//XmlWriteString( e, "name", m_name );
return e;
}
-KivioShapeData::KivioShapeType KivioShapeData::shapeTypeFromString( const TQString &str )
+KivioShapeData::KivioShapeType KivioShapeData::tqshapeTypeFromString( const TQString &str )
{
for( int i=0; i<numShapeInfo; i++ )
{
- if( str.compare( shapeInfo[i].name )==0 )
- return shapeInfo[i].type;
+ if( str.compare( tqshapeInfo[i].name )==0 )
+ return tqshapeInfo[i].type;
}
return kstNone;
@@ -442,7 +442,7 @@ KivioShapeData::KivioShapeType KivioShapeData::shapeTypeFromString( const TQStri
void KivioShapeData::setShapeType( KivioShapeType st )
{
- m_shapeType = st;
+ m_tqshapeType = st;
// If it is a text box, make sure we have text data
if( st == kstTextBox )
diff --git a/kivio/kiviopart/kiviosdk/kivio_shape_data.h b/kivio/kiviopart/kiviosdk/kivio_shape_data.h
index bd89dcc8..f97e5ec9 100644
--- a/kivio/kiviopart/kiviosdk/kivio_shape_data.h
+++ b/kivio/kiviopart/kiviosdk/kivio_shape_data.h
@@ -36,11 +36,11 @@ class KivioTextShapeData
public:
KivioTextShapeData();
- TQString m_text; // The text inside this shape
+ TQString m_text; // The text inside this tqshape
TQColor m_textColor; // The text color
TQFont m_textFont; // The text font
bool m_isHtml; // Is the text HTML formatted?
- int m_hTextAlign, m_vTextAlign; //Qt::Horizontal and vertical text alignment flags
+ int m_hTextAlign, m_vTextAlign; //Qt::Horizontal and vertical text tqalignment flags
};
/**
@@ -52,7 +52,7 @@ class KivioShapeData
{
public:
/**
- * The possible shape types.
+ * The possible tqshape types.
*/
typedef enum {
kstNone = 0,
@@ -75,7 +75,7 @@ protected:
TQPtrList <KivioPoint> *m_pOriginalPointList; // Original point list loaded from an SML file
- KivioShapeType m_shapeType; // The shape type
+ KivioShapeType m_tqshapeType; // The tqshape type
KivioPoint m_position, m_dimensions; // The position and dimensions
KivioFillStyle *m_pFillStyle; // The fill style
@@ -83,7 +83,7 @@ protected:
// float m_lineWidth; // The line width
KivioLineStyle *m_pLineStyle;
- TQString m_name; // The name of this shape
+ TQString m_name; // The name of this tqshape
KivioTextStyle *m_pTextData; // A pointer to text data (if applicable, e.g. TextBox)
@@ -98,10 +98,10 @@ public:
virtual TQDomElement saveXML( TQDomDocument & );
- KivioShapeType shapeType() const { return m_shapeType; }
+ KivioShapeType tqshapeType() const { return m_tqshapeType; }
void setShapeType( KivioShapeType st );
- static KivioShapeType shapeTypeFromString( const TQString & );
+ static KivioShapeType tqshapeTypeFromString( const TQString & );
TQPtrList<KivioPoint> *pointList() { return m_pOriginalPointList; }
diff --git a/kivio/kiviopart/kiviosdk/kivio_shape_painter.cpp b/kivio/kiviopart/kiviosdk/kivio_shape_painter.cpp
index f1ca2c8f..fbdad979 100644
--- a/kivio/kiviopart/kiviosdk/kivio_shape_painter.cpp
+++ b/kivio/kiviopart/kiviosdk/kivio_shape_painter.cpp
@@ -37,9 +37,9 @@ void KivioShapePainter::drawShape( KivioShape *pShape, float x, float y, float w
m_pShape = pShape;
- pShapeData = pShape->shapeData();
+ pShapeData = pShape->tqshapeData();
- switch( pShapeData->shapeType() )
+ switch( pShapeData->tqshapeType() )
{
case KivioShapeData::kstArc:
drawArc();
diff --git a/kivio/kiviopart/kiviosdk/kivio_sml_stencil.cpp b/kivio/kiviopart/kiviosdk/kivio_sml_stencil.cpp
index 035ede78..6f00df1a 100644
--- a/kivio/kiviopart/kiviosdk/kivio_sml_stencil.cpp
+++ b/kivio/kiviopart/kiviosdk/kivio_sml_stencil.cpp
@@ -37,9 +37,9 @@
#include <tqdom.h>
#include <tqpainter.h>
-#include <brush.h>
+#include <tqbrush.h>
#include <tqcolor.h>
-#include <palette.h>
+#include <tqpalette.h>
#include <tqrect.h>
#include <tqbitmap.h>
#include <kdebug.h>
@@ -50,7 +50,7 @@
/**
* Default constructor
*
- * Allocates a new shape list, connector targets, and original connector targets.
+ * Allocates a new tqshape list, connector targets, and original connector targets.
*/
KivioSMLStencil::KivioSMLStencil()
: KivioStencil(),
@@ -111,7 +111,7 @@ bool KivioSMLStencil::loadXML( const TQDomElement &e )
}
else if( nodeName == "KivioShape" )
{
- // Locate the shape we are supposed to load into
+ // Locate the tqshape we are supposed to load into
KivioShape *pShape = locateShape( XmlReadString( ele, "name", "" ) );
if(pShape) {
@@ -173,7 +173,7 @@ void KivioSMLStencil::loadConnectorTargetListXML( const TQDomElement &e )
/**
- * Locates a shape in the shape list by name.
+ * Locates a tqshape in the tqshape list by name.
*/
KivioShape *KivioSMLStencil::locateShape( const TQString &name )
{
@@ -185,7 +185,7 @@ KivioShape *KivioSMLStencil::locateShape( const TQString &name )
pShape = m_pShapeList->first();
while( pShape )
{
- if( pShape->shapeData()->name() == name )
+ if( pShape->tqshapeData()->name() == name )
{
return pShape;
}
@@ -233,7 +233,7 @@ TQDomElement KivioSMLStencil::saveXML( TQDomDocument &doc )
}
e.appendChild( clE );
- // The shape list
+ // The tqshape list
KivioShape *pShape = m_pShapeList->first();
while( pShape )
{
@@ -268,7 +268,7 @@ KivioStencil *KivioSMLStencil::duplicate()
pNewStencil->m_pSpawner = m_pSpawner;
- // Copy the shape list
+ // Copy the tqshape list
pShape = m_pShapeList->first();
while( pShape )
{
@@ -313,9 +313,9 @@ void KivioSMLStencil::paintOutline( KivioIntraStencilData *pData )
pShape = m_pShapeList->first();
while( pShape )
{
- pShapeData = pShape->shapeData();
+ pShapeData = pShape->tqshapeData();
- switch( pShapeData->shapeType() )
+ switch( pShapeData->tqshapeType() )
{
case KivioShapeData::kstArc:
drawOutlineArc( pShape, pData );
@@ -396,7 +396,7 @@ void KivioSMLStencil::drawOutlineArc( KivioShape *pShape, KivioIntraStencilData
KivioPoint *pPosition, *pDimensions;
KivioPoint *pPoint;
- pShapeData = pShape->shapeData();
+ pShapeData = pShape->tqshapeData();
pPosition = pShapeData->position();
pDimensions = pShapeData->dimensions();
@@ -420,14 +420,14 @@ void KivioSMLStencil::drawOutlineArc( KivioShape *pShape, KivioIntraStencilData
void KivioSMLStencil::drawOutlineBezier( KivioShape *pShape, KivioIntraStencilData *pData )
{
KivioPainter *painter;
- KivioShapeData *pShapeData = pShape->shapeData();
+ KivioShapeData *pShapeData = pShape->tqshapeData();
double defWidth = m_pSpawner->defWidth();
double defHeight = m_pSpawner->defHeight();
painter = pData->painter;
- pShapeData = pShape->shapeData();
+ pShapeData = pShape->tqshapeData();
KivioPoint *pPoint, *pPoint2, *pPoint3, *pPoint4;
TQPtrList <KivioPoint> *pPointList = pShapeData->pointList();
@@ -456,7 +456,7 @@ void KivioSMLStencil::drawOutlineBezier( KivioShape *pShape, KivioIntraStencilDa
void KivioSMLStencil::drawOutlineOpenPath( KivioShape *pShape, KivioIntraStencilData *pData )
{
KivioPainter *painter;
- KivioShapeData *pShapeData = pShape->shapeData();
+ KivioShapeData *pShapeData = pShape->tqshapeData();
KivioPoint *pPoint, *pNewPoint;
double defWidth = m_pSpawner->defWidth();
@@ -487,7 +487,7 @@ void KivioSMLStencil::drawOutlineOpenPath( KivioShape *pShape, KivioIntraStencil
void KivioSMLStencil::drawOutlineClosedPath( KivioShape *pShape, KivioIntraStencilData *pData )
{
KivioPainter *painter;
- KivioShapeData *pShapeData = pShape->shapeData();
+ KivioShapeData *pShapeData = pShape->tqshapeData();
KivioPoint *pPoint, *pNewPoint;
double defWidth = m_pSpawner->defWidth();
@@ -521,7 +521,7 @@ void KivioSMLStencil::drawOutlineEllipse( KivioShape *pShape, KivioIntraStencilD
KivioShapeData *pShapeData;
KivioPoint *pPosition, *pDimensions;
- pShapeData = pShape->shapeData();
+ pShapeData = pShape->tqshapeData();
pPosition = pShapeData->position();
pDimensions = pShapeData->dimensions();
@@ -546,7 +546,7 @@ void KivioSMLStencil::drawOutlineLineArray( KivioShape *pShape, KivioIntraStenci
KivioShapeData *pShapeData;
TQPtrList <KivioPoint> *pList;
- pShapeData = pShape->shapeData();
+ pShapeData = pShape->tqshapeData();
defWidth = m_pSpawner->defWidth();
defHeight = m_pSpawner->defHeight();
@@ -582,7 +582,7 @@ void KivioSMLStencil::drawOutlineRectangle( KivioShape *pShape, KivioIntraStenci
KivioShapeData *pShapeData;
KivioPoint *pPosition, *pDimensions;
- pShapeData = pShape->shapeData();
+ pShapeData = pShape->tqshapeData();
pPosition = pShapeData->position();
pDimensions = pShapeData->dimensions();
@@ -606,7 +606,7 @@ void KivioSMLStencil::drawOutlineRoundRectangle( KivioShape *pShape, KivioIntraS
KivioShapeData *pShapeData;
KivioPoint *pPosition, *pDimensions;
- pShapeData = pShape->shapeData();
+ pShapeData = pShape->tqshapeData();
pPosition = pShapeData->position();
pDimensions = pShapeData->dimensions();
@@ -643,7 +643,7 @@ void KivioSMLStencil::drawOutlinePolygon( KivioShape *pShape, KivioIntraStencilD
KivioShapeData *pShapeData;
TQPtrList <KivioPoint> *pList;
- pShapeData = pShape->shapeData();
+ pShapeData = pShape->tqshapeData();
defWidth = m_pSpawner->defWidth();
defHeight = m_pSpawner->defHeight();
@@ -679,7 +679,7 @@ void KivioSMLStencil::drawOutlinePolyline( KivioShape *pShape, KivioIntraStencil
KivioShapeData *pShapeData;
TQPtrList <KivioPoint> *pList;
- pShapeData = pShape->shapeData();
+ pShapeData = pShape->tqshapeData();
defWidth = m_pSpawner->defWidth();
defHeight = m_pSpawner->defHeight();
@@ -714,7 +714,7 @@ void KivioSMLStencil::drawOutlineTextBox( KivioShape *pShape, KivioIntraStencilD
double defWidth = m_pSpawner->defWidth();
double defHeight = m_pSpawner->defHeight();
int _x, _y, _w, _h;
- KivioShapeData *pShapeData = pShape->shapeData();
+ KivioShapeData *pShapeData = pShape->tqshapeData();
KivioPoint *pPosition = pShapeData->position();
KivioPoint *pDimensions = pShapeData->dimensions();
KivioPainter *painter = pData->painter;
@@ -765,9 +765,9 @@ void KivioSMLStencil::paint( KivioIntraStencilData *pData )
pShape = m_pShapeList->first();
while( pShape )
{
- pShapeData = pShape->shapeData();
+ pShapeData = pShape->tqshapeData();
- switch( pShapeData->shapeType() )
+ switch( pShapeData->tqshapeType() )
{
case KivioShapeData::kstArc:
drawArc( pShape, pData );
@@ -873,7 +873,7 @@ void KivioSMLStencil::drawArc( KivioShape *pShape, KivioIntraStencilData *pData
KivioPoint *pPosition, *pDimensions;
KivioPoint *pPoint;
- pShapeData = pShape->shapeData();
+ pShapeData = pShape->tqshapeData();
pPosition = pShapeData->position();
pDimensions = pShapeData->dimensions();
@@ -915,14 +915,14 @@ void KivioSMLStencil::drawArc( KivioShape *pShape, KivioIntraStencilData *pData
void KivioSMLStencil::drawBezier( KivioShape *pShape, KivioIntraStencilData *pData )
{
KivioPainter *painter;
- KivioShapeData *pShapeData = pShape->shapeData();
+ KivioShapeData *pShapeData = pShape->tqshapeData();
double defWidth = m_pSpawner->defWidth();
double defHeight = m_pSpawner->defHeight();
painter = pData->painter;
- pShapeData = pShape->shapeData();
+ pShapeData = pShape->tqshapeData();
KivioPoint *pPoint, *pPoint2, *pPoint3, *pPoint4;
TQPtrList <KivioPoint> *pPointList = pShapeData->pointList();
@@ -954,7 +954,7 @@ void KivioSMLStencil::drawBezier( KivioShape *pShape, KivioIntraStencilData *pDa
void KivioSMLStencil::drawOpenPath( KivioShape *pShape, KivioIntraStencilData *pData )
{
KivioPainter *painter;
- KivioShapeData *pShapeData = pShape->shapeData();
+ KivioShapeData *pShapeData = pShape->tqshapeData();
KivioPoint *pPoint, *pNewPoint;
double defWidth = m_pSpawner->defWidth();
@@ -988,7 +988,7 @@ void KivioSMLStencil::drawOpenPath( KivioShape *pShape, KivioIntraStencilData *p
void KivioSMLStencil::drawClosedPath( KivioShape *pShape, KivioIntraStencilData *pData )
{
KivioPainter *painter;
- KivioShapeData *pShapeData = pShape->shapeData();
+ KivioShapeData *pShapeData = pShape->tqshapeData();
KivioPoint *pPoint, *pNewPoint;
double defWidth = m_pSpawner->defWidth();
@@ -1046,7 +1046,7 @@ void KivioSMLStencil::drawEllipse( KivioShape *pShape, KivioIntraStencilData *pD
KivioShapeData *pShapeData;
KivioPoint *pPosition, *pDimensions;
- pShapeData = pShape->shapeData();
+ pShapeData = pShape->tqshapeData();
pPosition = pShapeData->position();
pDimensions = pShapeData->dimensions();
@@ -1089,7 +1089,7 @@ void KivioSMLStencil::drawLineArray( KivioShape *pShape, KivioIntraStencilData *
KivioShapeData *pShapeData;
TQPtrList <KivioPoint> *pList;
- pShapeData = pShape->shapeData();
+ pShapeData = pShape->tqshapeData();
defWidth = m_pSpawner->defWidth();
defHeight = m_pSpawner->defHeight();
@@ -1130,7 +1130,7 @@ void KivioSMLStencil::drawRectangle( KivioShape *pShape, KivioIntraStencilData *
KivioShapeData *pShapeData;
KivioPoint *pPosition, *pDimensions;
- pShapeData = pShape->shapeData();
+ pShapeData = pShape->tqshapeData();
pPosition = pShapeData->position();
pDimensions = pShapeData->dimensions();
@@ -1174,7 +1174,7 @@ void KivioSMLStencil::drawRoundRectangle( KivioShape *pShape, KivioIntraStencilD
KivioPoint *pPosition, *pDimensions;
KivioPoint *pPoint;
- pShapeData = pShape->shapeData();
+ pShapeData = pShape->tqshapeData();
pPosition = pShapeData->position();
pDimensions = pShapeData->dimensions();
@@ -1221,7 +1221,7 @@ void KivioSMLStencil::drawPolygon( KivioShape *pShape, KivioIntraStencilData *pD
KivioShapeData *pShapeData;
TQPtrList <KivioPoint> *pList;
- pShapeData = pShape->shapeData();
+ pShapeData = pShape->tqshapeData();
defWidth = m_pSpawner->defWidth();
defHeight = m_pSpawner->defHeight();
@@ -1280,7 +1280,7 @@ void KivioSMLStencil::drawPolyline( KivioShape *pShape, KivioIntraStencilData *p
KivioShapeData *pShapeData;
TQPtrList <KivioPoint> *pList;
- pShapeData = pShape->shapeData();
+ pShapeData = pShape->tqshapeData();
defWidth = m_pSpawner->defWidth();
defHeight = m_pSpawner->defHeight();
@@ -1317,7 +1317,7 @@ void KivioSMLStencil::drawTextBox( KivioShape *pShape, KivioIntraStencilData *pD
{
double defWidth = m_pSpawner->defWidth();
double defHeight = m_pSpawner->defHeight();
- KivioShapeData *pShapeData = pShape->shapeData();
+ KivioShapeData *pShapeData = pShape->tqshapeData();
KivioPoint *pPosition = pShapeData->position();
KivioPoint *pDimensions = pShapeData->dimensions();
KivioPainter *painter = pData->painter;
@@ -1358,7 +1358,7 @@ void KivioSMLStencil::setFGColor( TQColor c )
pShape = m_pShapeList->first();
while( pShape )
{
- pShape->shapeData()->lineStyle()->setColor( c );
+ pShape->tqshapeData()->lineStyle()->setColor( c );
pShape = m_pShapeList->next();
}
@@ -1375,7 +1375,7 @@ void KivioSMLStencil::setBGColor( TQColor c )
pShape = m_pShapeList->first();
while( pShape )
{
- pShape->shapeData()->fillStyle()->setColor( c );
+ pShape->tqshapeData()->fillStyle()->setColor( c );
pShape = m_pShapeList->next();
}
@@ -1388,7 +1388,7 @@ void KivioSMLStencil::setFillPattern(int p)
pShape = m_pShapeList->first();
while( pShape )
{
- pShape->shapeData()->fillStyle()->setBrushStyle( static_cast<Qt::BrushStyle>(p) );
+ pShape->tqshapeData()->fillStyle()->setBrushStyle( static_cast<Qt::BrushStyle>(p) );
pShape = m_pShapeList->next();
}
@@ -1405,7 +1405,7 @@ void KivioSMLStencil::setTextColor( TQColor c )
pShape = m_pShapeList->first();
while( pShape )
{
- pShape->shapeData()->setTextColor( c );
+ pShape->tqshapeData()->setTextColor( c );
pShape = m_pShapeList->next();
}
@@ -1422,7 +1422,7 @@ void KivioSMLStencil::setTextFont( const TQFont &f )
pShape = m_pShapeList->first();
while( pShape )
{
- pShape->shapeData()->setTextFont( f );
+ pShape->tqshapeData()->setTextFont( f );
pShape = m_pShapeList->next();
}
@@ -1439,7 +1439,7 @@ void KivioSMLStencil::setLineWidth( double f )
pShape = m_pShapeList->first();
while( pShape )
{
- pShape->shapeData()->lineStyle()->setWidth( f );
+ pShape->tqshapeData()->lineStyle()->setWidth( f );
pShape = m_pShapeList->next();
}
@@ -1451,7 +1451,7 @@ void KivioSMLStencil::setLinePattern(int p)
while( pShape )
{
- pShape->shapeData()->lineStyle()->setStyle( p );
+ pShape->tqshapeData()->lineStyle()->setStyle( p );
pShape = m_pShapeList->next();
}
}
@@ -1550,7 +1550,7 @@ KivioConnectorTarget *KivioSMLStencil::connectToTarget( KivioConnectorPoint *p,
/**
- * Updates the geometry of this stencil.
+ * Updates the tqgeometry of this stencil.
*
* This function rearranges the KivioConnectorTargets to reflect
* that of the width/height/position.
@@ -1590,9 +1590,9 @@ TQFont KivioSMLStencil::textFont()
pShape = m_pShapeList->first();
while( pShape )
{
- if( pShape->shapeData()->shapeType() == KivioShapeData::kstTextBox )
+ if( pShape->tqshapeData()->tqshapeType() == KivioShapeData::kstTextBox )
{
- return pShape->shapeData()->textFont();
+ return pShape->tqshapeData()->textFont();
}
pShape = m_pShapeList->next();
@@ -1609,9 +1609,9 @@ TQColor KivioSMLStencil::textColor()
pShape = m_pShapeList->first();
while( pShape )
{
- if( pShape->shapeData()->shapeType() == KivioShapeData::kstTextBox )
+ if( pShape->tqshapeData()->tqshapeType() == KivioShapeData::kstTextBox )
{
- return pShape->shapeData()->textColor();
+ return pShape->tqshapeData()->textColor();
}
pShape = m_pShapeList->next();
@@ -1631,8 +1631,8 @@ void KivioSMLStencil::setHTextAlign(int i)
pShape = m_pShapeList->first();
while( pShape )
{
- if( pShape->shapeData()->shapeType() == KivioShapeData::kstTextBox )
- pShape->shapeData()->setHTextAlign( i );
+ if( pShape->tqshapeData()->tqshapeType() == KivioShapeData::kstTextBox )
+ pShape->tqshapeData()->setHTextAlign( i );
pShape = m_pShapeList->next();
}
@@ -1640,7 +1640,7 @@ void KivioSMLStencil::setHTextAlign(int i)
/**
- * Set the vertical alignment of this stencil
+ * Set the vertical tqalignment of this stencil
*/
void KivioSMLStencil::setVTextAlign(int i)
{
@@ -1650,8 +1650,8 @@ void KivioSMLStencil::setVTextAlign(int i)
pShape = m_pShapeList->first();
while( pShape )
{
- if( pShape->shapeData()->shapeType() == KivioShapeData::kstTextBox )
- pShape->shapeData()->setVTextAlign( i );
+ if( pShape->tqshapeData()->tqshapeType() == KivioShapeData::kstTextBox )
+ pShape->tqshapeData()->setVTextAlign( i );
pShape = m_pShapeList->next();
}
@@ -1659,7 +1659,7 @@ void KivioSMLStencil::setVTextAlign(int i)
/**
- * Get the horizontal alignment of this stencil.
+ * Get the horizontal tqalignment of this stencil.
*/
int KivioSMLStencil::hTextAlign()
{
@@ -1668,9 +1668,9 @@ int KivioSMLStencil::hTextAlign()
pShape = m_pShapeList->first();
while( pShape )
{
- if( pShape->shapeData()->shapeType() == KivioShapeData::kstTextBox )
+ if( pShape->tqshapeData()->tqshapeType() == KivioShapeData::kstTextBox )
{
- return pShape->shapeData()->hTextAlign();
+ return pShape->tqshapeData()->hTextAlign();
}
pShape = m_pShapeList->next();
@@ -1681,7 +1681,7 @@ int KivioSMLStencil::hTextAlign()
/**
- * Get the vertical text alignment of this stencil.
+ * Get the vertical text tqalignment of this stencil.
*/
int KivioSMLStencil::vTextAlign()
{
@@ -1690,9 +1690,9 @@ int KivioSMLStencil::vTextAlign()
pShape = m_pShapeList->first();
while( pShape )
{
- if( pShape->shapeData()->shapeType() == KivioShapeData::kstTextBox )
+ if( pShape->tqshapeData()->tqshapeType() == KivioShapeData::kstTextBox )
{
- return pShape->shapeData()->vTextAlign();
+ return pShape->tqshapeData()->vTextAlign();
}
pShape = m_pShapeList->next();
@@ -1712,9 +1712,9 @@ TQString KivioSMLStencil::text()
pShape = m_pShapeList->first();
while( pShape )
{
- if( pShape->shapeData()->shapeType() == KivioShapeData::kstTextBox )
+ if( pShape->tqshapeData()->tqshapeType() == KivioShapeData::kstTextBox )
{
- return pShape->shapeData()->text();
+ return pShape->tqshapeData()->text();
}
pShape = m_pShapeList->next();
@@ -1734,9 +1734,9 @@ void KivioSMLStencil::setText( const TQString &t )
pShape = m_pShapeList->first();
while( pShape )
{
- if( pShape->shapeData()->shapeType() == KivioShapeData::kstTextBox )
+ if( pShape->tqshapeData()->tqshapeType() == KivioShapeData::kstTextBox )
{
- pShape->shapeData()->setText(t);
+ pShape->tqshapeData()->setText(t);
}
pShape = m_pShapeList->next();
@@ -1753,7 +1753,7 @@ double KivioSMLStencil::lineWidth()
pShape = m_pShapeList->first();
if( pShape )
- return pShape->shapeData()->lineStyle()->width();
+ return pShape->tqshapeData()->lineStyle()->width();
return 1.0f;
}
@@ -1763,7 +1763,7 @@ int KivioSMLStencil::linePattern()
KivioShape *pShape = m_pShapeList->first();
if( pShape )
- return pShape->shapeData()->lineStyle()->style();
+ return pShape->tqshapeData()->lineStyle()->style();
return 1;
}
@@ -1777,7 +1777,7 @@ TQColor KivioSMLStencil::fgColor()
pShape = m_pShapeList->first();
if( pShape )
- return pShape->shapeData()->lineStyle()->color();
+ return pShape->tqshapeData()->lineStyle()->color();
return TQColor(0,0,0);
}
@@ -1792,7 +1792,7 @@ TQColor KivioSMLStencil::bgColor()
pShape = m_pShapeList->first();
if( pShape )
- return pShape->shapeData()->fillStyle()->color();
+ return pShape->tqshapeData()->fillStyle()->color();
return TQColor(0,0,0);
}
@@ -1803,7 +1803,7 @@ int KivioSMLStencil::fillPattern()
pShape = m_pShapeList->first();
if( pShape )
- return pShape->shapeData()->fillStyle()->brushStyle();
+ return pShape->tqshapeData()->fillStyle()->brushStyle();
return 1;
}
@@ -1923,7 +1923,7 @@ bool KivioSMLStencil::checkCollisionPolygon( KivioShape *pShape, KoPoint *pCheck
TQPtrList<KivioPoint> *pList;
KoPoint *pPoints;
- pShapeData = pShape->shapeData();
+ pShapeData = pShape->tqshapeData();
defWidth = m_pSpawner->defWidth();
defHeight = m_pSpawner->defHeight();
@@ -2001,7 +2001,7 @@ KivioLineStyle KivioSMLStencil::lineStyle()
KivioShape *pShape = m_pShapeList->first();
if( pShape )
- return *(pShape->shapeData()->lineStyle());
+ return *(pShape->tqshapeData()->lineStyle());
return KivioLineStyle();
}
@@ -2012,7 +2012,7 @@ void KivioSMLStencil::setLineStyle(KivioLineStyle ls)
while( pShape )
{
- pShape->shapeData()->setLineStyle(ls);;
+ pShape->tqshapeData()->setLineStyle(ls);;
pShape = m_pShapeList->next();
}
}
@@ -2032,12 +2032,12 @@ TQString KivioSMLStencil::getTextBoxName(const KoPoint& p)
while(pShape)
{
- if(pShape->shapeData()->shapeType() == KivioShapeData::kstTextBox)
+ if(pShape->tqshapeData()->tqshapeType() == KivioShapeData::kstTextBox)
{
- double x = pShape->shapeData()->x();
- double y = pShape->shapeData()->y();
- double x2 = pShape->shapeData()->w() + x;
- double y2 = pShape->shapeData()->h() + y;
+ double x = pShape->tqshapeData()->x();
+ double y = pShape->tqshapeData()->y();
+ double x2 = pShape->tqshapeData()->w() + x;
+ double y2 = pShape->tqshapeData()->h() + y;
// Create the rotated rectangle
KoPoint pPoints[4];
@@ -2051,7 +2051,7 @@ TQString KivioSMLStencil::getTextBoxName(const KoPoint& p)
pPoints[3].setY(x * m.m12() + y2 * m.m22() + m.dy());
if(PointInPoly(pPoints, 4, &pos)) {
- return pShape->shapeData()->name();
+ return pShape->tqshapeData()->name();
}
if(!first) {
@@ -2063,7 +2063,7 @@ TQString KivioSMLStencil::getTextBoxName(const KoPoint& p)
}
if(first) {
- return first->shapeData()->name();
+ return first->tqshapeData()->name();
}
return TQString();
@@ -2075,9 +2075,9 @@ void KivioSMLStencil::setText(const TQString& text, const TQString& name)
while(pShape)
{
- if(pShape->shapeData()->name() == name)
+ if(pShape->tqshapeData()->name() == name)
{
- pShape->shapeData()->setText(text);
+ pShape->tqshapeData()->setText(text);
return;
}
@@ -2091,9 +2091,9 @@ TQString KivioSMLStencil::text(const TQString& name)
while(pShape)
{
- if(pShape->shapeData()->name() == name)
+ if(pShape->tqshapeData()->name() == name)
{
- return pShape->shapeData()->text();
+ return pShape->tqshapeData()->text();
}
pShape = m_pShapeList->next();
@@ -2128,7 +2128,7 @@ bool KivioSMLStencil::hasTextBox() const
{
KivioShape* pShape = m_pShapeList->first();
while(pShape) {
- if(pShape->shapeData()->shapeType() == KivioShapeData::kstTextBox) {
+ if(pShape->tqshapeData()->tqshapeType() == KivioShapeData::kstTextBox) {
return true;
}
@@ -2140,89 +2140,89 @@ bool KivioSMLStencil::hasTextBox() const
TQColor KivioSMLStencil::textColor(const TQString& textBoxName)
{
- KivioShape* shape = locateShape(textBoxName);
+ KivioShape* tqshape = locateShape(textBoxName);
- if(!shape)
+ if(!tqshape)
return textColor();
- return shape->shapeData()->textColor();
+ return tqshape->tqshapeData()->textColor();
}
void KivioSMLStencil::setTextColor(const TQString& textBoxName, const TQColor& color)
{
- KivioShape* shape = locateShape(textBoxName);
+ KivioShape* tqshape = locateShape(textBoxName);
- // If we didn't find the shape set the color stencil wide
- if(!shape) {
+ // If we didn't find the tqshape set the color stencil wide
+ if(!tqshape) {
setTextColor(color);
return;
}
- shape->shapeData()->setTextColor(color);
+ tqshape->tqshapeData()->setTextColor(color);
}
TQFont KivioSMLStencil::textFont(const TQString& textBoxName)
{
- KivioShape* shape = locateShape(textBoxName);
+ KivioShape* tqshape = locateShape(textBoxName);
- if(!shape)
+ if(!tqshape)
return textFont();
- return shape->shapeData()->textFont();
+ return tqshape->tqshapeData()->textFont();
}
void KivioSMLStencil::setTextFont(const TQString& textBoxName, const TQFont& font)
{
- KivioShape* shape = locateShape(textBoxName);
+ KivioShape* tqshape = locateShape(textBoxName);
- if(!shape) {
+ if(!tqshape) {
setTextFont(font);
return;
}
- shape->shapeData()->setTextFont(font);
+ tqshape->tqshapeData()->setTextFont(font);
}
int KivioSMLStencil::hTextAlign(const TQString& textBoxName)
{
- KivioShape* shape = locateShape(textBoxName);
+ KivioShape* tqshape = locateShape(textBoxName);
- if(!shape)
+ if(!tqshape)
return hTextAlign();
- return shape->shapeData()->hTextAlign();
+ return tqshape->tqshapeData()->hTextAlign();
}
int KivioSMLStencil::vTextAlign(const TQString& textBoxName)
{
- KivioShape* shape = locateShape(textBoxName);
+ KivioShape* tqshape = locateShape(textBoxName);
- if(!shape)
+ if(!tqshape)
return vTextAlign();
- return shape->shapeData()->vTextAlign();
+ return tqshape->tqshapeData()->vTextAlign();
}
void KivioSMLStencil::setHTextAlign(const TQString& textBoxName, int align)
{
- KivioShape* shape = locateShape(textBoxName);
+ KivioShape* tqshape = locateShape(textBoxName);
- if(!shape) {
+ if(!tqshape) {
setHTextAlign(align);
return;
}
- shape->shapeData()->setHTextAlign(align);
+ tqshape->tqshapeData()->setHTextAlign(align);
}
void KivioSMLStencil::setVTextAlign(const TQString& textBoxName, int align)
{
- KivioShape* shape = locateShape(textBoxName);
+ KivioShape* tqshape = locateShape(textBoxName);
- if(!shape) {
+ if(!tqshape) {
setVTextAlign(align);
return;
}
- shape->shapeData()->setVTextAlign(align);
+ tqshape->tqshapeData()->setVTextAlign(align);
}
diff --git a/kivio/kiviopart/kiviosdk/kivio_sml_stencil.h b/kivio/kiviopart/kiviosdk/kivio_sml_stencil.h
index c9ebcc6c..30e53e93 100644
--- a/kivio/kiviopart/kiviosdk/kivio_sml_stencil.h
+++ b/kivio/kiviopart/kiviosdk/kivio_sml_stencil.h
@@ -101,7 +101,7 @@ public:
virtual bool loadXML( const TQDomElement & );
virtual TQDomElement saveXML( TQDomDocument & );
- virtual TQPtrList<KivioShape> *shapeList() { return m_pShapeList; }
+ virtual TQPtrList<KivioShape> *tqshapeList() { return m_pShapeList; }
virtual KivioShape *subSelection() { return m_pSubSelection; }
virtual void paintOutline( KivioIntraStencilData * );
diff --git a/kivio/kiviopart/kiviosdk/kivio_sml_stencil_spawner.cpp b/kivio/kiviopart/kiviosdk/kivio_sml_stencil_spawner.cpp
index d18caae8..588a468e 100644
--- a/kivio/kiviopart/kiviosdk/kivio_sml_stencil_spawner.cpp
+++ b/kivio/kiviopart/kiviosdk/kivio_sml_stencil_spawner.cpp
@@ -164,15 +164,15 @@ bool KivioSMLStencilSpawner::loadXML( const TQString &file, TQDomDocument &d )
/**
- * Loads a shape from an XML node.
+ * Loads a tqshape from an XML node.
*/
-void KivioSMLStencilSpawner::loadShape( TQDomNode &shapeNode )
+void KivioSMLStencilSpawner::loadShape( TQDomNode &tqshapeNode )
{
KivioShapeData::KivioShapeType t;
KivioShape *pShape = NULL;
- TQDomElement shapeElement = shapeNode.toElement();
+ TQDomElement tqshapeElement = tqshapeNode.toElement();
- t = KivioShapeData::shapeTypeFromString( XmlReadString( shapeElement, "type", "None" ) );
+ t = KivioShapeData::tqshapeTypeFromString( XmlReadString( tqshapeElement, "type", "None" ) );
switch( t )
{
@@ -180,51 +180,51 @@ void KivioSMLStencilSpawner::loadShape( TQDomNode &shapeNode )
break;
case KivioShapeData::kstArc:
- pShape = KivioShape::loadShapeArc( shapeElement );
+ pShape = KivioShape::loadShapeArc( tqshapeElement );
break;
case KivioShapeData::kstPie:
- pShape = KivioShape::loadShapePie( shapeElement );
+ pShape = KivioShape::loadShapePie( tqshapeElement );
break;
case KivioShapeData::kstLineArray:
- pShape = KivioShape::loadShapeLineArray( shapeElement );
+ pShape = KivioShape::loadShapeLineArray( tqshapeElement );
break;
case KivioShapeData::kstPolyline:
- pShape = KivioShape::loadShapePolyline( shapeElement );
+ pShape = KivioShape::loadShapePolyline( tqshapeElement );
break;
case KivioShapeData::kstPolygon:
- pShape = KivioShape::loadShapePolygon( shapeElement );
+ pShape = KivioShape::loadShapePolygon( tqshapeElement );
break;
case KivioShapeData::kstBezier:
- pShape = KivioShape::loadShapeBezier( shapeElement );
+ pShape = KivioShape::loadShapeBezier( tqshapeElement );
break;
case KivioShapeData::kstRectangle:
- pShape = KivioShape::loadShapeRectangle( shapeElement );
+ pShape = KivioShape::loadShapeRectangle( tqshapeElement );
break;
case KivioShapeData::kstRoundRectangle:
- pShape = KivioShape::loadShapeRoundRectangle( shapeElement );
+ pShape = KivioShape::loadShapeRoundRectangle( tqshapeElement );
break;
case KivioShapeData::kstEllipse:
- pShape = KivioShape::loadShapeEllipse( shapeElement );
+ pShape = KivioShape::loadShapeEllipse( tqshapeElement );
break;
case KivioShapeData::kstOpenPath:
- pShape = KivioShape::loadShapeOpenPath( shapeElement );
+ pShape = KivioShape::loadShapeOpenPath( tqshapeElement );
break;
case KivioShapeData::kstClosedPath:
- pShape = KivioShape::loadShapeClosedPath( shapeElement );
+ pShape = KivioShape::loadShapeClosedPath( tqshapeElement );
break;
case KivioShapeData::kstTextBox:
- pShape = KivioShape::loadShapeTextBox( shapeElement );
+ pShape = KivioShape::loadShapeTextBox( tqshapeElement );
break;
default:
diff --git a/kivio/kiviopart/kiviosdk/kivio_stencil_spawner_set.cpp b/kivio/kiviopart/kiviosdk/kivio_stencil_spawner_set.cpp
index 0fdd2ac1..c2e54a58 100644
--- a/kivio/kiviopart/kiviosdk/kivio_stencil_spawner_set.cpp
+++ b/kivio/kiviopart/kiviosdk/kivio_stencil_spawner_set.cpp
@@ -104,7 +104,7 @@ bool KivioStencilSpawnerSet::loadDir( const TQString &dirName )
m_name = readTitle( dirName );
m_id = readId( dirName );
- d.setNameFilter("*.so *.sml *.ksp *.spy *.shape");
+ d.setNameFilter("*.so *.sml *.ksp *.spy *.tqshape");
m_files = d.entryList();
return true;
@@ -134,7 +134,7 @@ KivioStencilSpawner* KivioStencilSpawnerSet::loadFile( const TQString &fileName
{
pSpawner = new KivioPyStencilSpawner(this);
}
- else if( fileName.contains( ".shape", false ) )
+ else if( fileName.contains( ".tqshape", false ) )
{
pSpawner = new KivioDiaStencilSpawner(this);
}
diff --git a/kivio/kiviopart/kiviosdk/kivio_text_style.h b/kivio/kiviopart/kiviosdk/kivio_text_style.h
index 73c13e0e..2a8ecd62 100644
--- a/kivio/kiviopart/kiviosdk/kivio_text_style.h
+++ b/kivio/kiviopart/kiviosdk/kivio_text_style.h
@@ -14,11 +14,11 @@ class TQPainter;
class KivioTextStyle
{
protected:
- TQString m_text; // The text inside this shape
+ TQString m_text; // The text inside this tqshape
TQColor m_color; // The text color
TQFont m_font; // The text font
bool m_isHtml; // Is the text HTML formatted?
- int m_hTextAlign, m_vTextAlign; //Qt::Horizontal and vertical text alignment flags
+ int m_hTextAlign, m_vTextAlign; //Qt::Horizontal and vertical text tqalignment flags
public:
KivioTextStyle();
diff --git a/kivio/kiviopart/kiviostencilsetinstaller.cpp b/kivio/kiviopart/kiviostencilsetinstaller.cpp
index 67cb4d87..e0d2b363 100644
--- a/kivio/kiviopart/kiviostencilsetinstaller.cpp
+++ b/kivio/kiviopart/kiviostencilsetinstaller.cpp
@@ -24,7 +24,7 @@
#include "kiviostencilsetinstaller.h"
#include <tqframe.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqcheckbox.h>
#include <tqstringlist.h>
@@ -74,7 +74,7 @@ namespace Kivio {
TQString tmpFile;
if(!KIO::NetAccess::download(url, tmpFile, this)) {
- KMessageBox::error(this, i18n("Could not find the stencil set archive %1.").arg(url.prettyURL()));
+ KMessageBox::error(this, i18n("Could not find the stencil set archive %1.").tqarg(url.prettyURL()));
return;
}
diff --git a/kivio/kiviopart/stencilbarbutton.cpp b/kivio/kiviopart/stencilbarbutton.cpp
index 39fb22ef..d3d30dae 100644
--- a/kivio/kiviopart/stencilbarbutton.cpp
+++ b/kivio/kiviopart/stencilbarbutton.cpp
@@ -74,7 +74,7 @@ DragBarButton::DragBarButton( const TQString& text, TQWidget* parent, const char
setPixmap(stencil_xpm);
- const TQColorGroup& g = colorGroup();
+ const TQColorGroup& g = tqcolorGroup();
TQColor c = g.buttonText();
int cr, cg, cb;
@@ -121,8 +121,8 @@ void DragBarButton::drawButton( TQPainter* paint )
pix.fill(eraseColor());
TQPainter pixPainter(&pix);
- const TQColorGroup& g = colorGroup();
- tqstyle().drawControl( TQStyle::CE_PushButton, &pixPainter, this, TQRect(0, 0, pixSize.width(), pixSize.height()), colorGroup() );
+ const TQColorGroup& g = tqcolorGroup();
+ tqstyle().tqdrawControl( TQStyle::CE_PushButton, &pixPainter, this, TQRect(0, 0, pixSize.width(), pixSize.height()), tqcolorGroup() );
int m = 3;
int tw = 0;
@@ -132,7 +132,7 @@ void DragBarButton::drawButton( TQPainter* paint )
pw = m_pIcon->width();
tqstyle().drawItem( &pixPainter, TQRect( m, 0, pw, pixSize.height() ),
AlignLeft | AlignVCenter,
- colorGroup(), isEnabled(),
+ tqcolorGroup(), isEnabled(),
m_pIcon, TQString(), -1,
&g.buttonText());
}
@@ -146,7 +146,7 @@ void DragBarButton::drawButton( TQPainter* paint )
tqstyle().drawItem( &pixPainter, TQRect( x, 0, tw, pixSize.height() ),
AlignLeft | AlignVCenter|ShowPrefix,
- colorGroup(), isEnabled(),
+ tqcolorGroup(), isEnabled(),
0L, t, -1,
&g.buttonText());
}
@@ -183,7 +183,7 @@ void DragBarButton::setPixmap( const TQPixmap& pixmap )
m_pIcon = new TQPixmap(pixmap);
}
-TQSize DragBarButton::sizeHint() const
+TQSize DragBarButton::tqsizeHint() const
{
constPolish();
int m = 3;
@@ -231,7 +231,7 @@ void DragBarButton::mousePressEvent( TQMouseEvent* ev )
if ( closeRect.contains(ev->pos())) {
m_bClose = true;
- repaint();
+ tqrepaint();
return;
}
@@ -243,7 +243,7 @@ void DragBarButton::mouseReleaseEvent( TQMouseEvent* ev )
{
if ( m_bClose ) {
m_bClose = false;
- repaint();
+ tqrepaint();
TQRect closeRect;
if(m_orientation == Qt::Vertical) {
@@ -285,14 +285,14 @@ void DragBarButton::enterEvent( TQEvent* ev )
{
TQPushButton::enterEvent(ev);
m_bMouseOn = true;
- repaint(false);
+ tqrepaint(false);
}
void DragBarButton::leaveEvent( TQEvent* ev )
{
TQPushButton::leaveEvent(ev);
m_bMouseOn = false;
- repaint();
+ tqrepaint();
}
void DragBarButton::setOrientation(Qt::Orientation orientation)
@@ -300,9 +300,9 @@ void DragBarButton::setOrientation(Qt::Orientation orientation)
m_orientation = orientation;
if(m_orientation == Qt::Vertical) {
- setSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Fixed);
+ tqsetSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Fixed);
} else {
- setSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Minimum);
+ tqsetSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Minimum);
}
}
diff --git a/kivio/kiviopart/stencilbarbutton.h b/kivio/kiviopart/stencilbarbutton.h
index 67595db9..6f207a7f 100644
--- a/kivio/kiviopart/stencilbarbutton.h
+++ b/kivio/kiviopart/stencilbarbutton.h
@@ -35,7 +35,7 @@ class DragBarButton : public TQPushButton
void setIcon( const TQString& );
void setPixmap( const TQPixmap& );
- TQSize sizeHint() const;
+ TQSize tqsizeHint() const;
Qt::Orientation orientation() const { return m_orientation; }
diff --git a/kivio/kiviopart/stencilbardockmanager.cpp b/kivio/kiviopart/stencilbardockmanager.cpp
index aa5c30c4..ecf923f9 100644
--- a/kivio/kiviopart/stencilbardockmanager.cpp
+++ b/kivio/kiviopart/stencilbardockmanager.cpp
@@ -179,7 +179,7 @@ void StencilBarDockManager::slotFinishDragPage( DragBarButton* )
KivioStackBar* bar = (KivioStackBar*)sender();
bar->removePage(dragWidget);
- insertStencilSet(dragWidget,caption,dragPos,moveManager->geometry(),m_destinationBar);
+ insertStencilSet(dragWidget,caption,dragPos,moveManager->tqgeometry(),m_destinationBar);
// remove KivioStackBar if no more pages
if (!bar->visiblePage()) {
@@ -205,13 +205,13 @@ void StencilBarDockManager::slotMoving()
// check existing bars
for ( KivioStackBar* bar = m_pBars.first(); bar; bar = m_pBars.next() ) {
- if ( bar->geometry().contains(p) ) {
+ if ( bar->tqgeometry().contains(p) ) {
if(bar->place() == TQDockWindow::OutsideDock) {
dragPos = OnTopLevelBar;
- globalPos = bar->geometry().topLeft();
+ globalPos = bar->tqgeometry().topLeft();
} else {
dragPos = AutoSelect;
- globalPos = bar->mapToGlobal(bar->geometry().topLeft());
+ globalPos = bar->mapToGlobal(bar->tqgeometry().topLeft());
}
m_destinationBar = bar;
@@ -219,7 +219,7 @@ void StencilBarDockManager::slotMoving()
moveManager->setGeometry(globalPos.x(),
moveManager->y(),
bar->width(),
- moveManager->getWidget()->sizeHint().height());
+ moveManager->getWidget()->tqsizeHint().height());
return;
}
}
@@ -556,8 +556,8 @@ void KoToolDockMoveManager::doResizeInternal()
void KoToolDockMoveManager::setWidget( TQWidget* _w )
{
widget = _w;
- minSize = widget->minimumSize();
- maxSize = widget->maximumSize();
+ minSize = widget->tqminimumSize();
+ maxSize = widget->tqmaximumSize();
rr = TQRect(widget->mapToGlobal(TQPoint(0,0)),widget->size());
p = rr.topLeft();
@@ -631,7 +631,7 @@ bool KoToolDockMoveManager::check(int& x, int& y, int& w, int& h, bool change)
return f1&&f2;
}
-TQRect KoToolDockMoveManager::geometry()
+TQRect KoToolDockMoveManager::tqgeometry()
{
int x0 = xp;
int y0 = yp;
diff --git a/kivio/kiviopart/stencilbardockmanager.h b/kivio/kiviopart/stencilbardockmanager.h
index 73d48301..8406e5f0 100644
--- a/kivio/kiviopart/stencilbardockmanager.h
+++ b/kivio/kiviopart/stencilbardockmanager.h
@@ -114,7 +114,7 @@ class KoToolDockMoveManager: public TQObject
void setGeometry( const TQRect& r );
void setGeometry(int x, int y, int w, int h);
- TQRect geometry();
+ TQRect tqgeometry();
void resize( const TQSize& s ) { setGeometry(xp, yp, s.width(), s.height()); }
void resize(int rw, int rh) { setGeometry(xp, yp, rw, rh); }
diff --git a/kivio/kiviopart/stencils/Dia/Assorted/arrow-chevron.shape b/kivio/kiviopart/stencils/Dia/Assorted/arrow-chevron.shape
index 8ff02c32..7d7cb3cb 100644
--- a/kivio/kiviopart/stencils/Dia/Assorted/arrow-chevron.shape
+++ b/kivio/kiviopart/stencils/Dia/Assorted/arrow-chevron.shape
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<!-- Author: Alan Horkan, 2002, mailto:horkana@tcd.ie -->
<name>Block Arrow - Chevron</name><!-- Block Arrow - Chevron, as seen in PowerPoint 97 -->
<icon>arrow-chevron.png</icon>
@@ -32,4 +32,4 @@
<svg:polygon style="fill: default" points="0,0 2,0 3,1 2,2 0,2 1,1 "/>
<svg:polygon style="stroke-width: 0.1; stroke: #000000" points="0,0 2,0 3,1 2,2 0,2 1,1 "/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Assorted/arrow-down.shape b/kivio/kiviopart/stencils/Dia/Assorted/arrow-down.shape
index 6e1388fe..b0e44553 100644
--- a/kivio/kiviopart/stencils/Dia/Assorted/arrow-down.shape
+++ b/kivio/kiviopart/stencils/Dia/Assorted/arrow-down.shape
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<!-- Author: Alan Horkan, 2002, mailto:horkana@tcd.ie -->
<name>Geometric - Down Arrow</name>
<icon>arrow-down.png</icon>
@@ -36,4 +36,4 @@
<svg:polygon style="fill: default" points="1,0 1,2 0,2 2,4 4,2 3,2 3,0 "/>
<svg:polygon style="stroke-width: 0.1; stroke: #000000" points="1,0 1,2 0,2 2,4 4,2 3,2 3,0 "/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Assorted/arrow-left-notched.shape b/kivio/kiviopart/stencils/Dia/Assorted/arrow-left-notched.shape
index a4f20839..d536a6b6 100644
--- a/kivio/kiviopart/stencils/Dia/Assorted/arrow-left-notched.shape
+++ b/kivio/kiviopart/stencils/Dia/Assorted/arrow-left-notched.shape
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<!-- Author: Alan Horkan, 2002, mailto:horkana@tcd.ie -->
<name>Geometric - Notched Left Arrow</name>
<icon>arrow-left-notched.png</icon>
@@ -40,4 +40,4 @@
<svg:polygon style="fill: default" points="4,1 2,1 2,0 0,2 2,4 2,3 4,3 3,2 "/>
<svg:polygon style="stroke-width: 0.1; stroke: #000000" points="4,1 2,1 2,0 0,2 2,4 2,3 4,3 3,2 "/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Assorted/arrow-left-right-up.shape b/kivio/kiviopart/stencils/Dia/Assorted/arrow-left-right-up.shape
index 54babdd8..d2579d6d 100644
--- a/kivio/kiviopart/stencils/Dia/Assorted/arrow-left-right-up.shape
+++ b/kivio/kiviopart/stencils/Dia/Assorted/arrow-left-right-up.shape
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<!-- Author: Alan Horkan, 2002, mailto:horkana@tcd.ie -->
<name>Geometric - Left-Right-Up Arrow</name>
<icon>arrow-left-right-up.png</icon>
@@ -76,4 +76,4 @@
<svg:polygon style="fill: default" points="8,4 6,4 6,2 7,2 5,0 3,2 4,2 4,4 2,4 2,3 0,5 2,7 2,6 8,6 8,7 10,5 8,3 "/>
<svg:polygon style="stroke-width: 0.1; stroke: #000000" points="8,4 6,4 6,2 7,2 5,0 3,2 4,2 4,4 2,4 2,3 0,5 2,7 2,6 8,6 8,7 10,5 8,3 "/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Assorted/arrow-left-right.shape b/kivio/kiviopart/stencils/Dia/Assorted/arrow-left-right.shape
index 03b7787c..b2e85882 100644
--- a/kivio/kiviopart/stencils/Dia/Assorted/arrow-left-right.shape
+++ b/kivio/kiviopart/stencils/Dia/Assorted/arrow-left-right.shape
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<!-- Author: Alan Horkan, 2002, mailto:horkana@tcd.ie -->
<name>Geometric - Left-Right Arrow</name>
<icon>arrow-left-right.png</icon>
@@ -48,4 +48,4 @@
<svg:polygon style="fill: default" points="6,1 2,1 2,0 0,2 2,4 2,3 6,3 6,4 8,2 6,0 "/>
<svg:polygon style="stroke-width: 0.1; stroke: #000000" points="6,1 2,1 2,0 0,2 2,4 2,3 6,3 6,4 8,2 6,0 "/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Assorted/arrow-left-up.shape b/kivio/kiviopart/stencils/Dia/Assorted/arrow-left-up.shape
index e3c0c008..e70c0d2a 100644
--- a/kivio/kiviopart/stencils/Dia/Assorted/arrow-left-up.shape
+++ b/kivio/kiviopart/stencils/Dia/Assorted/arrow-left-up.shape
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<!-- Author: Alan Horkan, 2002, mailto:horkana@tcd.ie -->
<name>Assorted - Left-Up Arrow</name>
<icon>arrow-left-up.png</icon>
@@ -56,4 +56,4 @@
<svg:polygon style="fill: #ffffff" points="6,2 7,2 5,0 3,2 4,2 4,4 2,4 2,3 0,5 2,7 2,6 6,6 "/>
<svg:polygon style="stroke-width: 0.1; stroke: #000000" points="6,2 7,2 5,0 3,2 4,2 4,4 2,4 2,3 0,5 2,7 2,6 6,6 "/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Assorted/arrow-left.shape b/kivio/kiviopart/stencils/Dia/Assorted/arrow-left.shape
index 8eb15cd4..e2e513af 100644
--- a/kivio/kiviopart/stencils/Dia/Assorted/arrow-left.shape
+++ b/kivio/kiviopart/stencils/Dia/Assorted/arrow-left.shape
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<!-- Author: Alan Horkan, 2002, mailto:horkana@tcd.ie -->
<name>Geometric - Left Arrow</name>
<icon>arrow-left.png</icon>
@@ -36,4 +36,4 @@
<svg:polygon style="fill: default" points="4,1 2,1 2,0 0,2 2,4 2,3 4,3 "/>
<svg:polygon style="stroke-width: 0.1; stroke: #000000" points="4,1 2,1 2,0 0,2 2,4 2,3 4,3 "/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Assorted/arrow-pentagon.shape b/kivio/kiviopart/stencils/Dia/Assorted/arrow-pentagon.shape
index ef0f7f47..b99c3461 100644
--- a/kivio/kiviopart/stencils/Dia/Assorted/arrow-pentagon.shape
+++ b/kivio/kiviopart/stencils/Dia/Assorted/arrow-pentagon.shape
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<!-- Author: Alan Horkan, 2002, mailto:horkana@tcd.ie -->
<name>Block Arrow - Pentagon</name><!-- Arrow Pentagon as seen in Powerpoint 97 -->
<icon>arrow-pentagon.png</icon>
@@ -28,4 +28,4 @@
<svg:polygon style="fill: default" points="0,0 2,0 3,1 2,2 0,2 "/>
<svg:polygon style="stroke-width: 0.1; stroke: #000000" points="0,0 2,0 3,1 2,2 0,2 "/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Assorted/arrow-quad.shape b/kivio/kiviopart/stencils/Dia/Assorted/arrow-quad.shape
index 6351e8dd..1886293b 100644
--- a/kivio/kiviopart/stencils/Dia/Assorted/arrow-quad.shape
+++ b/kivio/kiviopart/stencils/Dia/Assorted/arrow-quad.shape
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<!-- Author: Alan Horkan, 2002, mailto:horkana@tcd.ie -->
<name>Geometric - Quad Arrow</name>
<icon>arrow-quad.png</icon>
@@ -57,4 +57,4 @@
<svg:polygon style="fill: default" points="8,4 6,4 6,2 7,2 5,0 3,2 4,2 4,4 2,4 2,3 0,5 2,7 2,6 4,6 4,8 3,8 5,10 7,8 6,8 6,6 8,6 8,7 10,5 8,3 "/>
<svg:polygon style="stroke-width: 0.1; stroke: #000000" points="8,4 6,4 6,2 7,2 5,0 3,2 4,2 4,4 2,4 2,3 0,5 2,7 2,6 4,6 4,8 3,8 5,10 7,8 6,8 6,6 8,6 8,7 10,5 8,3 "/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Assorted/arrow-right-notched.shape b/kivio/kiviopart/stencils/Dia/Assorted/arrow-right-notched.shape
index 17d670fc..8738ffea 100644
--- a/kivio/kiviopart/stencils/Dia/Assorted/arrow-right-notched.shape
+++ b/kivio/kiviopart/stencils/Dia/Assorted/arrow-right-notched.shape
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<!-- Author: Alan Horkan, 2002, mailto:horkana@tcd.ie -->
<name>Geometric - Notched Right Arrow</name>
<icon>arrow-right-notched.png</icon>
@@ -40,4 +40,4 @@
<svg:polygon style="fill: default" points="0,1 2,1 2,0 4,2 2,4 2,3 0,3 1,2 "/>
<svg:polygon style="stroke-width: 0.1; stroke: #000000" points="0,1 2,1 2,0 4,2 2,4 2,3 0,3 1,2 "/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Assorted/arrow-right.shape b/kivio/kiviopart/stencils/Dia/Assorted/arrow-right.shape
index 8e9fea1d..be5bf79c 100644
--- a/kivio/kiviopart/stencils/Dia/Assorted/arrow-right.shape
+++ b/kivio/kiviopart/stencils/Dia/Assorted/arrow-right.shape
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<!-- Author: Alan Horkan, 2002, mailto:horkana@tcd.ie -->
<name>Geometric - Right Arrow</name>
<icon>arrow-right.png</icon>
@@ -36,4 +36,4 @@
<svg:polygon style="fill: default" points="0,1 2,1 2,0 4,2 2,4 2,3 0,3 "/>
<svg:polygon style="stroke-width: 0.1; stroke: #000000" points="0,1 2,1 2,0 4,2 2,4 2,3 0,3 "/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Assorted/arrow-up-down-left.shape b/kivio/kiviopart/stencils/Dia/Assorted/arrow-up-down-left.shape
index 8d418022..0549dbe8 100644
--- a/kivio/kiviopart/stencils/Dia/Assorted/arrow-up-down-left.shape
+++ b/kivio/kiviopart/stencils/Dia/Assorted/arrow-up-down-left.shape
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<!-- Author: Alan Horkan, 2002, mailto:horkana@tcd.ie -->
<name>Geometric - Up-Down-Left Arrow</name>
<icon>arrow-up-down-left.png</icon>
@@ -76,4 +76,4 @@
<svg:polygon style="fill: default" points="6,2 7,2 5,0 3,2 4,2 4,4 2,4 2,3 0,5 2,7 2,6 4,6 4,8 3,8 5,10 7,8 6,8 "/>
<svg:polygon style="stroke-width: 0.1; stroke: #000000" points="6,2 7,2 5,0 3,2 4,2 4,4 2,4 2,3 0,5 2,7 2,6 4,6 4,8 3,8 5,10 7,8 6,8 "/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Assorted/arrow-up-down.shape b/kivio/kiviopart/stencils/Dia/Assorted/arrow-up-down.shape
index e94d2d17..f0f8623e 100644
--- a/kivio/kiviopart/stencils/Dia/Assorted/arrow-up-down.shape
+++ b/kivio/kiviopart/stencils/Dia/Assorted/arrow-up-down.shape
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<!-- Author: Alan Horkan, 2002, mailto:horkana@tcd.ie -->
<name>Geometric - Up-Down Arrow</name>
<icon>arrow-up-down.png</icon>
@@ -48,4 +48,4 @@
<svg:polygon style="fill: default" points="1,6 1,2 0,2 2,0 4,2 3,2 3,6 4,6 2,8 0,6 "/>
<svg:polygon style="stroke-width: 0.1; stroke: #000000" points="1,6 1,2 0,2 2,0 4,2 3,2 3,6 4,6 2,8 0,6 "/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Assorted/arrow-up.shape b/kivio/kiviopart/stencils/Dia/Assorted/arrow-up.shape
index 791f8a78..83222aa8 100644
--- a/kivio/kiviopart/stencils/Dia/Assorted/arrow-up.shape
+++ b/kivio/kiviopart/stencils/Dia/Assorted/arrow-up.shape
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<!-- Author: Alan Horkan, 2002, mailto:horkana@tcd.ie -->
<name>Geometric - Up Arrow</name>
<icon>arrow-up.png</icon>
@@ -36,4 +36,4 @@
<svg:polygon style="fill: default" points="1,4 1,2 0,2 2,0 4,2 3,2 3,4 "/>
<svg:polygon style="stroke-width: 0.1; stroke: #000000" points="1,4 1,2 0,2 2,0 4,2 3,2 3,4 "/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Assorted/circle.shape b/kivio/kiviopart/stencils/Dia/Assorted/circle.shape
index 26647def..ae10097e 100644
--- a/kivio/kiviopart/stencils/Dia/Assorted/circle.shape
+++ b/kivio/kiviopart/stencils/Dia/Assorted/circle.shape
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<!-- Author: Alan Horkan, 2002, mailto:horkana@tcd.ie -->
<name>Geometric - Perfect Circle</name>
<icon>circle.png</icon>
@@ -18,4 +18,4 @@
<svg:ellipse style="fill: default" cx="1.5" cy="2" rx="1" ry="1"/>
<svg:ellipse style="stroke-width: 0.1; stroke: #000000" cx="1.5" cy="2" rx="1" ry="1"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Assorted/cross-maltese.shape b/kivio/kiviopart/stencils/Dia/Assorted/cross-maltese.shape
index 2bc02249..2b6a598c 100644
--- a/kivio/kiviopart/stencils/Dia/Assorted/cross-maltese.shape
+++ b/kivio/kiviopart/stencils/Dia/Assorted/cross-maltese.shape
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<!-- Author: Alan Horkan, 2002, mailto:horkana@tcd.ie -->
<name>Geometric - Maltese Cross</name><!-- St. John's Ambulance -->
<icon>cross-maltese.png</icon>
@@ -41,4 +41,4 @@
<svg:polygon style="fill: default" points="7,6 7.5,5 7,4 9,5 8,3 9,3.5 10,3 9,5 11,4 10.5,5 11,6 9,5 10,7 9,6.5 8,7 9,5 "/>
<svg:polygon style="stroke-width: 0.1; stroke: #000000" points="7,6 7.5,5 7,4 9,5 8,3 9,3.5 10,3 9,5 11,4 10.5,5 11,6 9,5 10,7 9,6.5 8,7 9,5 "/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Assorted/cross-swiss.shape b/kivio/kiviopart/stencils/Dia/Assorted/cross-swiss.shape
index 2aeef611..88d86baa 100644
--- a/kivio/kiviopart/stencils/Dia/Assorted/cross-swiss.shape
+++ b/kivio/kiviopart/stencils/Dia/Assorted/cross-swiss.shape
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<!-- Author: Alan Horkan, 2002, mailto:horkana@tcd.ie -->
<name>Geometric - Swiss Cross</name>
<!-- Swiss flag has a white cross on red -->
@@ -59,4 +59,4 @@
<svg:polygon style="fill: default" points="2.55,3.05 2.55,2.55 3.05,2.55 3.05,2.05 3.55,2.05 3.55,2.55 4.05,2.55 4.05,3.05 3.55,3.05 3.55,3.55 3.05,3.55 3.05,3.05 "/>
<svg:polygon style="stroke-width: 0.1; stroke: #000000" points="2.55,3.05 2.55,2.55 3.05,2.55 3.05,2.05 3.55,2.05 3.55,2.55 4.05,2.55 4.05,3.05 3.55,3.05 3.55,3.55 3.05,3.55 3.05,3.05 "/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Assorted/diamond.shape b/kivio/kiviopart/stencils/Dia/Assorted/diamond.shape
index 88948942..a031d369 100644
--- a/kivio/kiviopart/stencils/Dia/Assorted/diamond.shape
+++ b/kivio/kiviopart/stencils/Dia/Assorted/diamond.shape
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<!-- Author: Alan Horkan, 2002, mailto:horkana@tcd.ie -->
<name>Geometric - Diamond</name>
<icon>diamond.png</icon>
@@ -18,4 +18,4 @@
<svg:polygon style="fill: default" points="1,0 2,1 1,2 0,1 "/>
<svg:polygon style="stroke-width: 0.1; stroke: #000000" points="1,0 2,1 1,2 0,1 "/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Assorted/heptagon.shape b/kivio/kiviopart/stencils/Dia/Assorted/heptagon.shape
index ea2c2400..ecfac8e2 100644
--- a/kivio/kiviopart/stencils/Dia/Assorted/heptagon.shape
+++ b/kivio/kiviopart/stencils/Dia/Assorted/heptagon.shape
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<!-- Author: Alan Horkan, 2002, mailto:horkana@tcd.ie -->
<name>Geometric - Heptagon</name>
<icon>heptagon.png</icon>
@@ -36,4 +36,4 @@
<svg:polygon style="fill: #ffffff" points="0,6 0.5,2 5,0 9.5,2 10,6 7.5,9.5 2.5,9.5 "/>
<svg:polygon style="stroke-width: 0.1; stroke: #000000" points="0,6 0.5,2 5,0 9.5,2 10,6 7.5,9.5 2.5,9.5 "/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Assorted/hexagon.shape b/kivio/kiviopart/stencils/Dia/Assorted/hexagon.shape
index a21aa220..71bedc8d 100644
--- a/kivio/kiviopart/stencils/Dia/Assorted/hexagon.shape
+++ b/kivio/kiviopart/stencils/Dia/Assorted/hexagon.shape
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<!-- Author: Alan Horkan, 2002, mailto:horkana@tcd.ie -->
<name>Geometric - Hexagon</name>
<icon>hexagon.png</icon>
@@ -32,4 +32,4 @@
<svg:polygon style="fill: default" points="1.5,1 3,1 4,2.5 3,4 1.5,4 0.5,2.5 "/>
<svg:polygon style="stroke-width: 0.1; stroke: #000000" points="1.5,1 3,1 4,2.5 3,4 1.5,4 0.5,2.5 "/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Assorted/octagon.shape b/kivio/kiviopart/stencils/Dia/Assorted/octagon.shape
index c0dceb97..794cd4b8 100644
--- a/kivio/kiviopart/stencils/Dia/Assorted/octagon.shape
+++ b/kivio/kiviopart/stencils/Dia/Assorted/octagon.shape
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<!-- Author: Alan Horkan, 2002, mailto:horkana@tcd.ie -->
<name>Geometric - Octagon</name>
<icon>octagon.png</icon>
@@ -25,4 +25,4 @@
<svg:polygon style="fill: default" points="3.55,2.05 5.05,2.05 6.05,3.05 6.05,4.55 5.05,5.55 3.55,5.55 2.55,4.55 2.55,3.05 "/>
<svg:polygon style="stroke-width: 0.1; stroke: #000000" points="3.55,2.05 5.05,2.05 6.05,3.05 6.05,4.55 5.05,5.55 3.55,5.55 2.55,4.55 2.55,3.05 "/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Assorted/parallelogram-horizontal.shape b/kivio/kiviopart/stencils/Dia/Assorted/parallelogram-horizontal.shape
index 1c37662b..b85fa737 100644
--- a/kivio/kiviopart/stencils/Dia/Assorted/parallelogram-horizontal.shape
+++ b/kivio/kiviopart/stencils/Dia/Assorted/parallelogram-horizontal.shape
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<!-- Author: Alan Horkan, 2002, mailto:horkana@tcd.ie -->
<name>Geometric -Qt::Horizontal Parallelogram</name>
<icon>parallelogram-horizontal.png</icon>
@@ -24,4 +24,4 @@
<svg:polygon style="fill: default" points="1,0 2,0 1,1 0,1 "/>
<svg:polygon style="stroke-width: 0.1; stroke: #000000" points="1,0 2,0 1,1 0,1 "/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Assorted/parallelogram-vertical.shape b/kivio/kiviopart/stencils/Dia/Assorted/parallelogram-vertical.shape
index 0f344091..d5794080 100644
--- a/kivio/kiviopart/stencils/Dia/Assorted/parallelogram-vertical.shape
+++ b/kivio/kiviopart/stencils/Dia/Assorted/parallelogram-vertical.shape
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<!-- Author: Alan Horkan, 2002, mailto:horkana@tcd.ie -->
<name>Geometric -Qt::Vertical Parallelogram</name>
<icon>parallelogram-vertical.png</icon>
@@ -24,4 +24,4 @@
<svg:polygon style="fill: default" points="0,1 1,0 1,1 0,2 "/>
<svg:polygon style="stroke-width: 0.1; stroke: #000000" points="0,1 1,0 1,1 0,2 "/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Assorted/pentagon.shape b/kivio/kiviopart/stencils/Dia/Assorted/pentagon.shape
index 89db85e7..a3941127 100644
--- a/kivio/kiviopart/stencils/Dia/Assorted/pentagon.shape
+++ b/kivio/kiviopart/stencils/Dia/Assorted/pentagon.shape
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<!-- Author: Alan Horkan, 2002, mailto:horkana@tcd.ie -->
<name>Geometric - Pentagon</name>
<icon>pentagon.png</icon>
@@ -28,4 +28,4 @@
<svg:polygon style="fill: default" points="0,1.5 2,0 4,1.5 3,3.5 1,3.5 "/>
<svg:polygon style="stroke-width: 0.1; stroke: #000000" points="0,1.5 2,0 4,1.5 3,3.5 1,3.5 "/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Assorted/square.shape b/kivio/kiviopart/stencils/Dia/Assorted/square.shape
index 67d58bf4..e7be1a89 100644
--- a/kivio/kiviopart/stencils/Dia/Assorted/square.shape
+++ b/kivio/kiviopart/stencils/Dia/Assorted/square.shape
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<!-- Author: Alan Horkan, 2002, mailto:horkana@tcd.ie -->
<name>Geometric - Perfect Square</name>
<icon>square.png</icon>
@@ -26,4 +26,4 @@
<svg:rect style="fill: default" x="4.5" y="2.45" width="1.5" height="1.55"/>
<svg:rect style="stroke-width: 0.1; stroke: #000000" x="4.5" y="2.45" width="1.5" height="1.55"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Assorted/star4.shape b/kivio/kiviopart/stencils/Dia/Assorted/star4.shape
index d57432a9..5d66851c 100644
--- a/kivio/kiviopart/stencils/Dia/Assorted/star4.shape
+++ b/kivio/kiviopart/stencils/Dia/Assorted/star4.shape
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<!-- Author: Alan Horkan, 2002, mailto:horkana@tcd.ie -->
<name>Geometric - Four Point Star</name>
<icon>star4.png</icon>
@@ -25,4 +25,4 @@
<svg:polygon style="fill: default" points="0,2.5 1.5,2 2,0.5 2.5,2 4,2.5 2.5,3 2,4.5 1.5,3 "/>
<svg:polygon style="stroke-width: 0.1; stroke: #000000" points="0,2.5 1.5,2 2,0.5 2.5,2 4,2.5 2.5,3 2,4.5 1.5,3 "/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Assorted/star5.shape b/kivio/kiviopart/stencils/Dia/Assorted/star5.shape
index 20d55b99..379b74c6 100644
--- a/kivio/kiviopart/stencils/Dia/Assorted/star5.shape
+++ b/kivio/kiviopart/stencils/Dia/Assorted/star5.shape
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<!-- Author: Alan Horkan, 2002, mailto:horkana@tcd.ie -->
<name>Geometric - Five Point Star</name>
<!-- Eventually decided that it was better to get these done than worry about them being perfect -->
@@ -50,5 +50,5 @@
<svg:polygon style="stroke-width: 0.1; stroke: #000000" points="0,4.5 5,4.5 7,0 9,4.5 14,4.5 10,7.5 12,12.5 7,9 2,12.5 4,7.5 "/>
</svg:svg>
<!-- Alan Horkan was here 2002 -->
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Assorted/star6.shape b/kivio/kiviopart/stencils/Dia/Assorted/star6.shape
index bbaf2853..2c2f5cac 100644
--- a/kivio/kiviopart/stencils/Dia/Assorted/star6.shape
+++ b/kivio/kiviopart/stencils/Dia/Assorted/star6.shape
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<!-- Author: Alan Horkan, 2002, mailto:horkana@tcd.ie -->
<name>Geometric - Six Point Star</name><!-- aka Star of David -->
<icon>star6.png</icon>
@@ -56,4 +56,4 @@
<svg:polygon style="fill: default" points="0,1 1,1 1.5,0 2,1 3,1 2.5,2 3,3 2,3 1.5,4 1,3 0,3 0.5,2 "/>
<svg:polygon style="stroke-width: 0.1; stroke: #000000" points="0,1 1,1 1.5,0 2,1 3,1 2.5,2 3,3 2,3 1.5,4 1,3 0,3 0.5,2 "/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Assorted/star7.shape b/kivio/kiviopart/stencils/Dia/Assorted/star7.shape
index cb008f12..adef753f 100644
--- a/kivio/kiviopart/stencils/Dia/Assorted/star7.shape
+++ b/kivio/kiviopart/stencils/Dia/Assorted/star7.shape
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<!-- Author: Alan Horkan, 2002, mailto:horkana@tcd.ie -->
<name>Geometric - Seven Point Star</name>
<!-- It may not be a perfect Heptagon, but it looks good and it is at least Symmetrical. -->
@@ -65,4 +65,4 @@
<svg:polygon style="fill: default" points="5,0 6.5,2 9,2 8.5,4.5 10,6.5 8,7 7.5,9.5 5,8 2.5,9.5 2,7 0,6.5 1.5,4.5 1,2 3.5,2 "/>
<svg:polygon style="stroke-width: 0.1; stroke: #000000" points="5,0 6.5,2 9,2 8.5,4.5 10,6.5 8,7 7.5,9.5 5,8 2.5,9.5 2,7 0,6.5 1.5,4.5 1,2 3.5,2 "/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Assorted/star8.shape b/kivio/kiviopart/stencils/Dia/Assorted/star8.shape
index b67bdb42..80664b5f 100644
--- a/kivio/kiviopart/stencils/Dia/Assorted/star8.shape
+++ b/kivio/kiviopart/stencils/Dia/Assorted/star8.shape
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<!-- Author: Alan Horkan, 2002, mailto:horkana@tcd.ie -->
<name>Geometric - Eight Point Star</name>
<!-- The points all have Nintey Degree Angles -->
@@ -74,4 +74,4 @@
<svg:polygon style="stroke-width: 0.1; stroke: #000000" points="0,3.5 1,2.5 1,1 2.5,1 3.5,0 4.5,1 6,1 6,2.5 7,3.5 6,4.5 6,6 4.5,6 3.5,7 2.5,6 1,6 1,4.5 "/>
</svg:svg>
<!-- Alan Horkan, 2002, horkana@tcd.ie -->
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Assorted/star8sharp.shape b/kivio/kiviopart/stencils/Dia/Assorted/star8sharp.shape
index c68e257c..1e97b53b 100644
--- a/kivio/kiviopart/stencils/Dia/Assorted/star8sharp.shape
+++ b/kivio/kiviopart/stencils/Dia/Assorted/star8sharp.shape
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<!-- Author: Alan Horkan, 2002, mailto:horkana@tcd.ie -->
<name>Geometric - Sharp Eight Point Star</name>
<!-- Angles in this Star are much sharper, about Thirty degrees -->
@@ -73,5 +73,5 @@
<svg:polygon style="fill: default" points="0,7.5 5,6.5 2.5,2.5 6.5,5 7.5,0 8.5,5 12.5,2.5 10,6.5 15,7.5 10,8.5 12.5,12.5 8.5,10 7.5,15 6.5,10 2.5,12.5 5,8.5 "/>
<svg:polygon style="stroke-width: 0.1; stroke: #000000" points="0,7.5 5,6.5 2.5,2.5 6.5,5 7.5,0 8.5,5 12.5,2.5 10,6.5 15,7.5 10,8.5 12.5,12.5 8.5,10 7.5,15 6.5,10 2.5,12.5 5,8.5 "/>
</svg:svg>
-</shape>
+</tqshape>
<!-- Author: Alan Horkan, 2002, mailto:horkana@tcd.ie -->
diff --git a/kivio/kiviopart/stencils/Dia/Assorted/sun.shape b/kivio/kiviopart/stencils/Dia/Assorted/sun.shape
index 48ae7b4e..b638e315 100644
--- a/kivio/kiviopart/stencils/Dia/Assorted/sun.shape
+++ b/kivio/kiviopart/stencils/Dia/Assorted/sun.shape
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<!-- Author: Alan Horkan, 2002, mailto:horkana@tcd.ie -->
<name>Assorted - Sun</name>
<icon>sun.png</icon>
@@ -94,7 +94,7 @@
<point x="1.25" y="5.5"/>
</connections>
<aspectratio type="fixed"/>
- <!-- I orignally used a nice warm gold colour #ffcc00, but shape files
+ <!-- I orignally used a nice warm gold colour #ffcc00, but tqshape files
have to use default if you want to allow the user to change the fill colour -->
<svg:svg>
<svg:polygon style="fill: default" points="3.5,0 4,1 3,1 "/>
@@ -116,5 +116,5 @@ have to use default if you want to allow the user to change the fill colour -->
<svg:polygon style="fill: default" points="2,5.5 1.5,5 1,6 "/>
<svg:polygon style="stroke-width: 0.1; stroke: #000000" points="2,5.5 1.5,5 1,6 "/>
</svg:svg>
-</shape>
+</tqshape>
<!-- Author: Alan Horkan, 2002, mailto:horkana@tcd.ie -->
diff --git a/kivio/kiviopart/stencils/Dia/Assorted/trapezoid.shape b/kivio/kiviopart/stencils/Dia/Assorted/trapezoid.shape
index fb971a58..474317f5 100644
--- a/kivio/kiviopart/stencils/Dia/Assorted/trapezoid.shape
+++ b/kivio/kiviopart/stencils/Dia/Assorted/trapezoid.shape
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<!-- Author: Alan Horkan, 2002, mailto:horkana@tcd.ie -->
<name>Geometric - Trapezoid</name>
<icon>trapezoid.png</icon>
@@ -18,4 +18,4 @@
<svg:polygon style="fill: #ffffff" points="1,0 3,0 4,2 0,2 "/>
<svg:polygon style="stroke-width: 0.1; stroke: #000000" points="1,0 3,0 4,2 0,2 "/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Assorted/triangle-isoceles.shape b/kivio/kiviopart/stencils/Dia/Assorted/triangle-isoceles.shape
index 2708c5c0..74245a0c 100644
--- a/kivio/kiviopart/stencils/Dia/Assorted/triangle-isoceles.shape
+++ b/kivio/kiviopart/stencils/Dia/Assorted/triangle-isoceles.shape
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<!-- Author: Alan Horkan, 2002, mailto:horkana@tcd.ie -->
<name>Geometric - Isosceles Triangle</name><!-- Triangle with two sides of equal length -->
<icon>triangle-isoceles.png</icon>
@@ -20,4 +20,4 @@
<svg:polygon style="fill: default" points="5.5,4 6.5,6 4.5,6 "/>
<svg:polygon style="stroke-width: 0.1; stroke: #000000" points="5.5,4 6.5,6 4.5,6 "/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Assorted/triangle-rightangle.shape b/kivio/kiviopart/stencils/Dia/Assorted/triangle-rightangle.shape
index 3d7097ac..5d38874a 100644
--- a/kivio/kiviopart/stencils/Dia/Assorted/triangle-rightangle.shape
+++ b/kivio/kiviopart/stencils/Dia/Assorted/triangle-rightangle.shape
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<!-- Author: Alan Horkan, 2002, mailto:horkana@tcd.ie -->
<name>Geometric - Right Angle Triangle</name>
<icon>triangle-rightangle.png</icon>
@@ -18,5 +18,5 @@
<svg:polygon style="fill: #ffffff" points="0,2 2,2 0,0 "/>
<svg:polygon style="stroke-width: 0.1; stroke: #000000" points="0,2 2,2 0,0 "/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Circuit/npn.shape b/kivio/kiviopart/stencils/Dia/Circuit/npn.shape
index d0636820..d57fe166 100644
--- a/kivio/kiviopart/stencils/Dia/Circuit/npn.shape
+++ b/kivio/kiviopart/stencils/Dia/Circuit/npn.shape
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Circuit - NPN Transistor</name>
<!--
@@ -24,5 +24,5 @@
<svg:polyline points="5,4 6,4 5.6154,3.0769" />
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Circuit/opamp.shape b/kivio/kiviopart/stencils/Dia/Circuit/opamp.shape
index f6e83ce1..756cf865 100644
--- a/kivio/kiviopart/stencils/Dia/Circuit/opamp.shape
+++ b/kivio/kiviopart/stencils/Dia/Circuit/opamp.shape
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Circuit - Op Amp</name>
<description>An operational amplifier</description>
@@ -22,5 +22,5 @@
<svg:line x1="1.2" y1="1" x2="2" y2="1" />
<svg:line x1="4.5" y1="0" x2="5.5" y2="0" />
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Circuit/pnp.shape b/kivio/kiviopart/stencils/Dia/Circuit/pnp.shape
index 3e0e59ef..c89b7832 100644
--- a/kivio/kiviopart/stencils/Dia/Circuit/pnp.shape
+++ b/kivio/kiviopart/stencils/Dia/Circuit/pnp.shape
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Circuit - PNP Transistor</name>
<!--
@@ -24,5 +24,5 @@
<svg:polyline points="4,2 3,2 3.3846,2.9231" />
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Civil/civil_arrow_right.shape b/kivio/kiviopart/stencils/Dia/Civil/civil_arrow_right.shape
index 9032094b..66f3b1ba 100644
--- a/kivio/kiviopart/stencils/Dia/Civil/civil_arrow_right.shape
+++ b/kivio/kiviopart/stencils/Dia/Civil/civil_arrow_right.shape
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Civil - Right Arrow</name>
@@ -78,5 +78,5 @@ xmlns:svg="http://www.w3.org/2000/svg">
<svg:polygon style="stroke-width: 1; stroke: foreground"
points="0,0.5 1.5,0.5 2,0.5 2,0 3,1 2,2 2,1.5 0,1.5 " />
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Civil/civil_arrow_up.shape b/kivio/kiviopart/stencils/Dia/Civil/civil_arrow_up.shape
index b1a15619..2053db21 100644
--- a/kivio/kiviopart/stencils/Dia/Civil/civil_arrow_up.shape
+++ b/kivio/kiviopart/stencils/Dia/Civil/civil_arrow_up.shape
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Civil - Up Arrow</name>
@@ -76,5 +76,5 @@ xmlns:svg="http://www.w3.org/2000/svg">
<svg:polygon style="stroke-width: 1; stroke: foreground"
points="0.5,3 0.5,1 0,1 1,0 1,0 2,1 1.5,1 1.5,3 " />
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Civil/civil_backflow_preventer.shape b/kivio/kiviopart/stencils/Dia/Civil/civil_backflow_preventer.shape
index 9168966d..5abe7185 100644
--- a/kivio/kiviopart/stencils/Dia/Civil/civil_backflow_preventer.shape
+++ b/kivio/kiviopart/stencils/Dia/Civil/civil_backflow_preventer.shape
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Civil - Backflow Preventer</name>
@@ -55,5 +55,5 @@ xmlns:svg="http://www.w3.org/2000/svg">
<svg:line style="stroke-width: 1; stroke: #000000" x1="0.2"
y1="0.8" x2="0.8" y2="0.2" />
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Civil/civil_basin.shape b/kivio/kiviopart/stencils/Dia/Civil/civil_basin.shape
index ea4d47a9..0d7c4231 100644
--- a/kivio/kiviopart/stencils/Dia/Civil/civil_basin.shape
+++ b/kivio/kiviopart/stencils/Dia/Civil/civil_basin.shape
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Civil - Basin</name>
@@ -74,5 +74,5 @@ xmlns:svg="http://www.w3.org/2000/svg">
<svg:polygon style="stroke-width: 1; stroke: #000000"
points="0,0 0.2,0 0.2,2.8 4.8,2.8 4.8,0 5,0 5,3 0,3 " />
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Civil/civil_final-settling_basin.shape b/kivio/kiviopart/stencils/Dia/Civil/civil_final-settling_basin.shape
index 84a2002f..5add8f35 100644
--- a/kivio/kiviopart/stencils/Dia/Civil/civil_final-settling_basin.shape
+++ b/kivio/kiviopart/stencils/Dia/Civil/civil_final-settling_basin.shape
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Civil - Final-Settling Basin</name>
@@ -106,5 +106,5 @@ xmlns:svg="http://www.w3.org/2000/svg">
style="stroke-width: 1; stroke: foreground; fill: background"
points="0,0 0.3,0 0.3,1.9 1.4,3.7 1.6,3.7 2.7,1.9 2.7,0 3,0 3,2 1.8,4 1.2,4 0,2 " />
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Civil/civil_frequency_converter.shape b/kivio/kiviopart/stencils/Dia/Civil/civil_frequency_converter.shape
index ac143720..bdfcb107 100644
--- a/kivio/kiviopart/stencils/Dia/Civil/civil_frequency_converter.shape
+++ b/kivio/kiviopart/stencils/Dia/Civil/civil_frequency_converter.shape
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Civil - Frequency Converter</name>
@@ -57,5 +57,5 @@ xmlns:svg="http://www.w3.org/2000/svg">
<svg:line style="stroke-width: 1; stroke: #000000" x1="0" y1="2"
x2="3" y2="0" />
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Civil/civil_horizontal_valve.shape b/kivio/kiviopart/stencils/Dia/Civil/civil_horizontal_valve.shape
index 83d94349..bbe4d3dc 100644
--- a/kivio/kiviopart/stencils/Dia/Civil/civil_horizontal_valve.shape
+++ b/kivio/kiviopart/stencils/Dia/Civil/civil_horizontal_valve.shape
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Civil -Qt::Horizontal Valve</name>
@@ -62,5 +62,5 @@ xmlns:svg="http://www.w3.org/2000/svg">
<svg:polygon style="stroke-width: 1; stroke: foreground"
points="0,1 0,0 0.5,0.5 1,0 1,1 0.5,0.5 " />
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Civil/civil_motor.shape b/kivio/kiviopart/stencils/Dia/Civil/civil_motor.shape
index 270628be..beec8aa1 100644
--- a/kivio/kiviopart/stencils/Dia/Civil/civil_motor.shape
+++ b/kivio/kiviopart/stencils/Dia/Civil/civil_motor.shape
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Civil - Motor</name>
@@ -53,5 +53,5 @@ xmlns:svg="http://www.w3.org/2000/svg">
<svg:polyline style="stroke-width: 1; stroke: #000000"
points="0.3,0.7 0.3,0.3 0.5,0.5 0.7,0.3 0.7,0.7 " />
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Civil/civil_preliminary_clarification_tank.shape b/kivio/kiviopart/stencils/Dia/Civil/civil_preliminary_clarification_tank.shape
index 36c4f89b..c78f62f0 100644
--- a/kivio/kiviopart/stencils/Dia/Civil/civil_preliminary_clarification_tank.shape
+++ b/kivio/kiviopart/stencils/Dia/Civil/civil_preliminary_clarification_tank.shape
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Civil - Preliminary Clarification Tank</name>
@@ -257,5 +257,5 @@ xmlns:svg="http://www.w3.org/2000/svg">
<svg:line style="stroke-width: 0.5; stroke: #000000" x1="3.4"
y1="0.4" x2="5.8" y2="0.4" />
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Civil/civil_rotor.shape b/kivio/kiviopart/stencils/Dia/Civil/civil_rotor.shape
index 4f0f98df..a721ed0e 100644
--- a/kivio/kiviopart/stencils/Dia/Civil/civil_rotor.shape
+++ b/kivio/kiviopart/stencils/Dia/Civil/civil_rotor.shape
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Civil - Rotor</name>
@@ -104,5 +104,5 @@ xmlns:svg="http://www.w3.org/2000/svg">
<svg:line style="stroke-width: 1; stroke: #000000" x1="2.20711"
y1="0.792893" x2="2.56066" y2="0.43934" />
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Civil/civil_soil.shape b/kivio/kiviopart/stencils/Dia/Civil/civil_soil.shape
index a658df14..03f859e5 100644
--- a/kivio/kiviopart/stencils/Dia/Civil/civil_soil.shape
+++ b/kivio/kiviopart/stencils/Dia/Civil/civil_soil.shape
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Civil - Soil</name>
@@ -71,5 +71,5 @@ xmlns:svg="http://www.w3.org/2000/svg">
<svg:line style="stroke-width: 0.8; stroke: foreground"
x1="2.36192" y1="0" x2="1.75837" y2="1" />
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Contact/c_if.shape b/kivio/kiviopart/stencils/Dia/Contact/c_if.shape
index 57cdbdb7..43b9495f 100644
--- a/kivio/kiviopart/stencils/Dia/Contact/c_if.shape
+++ b/kivio/kiviopart/stencils/Dia/Contact/c_if.shape
@@ -1,6 +1,6 @@
<?xml version="1.0"?> <!-- -*- xml -*- -->
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Contact - if</name> <!-- XXX - OBSOLETE -->
<description>if</description>
@@ -18,6 +18,6 @@
<svg:polyline points="-2,0 -.75,0" />
<svg:polyline points="-1,1 1,0 2,0 "/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Contact/c_ifnot.shape b/kivio/kiviopart/stencils/Dia/Contact/c_ifnot.shape
index d8ae4d62..667e75f6 100644
--- a/kivio/kiviopart/stencils/Dia/Contact/c_ifnot.shape
+++ b/kivio/kiviopart/stencils/Dia/Contact/c_ifnot.shape
@@ -1,6 +1,6 @@
<?xml version="1.0"?> <!-- -*- xml -*- -->
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Contact - ifnot</name> <!-- XXX - OBSOLETE -->
<description>if not</description>
@@ -20,6 +20,6 @@
<svg:line x1="-.5" y1="-2.2" x2=".5" y2="-2.2"
svg:style="stroke-width:.05"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Contact/c_lamp.shape b/kivio/kiviopart/stencils/Dia/Contact/c_lamp.shape
index 15cc5257..1e3d1042 100644
--- a/kivio/kiviopart/stencils/Dia/Contact/c_lamp.shape
+++ b/kivio/kiviopart/stencils/Dia/Contact/c_lamp.shape
@@ -1,6 +1,6 @@
<?xml version="1.0"?> <!-- -*- xml -*- -->
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Contact - lamp</name> <!-- XXX OBSOLETE -->
<description>lamp</description>
@@ -20,6 +20,6 @@
<svg:polyline points="-.707,-.707 .707,.707"/>
<svg:polyline points="-.707,.707 .707,-.707"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Contact/c_relay.shape b/kivio/kiviopart/stencils/Dia/Contact/c_relay.shape
index f933cf5b..4016df10 100644
--- a/kivio/kiviopart/stencils/Dia/Contact/c_relay.shape
+++ b/kivio/kiviopart/stencils/Dia/Contact/c_relay.shape
@@ -1,6 +1,6 @@
<?xml version="1.0"?> <!-- -*- xml -*- -->
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Contact - relay</name> <!-- XXX OBSOLETE -->
<description>relay</description>
@@ -21,6 +21,6 @@
<svg:rect x="-1" y="-1" width="2" height="2"/>
<svg:polyline points="-1,.5 1,-.5"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Contact/l_ifnot.shape b/kivio/kiviopart/stencils/Dia/Contact/l_ifnot.shape
index a58db432..1a7fd4e7 100644
--- a/kivio/kiviopart/stencils/Dia/Contact/l_ifnot.shape
+++ b/kivio/kiviopart/stencils/Dia/Contact/l_ifnot.shape
@@ -1,6 +1,6 @@
<?xml version="1.0"?> <!-- -*- xml -*- -->
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>LADDER - ifnot</name>
<description>if not</description>
@@ -23,4 +23,4 @@
<svg:line x1="-.5" y1="-2.2" x2=".5" y2="-2.2"
svg:style="stroke-width:.05"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Contact/l_out.shape b/kivio/kiviopart/stencils/Dia/Contact/l_out.shape
index f595cb6a..124c3069 100644
--- a/kivio/kiviopart/stencils/Dia/Contact/l_out.shape
+++ b/kivio/kiviopart/stencils/Dia/Contact/l_out.shape
@@ -1,6 +1,6 @@
<?xml version="1.0"?> <!-- -*- xml -*- -->
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>LADDER - out</name>
<description>out</description>
@@ -22,6 +22,6 @@
<svg:path d="M .5,.75 C .75,.5 .75,.25 .75,0
C .75,-.25 .75,-.5 .5,-.75" />
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Contact/l_outj.shape b/kivio/kiviopart/stencils/Dia/Contact/l_outj.shape
index 427fd724..49060cdf 100644
--- a/kivio/kiviopart/stencils/Dia/Contact/l_outj.shape
+++ b/kivio/kiviopart/stencils/Dia/Contact/l_outj.shape
@@ -1,6 +1,6 @@
<?xml version="1.0"?> <!-- -*- xml -*- -->
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>LADDER - outj</name>
<description>out jump</description>
@@ -25,6 +25,6 @@
C .25,.5 .5,.5 .5,.25
L .5,-.5"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Contact/l_outnot.shape b/kivio/kiviopart/stencils/Dia/Contact/l_outnot.shape
index 15c078bd..5a360fc5 100644
--- a/kivio/kiviopart/stencils/Dia/Contact/l_outnot.shape
+++ b/kivio/kiviopart/stencils/Dia/Contact/l_outnot.shape
@@ -1,6 +1,6 @@
<?xml version="1.0"?> <!-- -*- xml -*- -->
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>LADDER - outnot</name>
<description>outnot</description>
@@ -23,6 +23,6 @@
C .75,-.25 .75,-.5 .5,-.75" />
<svg:polyline points="-.5,.5 .5,-.5"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Contact/l_outr.shape b/kivio/kiviopart/stencils/Dia/Contact/l_outr.shape
index 830eaae1..94761257 100644
--- a/kivio/kiviopart/stencils/Dia/Contact/l_outr.shape
+++ b/kivio/kiviopart/stencils/Dia/Contact/l_outr.shape
@@ -1,6 +1,6 @@
<?xml version="1.0"?> <!-- -*- xml -*- -->
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>LADDER - outr</name>
<description>out reset</description>
@@ -28,6 +28,6 @@
<svg:polyline points="-.5,0 0,0" />
<svg:path d="M -.25,0 C 0,.25 0,.25 .5,.5"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Contact/l_outs.shape b/kivio/kiviopart/stencils/Dia/Contact/l_outs.shape
index 03cf0f4f..2ef92bd0 100644
--- a/kivio/kiviopart/stencils/Dia/Contact/l_outs.shape
+++ b/kivio/kiviopart/stencils/Dia/Contact/l_outs.shape
@@ -1,6 +1,6 @@
<?xml version="1.0"?> <!-- -*- xml -*- -->
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>LADDER - outs</name>
<description>out set</description>
@@ -28,6 +28,6 @@
C .5,.5 .25,.5 0,.5
C -.25,.5 -.5,.5 -.5,.25"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Contact/l_sout.shape b/kivio/kiviopart/stencils/Dia/Contact/l_sout.shape
index 6635c317..db9a6228 100644
--- a/kivio/kiviopart/stencils/Dia/Contact/l_sout.shape
+++ b/kivio/kiviopart/stencils/Dia/Contact/l_sout.shape
@@ -1,6 +1,6 @@
<?xml version="1.0"?> <!-- -*- xml -*- -->
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>LADDER - sout</name>
<description>ps out</description>
@@ -28,7 +28,7 @@
<svg:path d="M 1.25,-1.125
C 1.375,-1 1.625,-1 1.75,-1.125"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Contact/l_soutnot.shape b/kivio/kiviopart/stencils/Dia/Contact/l_soutnot.shape
index 45fc49a4..5a2f6f18 100644
--- a/kivio/kiviopart/stencils/Dia/Contact/l_soutnot.shape
+++ b/kivio/kiviopart/stencils/Dia/Contact/l_soutnot.shape
@@ -1,6 +1,6 @@
<?xml version="1.0"?> <!-- -*- xml -*- -->
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>LADDER - soutnot</name>
<description>ps outnot</description>
@@ -29,6 +29,6 @@
<svg:path d="M 1.25,-1.125
C 1.375,-1 1.625,-1 1.75,-1.125"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Contact/l_soutr.shape b/kivio/kiviopart/stencils/Dia/Contact/l_soutr.shape
index f2c48f8f..8d54e7be 100644
--- a/kivio/kiviopart/stencils/Dia/Contact/l_soutr.shape
+++ b/kivio/kiviopart/stencils/Dia/Contact/l_soutr.shape
@@ -1,6 +1,6 @@
<?xml version="1.0"?> <!-- -*- xml -*- -->
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>LADDER - soutr</name>
<description>ps out reset</description>
@@ -34,7 +34,7 @@
<svg:path d="M 1.25,-1.125
C 1.375,-1 1.625,-1 1.75,-1.125"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Contact/l_souts.shape b/kivio/kiviopart/stencils/Dia/Contact/l_souts.shape
index 32520cae..0cd35bbb 100644
--- a/kivio/kiviopart/stencils/Dia/Contact/l_souts.shape
+++ b/kivio/kiviopart/stencils/Dia/Contact/l_souts.shape
@@ -1,6 +1,6 @@
<?xml version="1.0"?> <!-- -*- xml -*- -->
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>LADDER - souts</name>
<description>ps out set</description>
@@ -34,6 +34,6 @@
<svg:path d="M 1.25,-1.125
C 1.375,-1 1.625,-1 1.75,-1.125"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Electric/command.shape b/kivio/kiviopart/stencils/Dia/Electric/command.shape
index b76f2aa9..7ea6d2b8 100644
--- a/kivio/kiviopart/stencils/Dia/Electric/command.shape
+++ b/kivio/kiviopart/stencils/Dia/Electric/command.shape
@@ -1,6 +1,6 @@
<?xml version="1.0"?> <!-- -*- xml -*- -->
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Electric - command</name>
<description>command</description>
@@ -18,7 +18,7 @@
<svg:line x1="0" y1=".5" x2="1" y2=".5"/>
<svg:rect x=".3" y=".2" width=".4" height=".6" svg:style="fill:background"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Electric/contact_f.shape b/kivio/kiviopart/stencils/Dia/Electric/contact_f.shape
index 43208f14..31057db1 100644
--- a/kivio/kiviopart/stencils/Dia/Electric/contact_f.shape
+++ b/kivio/kiviopart/stencils/Dia/Electric/contact_f.shape
@@ -1,6 +1,6 @@
<?xml version="1.0"?> <!-- -*- xml -*- -->
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Electric - contact_f</name>
<description>contact_f</description>
@@ -18,6 +18,6 @@
<svg:polyline points="0,.5 .3,.5 .3,.3"/>
<svg:polyline points="1,.5 .7,.5 .25,.275"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Electric/contact_o.shape b/kivio/kiviopart/stencils/Dia/Electric/contact_o.shape
index d2bea36d..ee1b2787 100644
--- a/kivio/kiviopart/stencils/Dia/Electric/contact_o.shape
+++ b/kivio/kiviopart/stencils/Dia/Electric/contact_o.shape
@@ -1,6 +1,6 @@
<?xml version="1.0"?> <!-- -*- xml -*- -->
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Electric - contact_o</name>
<description>contact_o</description>
@@ -17,6 +17,6 @@
<svg:line x1="0" y1=".5" x2=".3" y2=".5"/>
<svg:polyline points="1,.5 .7,.5 .3,.7"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Electric/intpos_f.shape b/kivio/kiviopart/stencils/Dia/Electric/intpos_f.shape
index 87aa6861..081ae768 100644
--- a/kivio/kiviopart/stencils/Dia/Electric/intpos_f.shape
+++ b/kivio/kiviopart/stencils/Dia/Electric/intpos_f.shape
@@ -1,6 +1,6 @@
<?xml version="1.0"?> <!-- -*- xml -*- -->
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Electric - intpos_f</name>
<description>intpos_f</description>
@@ -20,6 +20,6 @@
<svg:polyline points="1,.5 .7,.5 .25,.275"/>
<svg:polyline points=".6,.45 .35,.45 .4,.35"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Electric/intpos_o.shape b/kivio/kiviopart/stencils/Dia/Electric/intpos_o.shape
index ceb72cb5..086de61b 100644
--- a/kivio/kiviopart/stencils/Dia/Electric/intpos_o.shape
+++ b/kivio/kiviopart/stencils/Dia/Electric/intpos_o.shape
@@ -1,6 +1,6 @@
<?xml version="1.0"?> <!-- -*- xml -*- -->
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Electric - intpos_o</name>
<description>intpos_o</description>
@@ -19,6 +19,6 @@
<svg:polyline points="1,.5 .7,.5 .3,.7"/>
<svg:polyline points=".6,.55 .45,.75 .4,.65"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Electric/relay.shape b/kivio/kiviopart/stencils/Dia/Electric/relay.shape
index 0d506ff9..0a9461fb 100644
--- a/kivio/kiviopart/stencils/Dia/Electric/relay.shape
+++ b/kivio/kiviopart/stencils/Dia/Electric/relay.shape
@@ -1,6 +1,6 @@
<?xml version="1.0"?> <!-- -*- xml -*- -->
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Electric - relay</name>
<description>relay</description>
@@ -19,7 +19,7 @@
<svg:rect x=".3" y=".2" width=".4" height=".6" svg:style="fill:background"/>
<svg:line x1=".3" y1=".6" x2=".7" y2=".4"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/MSE/demultiplexer.shape b/kivio/kiviopart/stencils/Dia/MSE/demultiplexer.shape
index ea8ee9bf..4f8d788c 100644
--- a/kivio/kiviopart/stencils/Dia/MSE/demultiplexer.shape
+++ b/kivio/kiviopart/stencils/Dia/MSE/demultiplexer.shape
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Demultiplexer</name>
<description>Demultiplexer</description>
@@ -24,4 +24,4 @@
<svg:line x1="10" y1="5" x2="0" y2="10"/>
<svg:line x1="0" y1="0" x2="0" y2="10"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/MSE/large_extension_node.shape b/kivio/kiviopart/stencils/Dia/MSE/large_extension_node.shape
index 364565ff..96f90015 100644
--- a/kivio/kiviopart/stencils/Dia/MSE/large_extension_node.shape
+++ b/kivio/kiviopart/stencils/Dia/MSE/large_extension_node.shape
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Large Extension Node</name>
<description>Large Extension Node</description>
@@ -26,5 +26,5 @@
<svg:line x1="1" y1="1" x2="1" y2="5"/>
<svg:line x1="7" y1="1" x2="7" y2="5"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/MSE/multiplexer.shape b/kivio/kiviopart/stencils/Dia/MSE/multiplexer.shape
index 371eef0d..9483a7df 100644
--- a/kivio/kiviopart/stencils/Dia/MSE/multiplexer.shape
+++ b/kivio/kiviopart/stencils/Dia/MSE/multiplexer.shape
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Multiplexer</name>
<description>Multiplexer</description>
@@ -24,4 +24,4 @@
<svg:line x1="0" y1="5" x2="10" y2="10"/>
<svg:line x1="10" y1="0" x2="10" y2="10"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/MSE/node_center.shape b/kivio/kiviopart/stencils/Dia/MSE/node_center.shape
index 31a84511..3f59d4ca 100644
--- a/kivio/kiviopart/stencils/Dia/MSE/node_center.shape
+++ b/kivio/kiviopart/stencils/Dia/MSE/node_center.shape
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Node Center</name>
<description>Node Center</description>
@@ -22,4 +22,4 @@
<svg:line x1="5" y1="10" x2="9.330126" y2="2.5"/>
<svg:line x1="0.669874" y1="2.5" x2="9.330126" y2="2.5"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/MSE/small_extension_node.shape b/kivio/kiviopart/stencils/Dia/MSE/small_extension_node.shape
index 19a8b68e..1513e25b 100644
--- a/kivio/kiviopart/stencils/Dia/MSE/small_extension_node.shape
+++ b/kivio/kiviopart/stencils/Dia/MSE/small_extension_node.shape
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Small Extension Node</name>
<description>Small Extension Node</description>
@@ -21,5 +21,5 @@
<svg:line x1="0" y1="0" x2="0" y2="6"/>
<svg:line x1="8" y1="0" x2="8" y2="6"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/MSE/tacsat.shape b/kivio/kiviopart/stencils/Dia/MSE/tacsat.shape
index 2964a28b..411bd80a 100644
--- a/kivio/kiviopart/stencils/Dia/MSE/tacsat.shape
+++ b/kivio/kiviopart/stencils/Dia/MSE/tacsat.shape
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Tactical Satellite Communications Terminal</name>
<description>Tactical Satellite Communications Terminal</description>
@@ -24,4 +24,4 @@
<svg:path d="M 3,0 C 0.5,2.5 8.5,10.5 11,8"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Network/dat_external.shape b/kivio/kiviopart/stencils/Dia/Network/dat_external.shape
index 39d6a058..c768f038 100644
--- a/kivio/kiviopart/stencils/Dia/Network/dat_external.shape
+++ b/kivio/kiviopart/stencils/Dia/Network/dat_external.shape
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Network - An external DAT drive</name>
<icon>dat_external.xpm</icon>
@@ -33,4 +33,4 @@
<svg:line style="stroke-width: 0.1; stroke: #000000" x1="13.5" y1="6" x2="1.5" y2="6"/>
<svg:line style="stroke-width: 0.1; stroke: #000000" x1="1.5" y1="6.5" x2="13.5" y2="6.5"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Network/digitizing_board.shape b/kivio/kiviopart/stencils/Dia/Network/digitizing_board.shape
index 0b7f7ded..7b2b8e22 100644
--- a/kivio/kiviopart/stencils/Dia/Network/digitizing_board.shape
+++ b/kivio/kiviopart/stencils/Dia/Network/digitizing_board.shape
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<name>Network - Digitizing Board</name>
<icon>digitizing_board.png</icon>
<connections>
@@ -30,4 +30,4 @@
<svg:rect style="fill: #4c4c4c" x="10" y="9" width="3" height="0.5"/>
<svg:rect style="stroke-width: 0.1; stroke: foreground" x="10" y="9" width="3" height="0.5"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Network/diskette.shape b/kivio/kiviopart/stencils/Dia/Network/diskette.shape
index 904760e0..280da134 100644
--- a/kivio/kiviopart/stencils/Dia/Network/diskette.shape
+++ b/kivio/kiviopart/stencils/Dia/Network/diskette.shape
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Network - A Diskette</name>
<icon>diskette.xpm</icon>
@@ -35,4 +35,4 @@
<svg:line style="stroke-width: 0.1; stroke: #000000" x1="3" y1="6" x2="13" y2="6"/>
<svg:line style="stroke-width: 0.1; stroke: #000000" x1="13" y1="8" x2="3" y2="8"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Network/firewall.shape b/kivio/kiviopart/stencils/Dia/Network/firewall.shape
index ea128a59..53734fbc 100644
--- a/kivio/kiviopart/stencils/Dia/Network/firewall.shape
+++ b/kivio/kiviopart/stencils/Dia/Network/firewall.shape
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Network - Firewall</name>
<icon>firewall.xpm</icon>
@@ -78,4 +78,4 @@
<svg:polyline style="stroke:foreground; stroke-width:.5"
points="0,0 .125,-.125 1.125,-.125,1.125,1.875 1,2 0,2 0,0"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Network/hub.shape b/kivio/kiviopart/stencils/Dia/Network/hub.shape
index 62c624f1..b2faadbb 100644
--- a/kivio/kiviopart/stencils/Dia/Network/hub.shape
+++ b/kivio/kiviopart/stencils/Dia/Network/hub.shape
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Network - Hub</name>
<icon>hub.xpm</icon>
@@ -37,5 +37,5 @@
<svg:rect style="stroke:none; fill:foreground"
x="4" y=".75" width=".25" height=".24"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Network/mobile_phone.shape b/kivio/kiviopart/stencils/Dia/Network/mobile_phone.shape
index ba006a8f..431c5efd 100644
--- a/kivio/kiviopart/stencils/Dia/Network/mobile_phone.shape
+++ b/kivio/kiviopart/stencils/Dia/Network/mobile_phone.shape
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Network - A Mobile Phone</name>
<icon>mobile_phone.xpm</icon>
@@ -59,4 +59,4 @@
<svg:rect style="fill: #d0f4e5" x="5.5" y="11.5" width="2" height="2"/>
<svg:rect style="stroke-width: 0.1; stroke: #000000" x="5.5" y="11.5" width="2" height="2"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Network/monitor.shape b/kivio/kiviopart/stencils/Dia/Network/monitor.shape
index 66fc1734..fcc21c3a 100644
--- a/kivio/kiviopart/stencils/Dia/Network/monitor.shape
+++ b/kivio/kiviopart/stencils/Dia/Network/monitor.shape
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Network - A Workstation Monitor</name>
<icon>monitor.xpm</icon>
@@ -28,4 +28,4 @@
<svg:rect style="fill: #d9d9cd" x="3" y="17" width="12" height="1"/>
<svg:rect style="stroke-width: 0.1; stroke: #000000" x="3" y="17" width="12" height="1"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Network/pc_bigtower.shape b/kivio/kiviopart/stencils/Dia/Network/pc_bigtower.shape
index 639f4b7a..2b2025ea 100644
--- a/kivio/kiviopart/stencils/Dia/Network/pc_bigtower.shape
+++ b/kivio/kiviopart/stencils/Dia/Network/pc_bigtower.shape
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Network - A Bigtower PC</name>
<icon>pc_bigtower.xpm</icon>
@@ -63,4 +63,4 @@
<svg:line style="stroke-width: 0.1; stroke: #000000" x1="2.5" y1="23.5" x2="11.5" y2="23.5"/>
<svg:line style="stroke-width: 0.1; stroke: #000000" x1="11.5" y1="23" x2="2.5" y2="23"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Network/pc_desktop.shape b/kivio/kiviopart/stencils/Dia/Network/pc_desktop.shape
index 5847b063..7a3c7455 100644
--- a/kivio/kiviopart/stencils/Dia/Network/pc_desktop.shape
+++ b/kivio/kiviopart/stencils/Dia/Network/pc_desktop.shape
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Network - A Desktop PC</name>
<icon>pc_desktop.xpm</icon>
@@ -49,4 +49,4 @@
<svg:line style="stroke-width: 0.1; stroke: #000000" x1="11.5" y1="5.5" x2="11.5" y2="5"/>
<svg:line style="stroke-width: 0.1; stroke: #000000" x1="11.5" y1="1.5" x2="11.5" y2="1"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Network/pc_miditower.shape b/kivio/kiviopart/stencils/Dia/Network/pc_miditower.shape
index daed926e..409c6e12 100644
--- a/kivio/kiviopart/stencils/Dia/Network/pc_miditower.shape
+++ b/kivio/kiviopart/stencils/Dia/Network/pc_miditower.shape
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Network - A Midi-tower PC</name>
<icon>pc_miditower.xpm</icon>
@@ -54,4 +54,4 @@
<svg:line style="stroke-width: 0.1; stroke: #000000" x1="2.5" y1="17" x2="11.5" y2="17"/>
<svg:line style="stroke-width: 0.1; stroke: #000000" x1="11.5" y1="16.5" x2="2.5" y2="16.5"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Network/pc_minitower.shape b/kivio/kiviopart/stencils/Dia/Network/pc_minitower.shape
index 683e4ee1..6b33ec5f 100644
--- a/kivio/kiviopart/stencils/Dia/Network/pc_minitower.shape
+++ b/kivio/kiviopart/stencils/Dia/Network/pc_minitower.shape
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Network - A Minitower PC</name>
<icon>pc_minitower.xpm</icon>
@@ -52,4 +52,4 @@
<svg:line style="stroke-width: 0.1; stroke: #000000" x1="2" y1="8" x2="2.5" y2="8"/>
<svg:line style="stroke-width: 0.1; stroke: #000000" x1="6" y1="8" x2="6.5" y2="8"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Network/plotter.shape b/kivio/kiviopart/stencils/Dia/Network/plotter.shape
index ed64d2eb..3c0cc737 100644
--- a/kivio/kiviopart/stencils/Dia/Network/plotter.shape
+++ b/kivio/kiviopart/stencils/Dia/Network/plotter.shape
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<name>Network - Plotter</name>
<icon>plotter.png</icon>
<connections>
@@ -41,4 +41,4 @@
<svg:polyline style="stroke-width: 0.1; stroke: foreground" points="12.5,10.5 12.5,7.5 13.5,7.5 13.5,10.5 "/>
<svg:polyline style="stroke-width: 0.1; stroke: foreground" points="14,10.5 14,7.5 15,7.5 15,10.5 "/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Network/workstation.shape b/kivio/kiviopart/stencils/Dia/Network/workstation.shape
index 109a0651..19003b8e 100644
--- a/kivio/kiviopart/stencils/Dia/Network/workstation.shape
+++ b/kivio/kiviopart/stencils/Dia/Network/workstation.shape
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Network - A Workstation</name>
<icon>workstation.xpm</icon>
@@ -56,4 +56,4 @@
<svg:rect style="fill: #cdcdcd" x="5" y="2" width="9" height="1"/>
<svg:rect style="stroke-width: 0.1; stroke: #000000" x="5" y="2" width="9" height="1"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Network/zip-disk.shape b/kivio/kiviopart/stencils/Dia/Network/zip-disk.shape
index c071d1ca..e317f3e1 100644
--- a/kivio/kiviopart/stencils/Dia/Network/zip-disk.shape
+++ b/kivio/kiviopart/stencils/Dia/Network/zip-disk.shape
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Network - A ZIP Disk</name>
<icon>zip-disk.xpm</icon>
@@ -46,4 +46,4 @@
<svg:line style="stroke-width: 0.1; stroke: #000000" x1="2" y1="4.375" x2="2" y2="9.875"/>
<svg:line style="stroke-width: 0.1; stroke: #000000" x1="7.75" y1="4.375" x2="7.75" y2="9.85"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Pneumatic/dejack.shape b/kivio/kiviopart/stencils/Dia/Pneumatic/dejack.shape
index 25a05e72..fe6bc807 100644
--- a/kivio/kiviopart/stencils/Dia/Pneumatic/dejack.shape
+++ b/kivio/kiviopart/stencils/Dia/Pneumatic/dejack.shape
@@ -1,6 +1,6 @@
<?xml version="1.0"?> <!-- -*- xml -*- -->
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Pneum - DEJack</name>
<description>dejack</description>
@@ -25,6 +25,6 @@
<svg:rect x=".4" y=".2" width="2.6" height=".8"
svg:style="stroke-width: 1.0"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Pneumatic/dist32.shape b/kivio/kiviopart/stencils/Dia/Pneumatic/dist32.shape
index f0fd67e2..0f484add 100644
--- a/kivio/kiviopart/stencils/Dia/Pneumatic/dist32.shape
+++ b/kivio/kiviopart/stencils/Dia/Pneumatic/dist32.shape
@@ -1,6 +1,6 @@
<?xml version="1.0"?> <!-- -*- xml -*- -->
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Pneum - dist32</name>
<description>dist32</description>
@@ -34,6 +34,6 @@
<svg:polygon points="1.8,.8 1.8,1 1.6,.9"
svg:style="stroke:none; fill:foreground"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Pneumatic/dist42.shape b/kivio/kiviopart/stencils/Dia/Pneumatic/dist42.shape
index b2f38fc7..04e644eb 100644
--- a/kivio/kiviopart/stencils/Dia/Pneumatic/dist42.shape
+++ b/kivio/kiviopart/stencils/Dia/Pneumatic/dist42.shape
@@ -1,6 +1,6 @@
<?xml version="1.0"?> <!-- -*- xml -*- -->
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Pneum - dist42</name>
<description>dist42</description>
@@ -35,6 +35,6 @@
<svg:polygon points="1.8,0 1.8,.2 1.6,.1"
svg:style="stroke:none; fill:foreground"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Pneumatic/dist52.shape b/kivio/kiviopart/stencils/Dia/Pneumatic/dist52.shape
index c1902669..021db07e 100644
--- a/kivio/kiviopart/stencils/Dia/Pneumatic/dist52.shape
+++ b/kivio/kiviopart/stencils/Dia/Pneumatic/dist52.shape
@@ -1,6 +1,6 @@
<?xml version="1.0"?> <!-- -*- xml -*- -->
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Pneum - dist52</name>
<description>dist52</description>
@@ -44,6 +44,6 @@
<svg:polygon points=".750,1 .830,.80 .650,.84"
svg:style="stroke:none; fill:foreground"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/SDL/block.shape b/kivio/kiviopart/stencils/Dia/SDL/block.shape
index 4e18f2f5..c697400d 100644
--- a/kivio/kiviopart/stencils/Dia/SDL/block.shape
+++ b/kivio/kiviopart/stencils/Dia/SDL/block.shape
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>SDL - Block</name>
<description>Block Type Reference</description>
@@ -16,4 +16,4 @@
<svg:polygon points="0,0 2.5,0 2.5,2 0,2" style="fill: default" />
<svg:polygon points="0.15,0.15 2.35,0.15 2.35,1.85 0.15,1.85" style="fill: default" />
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/SDL/decision.shape b/kivio/kiviopart/stencils/Dia/SDL/decision.shape
index 2c2ce44f..6cb1fba7 100644
--- a/kivio/kiviopart/stencils/Dia/SDL/decision.shape
+++ b/kivio/kiviopart/stencils/Dia/SDL/decision.shape
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>SDL - Decision</name>
<description>Decision</description>
@@ -15,4 +15,4 @@
<svg:svg width="2.5" height="2.5">
<svg:polygon points="1.25,0 2.5,1.25 1.25,2.5 0,1.25" style="fill: default" />
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/SDL/process.shape b/kivio/kiviopart/stencils/Dia/SDL/process.shape
index 0a8512f5..95028b58 100644
--- a/kivio/kiviopart/stencils/Dia/SDL/process.shape
+++ b/kivio/kiviopart/stencils/Dia/SDL/process.shape
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>SDL - Process</name>
<description>Process Type Reference</description>
@@ -16,4 +16,4 @@
<svg:polygon points="0.3,0 2.2,0 2.5,0.3 2.5,1.7 2.2,2 0.3,2 0,1.7 0,0.3" style="fill: default" />
<svg:polygon points="0.3,0.15 2.2,0.15 2.35,0.3 2.35,1.7 2.2,1.85 0.3,1.85 0.15,1.7 0.15,0.3" style="fill: default" />
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/SDL/service.shape b/kivio/kiviopart/stencils/Dia/SDL/service.shape
index 3223741f..fd4936e7 100644
--- a/kivio/kiviopart/stencils/Dia/SDL/service.shape
+++ b/kivio/kiviopart/stencils/Dia/SDL/service.shape
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>SDL - Service</name>
<description>Service Type Reference</description>
@@ -17,4 +17,4 @@
h -0.25 c -0.75,-0.4 -1.125,-0.6 -1.125,-1 c 0,-0.4 0.25,-0.6 1.125,-1 z"
style="fill: default"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Sybase/client.shape b/kivio/kiviopart/stencils/Dia/Sybase/client.shape
index 4d3f913f..81ff9f03 100644
--- a/kivio/kiviopart/stencils/Dia/Sybase/client.shape
+++ b/kivio/kiviopart/stencils/Dia/Sybase/client.shape
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Sybase - Client Application</name>
<icon>client.xpm</icon>
@@ -21,5 +21,5 @@
<svg:path style="stroke:foreground; stroke-width: 0.5"
d="M1.2,.8 L1.2,1.2 L1.6,1 L1.2,.8"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Sybase/dataserver.shape b/kivio/kiviopart/stencils/Dia/Sybase/dataserver.shape
index 49cce15d..85340990 100644
--- a/kivio/kiviopart/stencils/Dia/Sybase/dataserver.shape
+++ b/kivio/kiviopart/stencils/Dia/Sybase/dataserver.shape
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Sybase - Dataserver</name>
<icon>dataserver.xpm</icon>
@@ -19,7 +19,7 @@
M 0.0706,0.66667 L 1.5,0.66667 M 0,1 L 1.5,1 M 0.0706,1.33333 L
1.5,1.33333 M 0.24,1.66667 L 1.5,1.66667" />
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Sybase/ltm.shape b/kivio/kiviopart/stencils/Dia/Sybase/ltm.shape
index 1df9b7fc..508b64bf 100644
--- a/kivio/kiviopart/stencils/Dia/Sybase/ltm.shape
+++ b/kivio/kiviopart/stencils/Dia/Sybase/ltm.shape
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Sybase - Log Transfer Manager/Rep Agent</name>
<icon>ltm.xpm</icon>
@@ -28,4 +28,4 @@
d="M 1.4,1 L 1.8,1"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Dia/Sybase/repserver.shape b/kivio/kiviopart/stencils/Dia/Sybase/repserver.shape
index 946603b1..bef14946 100644
--- a/kivio/kiviopart/stencils/Dia/Sybase/repserver.shape
+++ b/kivio/kiviopart/stencils/Dia/Sybase/repserver.shape
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
+<tqshape xmlns="http://www.daa.com.au/~james/dia-tqshape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>Sybase - Replication Server</name>
<icon>repserver.xpm</icon>
@@ -26,6 +26,6 @@
points="1,1 .7,.85 .7,1.15"/>
<svg:circle style="stroke:none; fill:foreground" cx="1" cy="1" r=".5"/>
</svg:svg>
-</shape>
+</tqshape>
diff --git a/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/Card.sml b/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/Card.sml
index 704e66b0..707882e9 100644
--- a/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/Card.sml
+++ b/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/Card.sml
@@ -4,7 +4,7 @@
<Author data="Landshark"/>
<Title data="Card"/>
<Id data="Card"/>
- <Description data="Basic flowcharting card shape"/>
+ <Description data="Basic flowcharting card tqshape"/>
<Version data="0.1"/>
<Web data="www.thekompany.com"/>
<Email data="lndshark@speakeasy.net"/>
diff --git a/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/Data.sml b/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/Data.sml
index 2fa28f24..a052fc1c 100644
--- a/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/Data.sml
+++ b/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/Data.sml
@@ -4,7 +4,7 @@
<Author data="Dave Marotti"/>
<Title data="Data"/>
<Id data="Data"/>
- <Description data="Data shape for flowcharting"/>
+ <Description data="Data tqshape for flowcharting"/>
<Version data="1.0"/>
<Web data="www.thekompany.com"/>
<Email data="lndshark@speakeasy.net"/>
diff --git a/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/Decision.sml b/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/Decision.sml
index e069d4ac..2e83ee8e 100644
--- a/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/Decision.sml
+++ b/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/Decision.sml
@@ -4,7 +4,7 @@
<Author data="Landshark"/>
<Title data="Decision"/>
<Id data="Decision"/>
- <Description data="Basic flowcharting decision shape"/>
+ <Description data="Basic flowcharting decision tqshape"/>
<Version data="0.1"/>
<Web data="www.thekompany.com"/>
<Email data="lndshark@speakeasy.net"/>
diff --git a/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/DirectData.sml b/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/DirectData.sml
index 21661b74..df9d3a5f 100644
--- a/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/DirectData.sml
+++ b/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/DirectData.sml
@@ -4,7 +4,7 @@
<Author data="Landshark"/>
<Title data="Direct Data"/>
<Id data="Direct Data"/>
- <Description data="Basic flowcharting direct data shape"/>
+ <Description data="Basic flowcharting direct data tqshape"/>
<Version data="0.1"/>
<Web data="www.thekompany.com"/>
<Email data="lndshark@speakeasy.net"/>
diff --git a/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/Display.sml b/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/Display.sml
index f07580d2..9634593e 100644
--- a/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/Display.sml
+++ b/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/Display.sml
@@ -4,7 +4,7 @@
<Author data="Landshark"/>
<Title data="Display"/>
<Id data="Display"/>
- <Description data="Basic flowcharting display shape"/>
+ <Description data="Basic flowcharting display tqshape"/>
<Version data="0.1"/>
<Web data="www.thekompany.com"/>
<Email data="lndshark@speakeasy.net"/>
diff --git a/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/InternalStorage.sml b/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/InternalStorage.sml
index 3a7a50ae..d4051189 100644
--- a/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/InternalStorage.sml
+++ b/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/InternalStorage.sml
@@ -4,7 +4,7 @@
<Author data="Landshark"/>
<Title data="Internal Storage"/>
<Id data="Internal Storage"/>
- <Description data="Internal storage shape"/>
+ <Description data="Internal storage tqshape"/>
<Version data="0.1"/>
<Web data="www.thekompany.com"/>
<Email data="lndshark@speakeasy.net"/>
diff --git a/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/LoopLimit.sml b/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/LoopLimit.sml
index 199072a6..b409c57a 100644
--- a/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/LoopLimit.sml
+++ b/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/LoopLimit.sml
@@ -4,7 +4,7 @@
<Author data="Landshark"/>
<Title data="Loop Limit"/>
<Id data="Loop Limit"/>
- <Description data="Basic flowcharting loop limit shape"/>
+ <Description data="Basic flowcharting loop limit tqshape"/>
<Version data="0.1"/>
<Web data="www.thekompany.com"/>
<Email data="lndshark@speakeasy.net"/>
diff --git a/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/ManualInput.sml b/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/ManualInput.sml
index d6104506..17691486 100644
--- a/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/ManualInput.sml
+++ b/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/ManualInput.sml
@@ -4,7 +4,7 @@
<Author data="Landshark"/>
<Title data="Manual Input"/>
<Id data="Manual Input"/>
- <Description data="Basic flowcharting manual input shape"/>
+ <Description data="Basic flowcharting manual input tqshape"/>
<Version data="0.1"/>
<Web data="www.thekompany.com"/>
<Email data="lndshark@speakeasy.net"/>
diff --git a/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/ManualOperation.sml b/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/ManualOperation.sml
index bc452400..2536f822 100644
--- a/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/ManualOperation.sml
+++ b/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/ManualOperation.sml
@@ -4,7 +4,7 @@
<Author data="Landshark"/>
<Title data="Manual Operation"/>
<Id data="Manual Operation"/>
- <Description data="Basic flowcharting manual operation shape"/>
+ <Description data="Basic flowcharting manual operation tqshape"/>
<Version data="0.1"/>
<Web data="www.thekompany.com"/>
<Email data="lndshark@speakeasy.net"/>
diff --git a/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/PredefinedProcess.sml b/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/PredefinedProcess.sml
index 452e048a..e1f80367 100644
--- a/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/PredefinedProcess.sml
+++ b/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/PredefinedProcess.sml
@@ -4,7 +4,7 @@
<Author data="Landshark"/>
<Title data="Predefined Process"/>
<Id data="Predefined Process"/>
- <Description data="Predefined process shape"/>
+ <Description data="Predefined process tqshape"/>
<Version data="0.1"/>
<Web data="www.thekompany.com"/>
<Email data="lndshark@speakeasy.net"/>
diff --git a/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/Preperation.sml b/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/Preperation.sml
index f79d2a51..b935d273 100644
--- a/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/Preperation.sml
+++ b/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/Preperation.sml
@@ -4,7 +4,7 @@
<Author data="Landshark"/>
<Title data="Preparation"/>
<Id data="Preperation"/>
- <Description data="Basic flowcharting preparation shape"/>
+ <Description data="Basic flowcharting preparation tqshape"/>
<Version data="0.1"/>
<Web data="www.thekompany.com"/>
<Email data="lndshark@speakeasy.net"/>
diff --git a/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/Process.sml b/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/Process.sml
index 94d129ac..60a00732 100644
--- a/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/Process.sml
+++ b/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/Process.sml
@@ -4,7 +4,7 @@
<Author data="Landshark"/>
<Title data="Process"/>
<Id data="Process"/>
- <Description data="Basic flowcharting process shape"/>
+ <Description data="Basic flowcharting process tqshape"/>
<Version data="0.1"/>
<Web data="www.thekompany.com"/>
<Email data="lndshark@speakeasy.net"/>
diff --git a/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/PyStencil.spy b/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/PyStencil.spy
index fc01b542..aa11f970 100644
--- a/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/PyStencil.spy
+++ b/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/PyStencil.spy
@@ -4,7 +4,7 @@
<Author data="Dmitry Poplavsky"/>
<Title data="Python"/>
<Id data="Python"/>
- <Description data="Basic flowcharting card shape"/>
+ <Description data="Basic flowcharting card tqshape"/>
<Version data="0.1"/>
<Web data="www.thekompany.com"/>
<Email data="dima@kde.org"/>
@@ -40,7 +40,7 @@ connector_targets = [ { "x":x+2, "y":y-2 },
]
-shapes = {
+tqshapes = {
"rect" :{
"type" : "Rectangle",
"fillstyle" : "solid",
@@ -96,12 +96,12 @@ connector_targets = [ { "x":x+2, "y":y-2 },
{ "x":(x+x2)/2, "y":y }
]
-shapes["rect2"]["x"] = x+w-35
-shapes["rect2"]["y"] = y+h-35
-shapes["rect2"]["w"] = 20
-shapes["rect2"]["h"] = 20
+tqshapes["rect2"]["x"] = x+w-35
+tqshapes["rect2"]["y"] = y+h-35
+tqshapes["rect2"]["w"] = 20
+tqshapes["rect2"]["h"] = 20
-if ( shapes["text"]["text"] == "1" ):
+if ( tqshapes["text"]["text"] == "1" ):
stencil = curLayer().firstStencil()
stencil.setText( "x:"+str(x)+" y:"+str(y) )
diff --git a/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/StoredData.sml b/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/StoredData.sml
index 6a727990..98ba2016 100644
--- a/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/StoredData.sml
+++ b/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/StoredData.sml
@@ -4,7 +4,7 @@
<Author data="Landshark"/>
<Title data="Stored Data"/>
<Id data="Stored Data"/>
- <Description data="Basic flowcharting stored data shape"/>
+ <Description data="Basic flowcharting stored data tqshape"/>
<Version data="0.1"/>
<Web data="www.thekompany.com"/>
<Email data="lndshark@speakeasy.net"/>
diff --git a/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/Terminator.sml b/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/Terminator.sml
index 769d1f5d..a998b6ca 100644
--- a/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/Terminator.sml
+++ b/kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/Terminator.sml
@@ -4,7 +4,7 @@
<Author data="Landshark"/>
<Title data="Terminator"/>
<Id data="Terminator"/>
- <Description data="Terminator shape"/>
+ <Description data="Terminator tqshape"/>
<Version data="0.1"/>
<Web data="kivio.sourceforge.net"/>
<Email data="lndshark@speakeasy.net"/>
diff --git a/kivio/kiviopart/stencils/Flowcharting/Extended/Data_Store.sml b/kivio/kiviopart/stencils/Flowcharting/Extended/Data_Store.sml
index c96361ce..445fef79 100644
--- a/kivio/kiviopart/stencils/Flowcharting/Extended/Data_Store.sml
+++ b/kivio/kiviopart/stencils/Flowcharting/Extended/Data_Store.sml
@@ -4,7 +4,7 @@
<Author data="Kristof Borrey"/>
<Title data="Data Store"/>
<Id data="Data Store"/>
- <Description data="Data Store shape"/>
+ <Description data="Data Store tqshape"/>
<Version data="0.1"/>
<Web data="www.koffice.org"/>
<Email data="borrey@kde.org"/>
diff --git a/kivio/kiviopart/stencils/Flowcharting/Extended/Database.sml b/kivio/kiviopart/stencils/Flowcharting/Extended/Database.sml
index b1d1a835..622b0205 100644
--- a/kivio/kiviopart/stencils/Flowcharting/Extended/Database.sml
+++ b/kivio/kiviopart/stencils/Flowcharting/Extended/Database.sml
@@ -4,7 +4,7 @@
<Author data="Kristof Borrey"/>
<Title data="Database"/>
<Id data="database"/>
- <Description data="Database shape"/>
+ <Description data="Database tqshape"/>
<Version data="0.1"/>
<Web data="www.koffice.org"/>
<Email data="borrey@kde.org"/>
diff --git a/kivio/kiviopart/stencils/Flowcharting/Extended/Process.sml b/kivio/kiviopart/stencils/Flowcharting/Extended/Process.sml
index 57229b1a..fa1824de 100644
--- a/kivio/kiviopart/stencils/Flowcharting/Extended/Process.sml
+++ b/kivio/kiviopart/stencils/Flowcharting/Extended/Process.sml
@@ -4,7 +4,7 @@
<Author data="Kristof Borrey"/>
<Title data="Process"/>
<Id data="Process"/>
- <Description data="Process shape"/>
+ <Description data="Process tqshape"/>
<Version data="0.1"/>
<Web data="www.koffice.org"/>
<Email data="borrey@kde.org"/>
diff --git a/kivio/kiviopart/stencils/Flowcharting/Extended/Source_or_Sink.sml b/kivio/kiviopart/stencils/Flowcharting/Extended/Source_or_Sink.sml
index c68f8a79..e3f53b8f 100644
--- a/kivio/kiviopart/stencils/Flowcharting/Extended/Source_or_Sink.sml
+++ b/kivio/kiviopart/stencils/Flowcharting/Extended/Source_or_Sink.sml
@@ -4,7 +4,7 @@
<Author data="Kristof Borrey"/>
<Title data="Source or Sink"/>
<Id data="Source or Sink"/>
- <Description data="Source or Sink shape"/>
+ <Description data="Source or Sink tqshape"/>
<Version data="0.1"/>
<Web data="www.koffice.org"/>
<Email data="borrey@kde.org"/>
diff --git a/kivio/kiviopart/stencils/Hardware/Computer/3FloppyDisk.sml b/kivio/kiviopart/stencils/Hardware/Computer/3FloppyDisk.sml
index 34c0b640..b3ecbefc 100644
--- a/kivio/kiviopart/stencils/Hardware/Computer/3FloppyDisk.sml
+++ b/kivio/kiviopart/stencils/Hardware/Computer/3FloppyDisk.sml
@@ -4,7 +4,7 @@
<Author data="Kristof Borrey"/>
<Title data="Floppy Disk"/>
<Id data="Floppy Disk"/>
- <Description data="Floppy Disk shape"/>
+ <Description data="Floppy Disk tqshape"/>
<Version data="0.1"/>
<Web data="www.koffice.org"/>
<Email data="borrey@kde.org"/>
diff --git a/kivio/kiviopart/stencils/Hardware/Miscellaneous/key.sml b/kivio/kiviopart/stencils/Hardware/Miscellaneous/key.sml
index a03ce9cb..aa34fe08 100644
--- a/kivio/kiviopart/stencils/Hardware/Miscellaneous/key.sml
+++ b/kivio/kiviopart/stencils/Hardware/Miscellaneous/key.sml
@@ -4,7 +4,7 @@
<Author data="Kristof Borrey"/>
<Title data="Key"/>
<Id data="Key"/>
- <Description data="Key shape"/>
+ <Description data="Key tqshape"/>
<Version data="0.1"/>
<Web data="www.koffice.org"/>
<Email data="borrey@kde.org"/>
diff --git a/kivio/kiviopart/stencils/Miscellaneous/Arrows/Arrow.sml b/kivio/kiviopart/stencils/Miscellaneous/Arrows/Arrow.sml
index 6470beb0..a9013398 100644
--- a/kivio/kiviopart/stencils/Miscellaneous/Arrows/Arrow.sml
+++ b/kivio/kiviopart/stencils/Miscellaneous/Arrows/Arrow.sml
@@ -4,7 +4,7 @@
<Author data="Kristof Borrey"/>
<Title data="Arrow"/>
<Id data="Arrow"/>
- <Description data="Arrow shape"/>
+ <Description data="Arrow tqshape"/>
<Version data="0.1"/>
<Web data="www.koffice.org"/>
<Email data="borrey@kde.org"/>
diff --git a/kivio/kiviopart/stencils/Miscellaneous/Arrows/Multiple_Arrow_1.sml b/kivio/kiviopart/stencils/Miscellaneous/Arrows/Multiple_Arrow_1.sml
index 909e814c..72a5cfd3 100644
--- a/kivio/kiviopart/stencils/Miscellaneous/Arrows/Multiple_Arrow_1.sml
+++ b/kivio/kiviopart/stencils/Miscellaneous/Arrows/Multiple_Arrow_1.sml
@@ -4,7 +4,7 @@
<Author data="Kristof Borrey"/>
<Title data="Multiple Arrow 1"/>
<Id data="Multiple arrow 1"/>
- <Description data="Multiple Arrow shape 1"/>
+ <Description data="Multiple Arrow tqshape 1"/>
<Version data="0.1"/>
<Web data="www.koffice.org"/>
<Email data="borrey@kde.org"/>
diff --git a/kivio/kiviopart/stencils/Miscellaneous/Arrows/Multiple_Arrow_2.sml b/kivio/kiviopart/stencils/Miscellaneous/Arrows/Multiple_Arrow_2.sml
index 16599b33..296f55fb 100644
--- a/kivio/kiviopart/stencils/Miscellaneous/Arrows/Multiple_Arrow_2.sml
+++ b/kivio/kiviopart/stencils/Miscellaneous/Arrows/Multiple_Arrow_2.sml
@@ -4,7 +4,7 @@
<Author data="Kristof Borrey"/>
<Title data="Multiple Arrow 2"/>
<Id data="Multiple arrow 2"/>
- <Description data="Multiple Arrow shape 2"/>
+ <Description data="Multiple Arrow tqshape 2"/>
<Version data="0.1"/>
<Web data="www.koffice.org"/>
<Email data="borrey@kde.org"/>
diff --git a/kivio/kiviopart/stencils/Miscellaneous/Arrows/Multiple_Arrow_3.sml b/kivio/kiviopart/stencils/Miscellaneous/Arrows/Multiple_Arrow_3.sml
index b0243201..13fe1905 100644
--- a/kivio/kiviopart/stencils/Miscellaneous/Arrows/Multiple_Arrow_3.sml
+++ b/kivio/kiviopart/stencils/Miscellaneous/Arrows/Multiple_Arrow_3.sml
@@ -4,7 +4,7 @@
<Author data="Kristof Borrey"/>
<Title data="Multiple Arrow 3"/>
<Id data="Multiple arrow 3"/>
- <Description data="Multiple Arrow shape 3"/>
+ <Description data="Multiple Arrow tqshape 3"/>
<Version data="0.1"/>
<Web data="www.koffice.org"/>
<Email data="borrey@kde.org"/>
diff --git a/kivio/kiviopart/stencils/Miscellaneous/Arrows/Sun_Arrow.sml b/kivio/kiviopart/stencils/Miscellaneous/Arrows/Sun_Arrow.sml
index 7cfdc307..07bdf483 100644
--- a/kivio/kiviopart/stencils/Miscellaneous/Arrows/Sun_Arrow.sml
+++ b/kivio/kiviopart/stencils/Miscellaneous/Arrows/Sun_Arrow.sml
@@ -4,7 +4,7 @@
<Author data="Kristof Borrey"/>
<Title data="Sun Arrow"/>
<Id data="Sun arrow"/>
- <Description data="Sun Arrow shape"/>
+ <Description data="Sun Arrow tqshape"/>
<Version data="0.1"/>
<Web data="www.koffice.org"/>
<Email data="borrey@kde.org"/>
diff --git a/kivio/kiviopart/stencils/Miscellaneous/Buildings/Factory.sml b/kivio/kiviopart/stencils/Miscellaneous/Buildings/Factory.sml
index 8ff9b029..7d8390db 100755
--- a/kivio/kiviopart/stencils/Miscellaneous/Buildings/Factory.sml
+++ b/kivio/kiviopart/stencils/Miscellaneous/Buildings/Factory.sml
@@ -4,7 +4,7 @@
<Author data="Kristof Borrey"/>
<Title data="Factory"/>
<Id data="Factory"/>
- <Description data="Factory shape"/>
+ <Description data="Factory tqshape"/>
<Version data="0.1"/>
<Web data="www.koffice.org"/>
<Email data="borrey@kde.org"/>
diff --git a/kivio/kiviopart/stencils/Miscellaneous/Buildings/House.sml b/kivio/kiviopart/stencils/Miscellaneous/Buildings/House.sml
index 95075972..9e1193cf 100755
--- a/kivio/kiviopart/stencils/Miscellaneous/Buildings/House.sml
+++ b/kivio/kiviopart/stencils/Miscellaneous/Buildings/House.sml
@@ -4,7 +4,7 @@
<Author data="Kristof Borrey"/>
<Title data="House"/>
<Id data="House"/>
- <Description data="House shape"/>
+ <Description data="House tqshape"/>
<Version data="0.1"/>
<Web data="www.koffice.org"/>
<Email data="borrey@kde.org"/>
diff --git a/kivio/kiviopart/stencils/Miscellaneous/ER/attribute.sml b/kivio/kiviopart/stencils/Miscellaneous/ER/attribute.sml
index 88e06fdb..af310f33 100644
--- a/kivio/kiviopart/stencils/Miscellaneous/ER/attribute.sml
+++ b/kivio/kiviopart/stencils/Miscellaneous/ER/attribute.sml
@@ -3,7 +3,7 @@
<Title data="Attribute"/>
<Id data="ER-Attribute"/>
<Version data="1.0"/>
- <Description data="Attribute shape used in ER diagrams"/>
+ <Description data="Attribute tqshape used in ER diagrams"/>
<Copyright data="Copyright (C) 2005 Peter Simonsson. Distributed under the BSD license."/>
<Author data="Peter Simonsson"/>
<Email data="psn@linux.se"/>
diff --git a/kivio/kiviopart/stencils/Miscellaneous/ER/derivedattribute.sml b/kivio/kiviopart/stencils/Miscellaneous/ER/derivedattribute.sml
index 8c325c32..5c2e4f74 100644
--- a/kivio/kiviopart/stencils/Miscellaneous/ER/derivedattribute.sml
+++ b/kivio/kiviopart/stencils/Miscellaneous/ER/derivedattribute.sml
@@ -3,7 +3,7 @@
<Title data="Derived Attribute"/>
<Id data="ER-DerivedAttribute"/>
<Version data="1.0"/>
- <Description data="Derived Attribute shape used in ER diagrams"/>
+ <Description data="Derived Attribute tqshape used in ER diagrams"/>
<Copyright data="Copyright (C) 2005 Peter Simonsson. Distributed under the BSD license."/>
<Author data="Peter Simonsson"/>
<Email data="psn@linux.se"/>
diff --git a/kivio/kiviopart/stencils/Miscellaneous/ER/entity.sml b/kivio/kiviopart/stencils/Miscellaneous/ER/entity.sml
index 6eaed85a..2b22e32a 100644
--- a/kivio/kiviopart/stencils/Miscellaneous/ER/entity.sml
+++ b/kivio/kiviopart/stencils/Miscellaneous/ER/entity.sml
@@ -4,7 +4,7 @@
<Title data="Entity"/>
<Id data="ER-Entity"/>
<Version data="1.0"/>
- <Description data="Entity shape used in ER diagrams"/>
+ <Description data="Entity tqshape used in ER diagrams"/>
<Copyright data="Copyright (C) 2005 Peter Simonsson. Distributed under the BSD license."/>
<Author data="Peter Simonsson"/>
<Email data="psn@linux.se"/>
diff --git a/kivio/kiviopart/stencils/Miscellaneous/ER/multivaluedattribute.sml b/kivio/kiviopart/stencils/Miscellaneous/ER/multivaluedattribute.sml
index baef5b76..56329cf1 100644
--- a/kivio/kiviopart/stencils/Miscellaneous/ER/multivaluedattribute.sml
+++ b/kivio/kiviopart/stencils/Miscellaneous/ER/multivaluedattribute.sml
@@ -3,7 +3,7 @@
<Title data="Multivalued Attribute"/>
<Id data="ER-MultivaluedAttribute"/>
<Version data="1.0"/>
- <Description data="Multivalued Attribute shape used in ER diagrams"/>
+ <Description data="Multivalued Attribute tqshape used in ER diagrams"/>
<Copyright data="Copyright (C) 2005 Peter Simonsson. Distributed under the BSD license."/>
<Author data="Peter Simonsson"/>
<Email data="psn@linux.se"/>
diff --git a/kivio/kiviopart/stencils/Miscellaneous/ER/relationship.sml b/kivio/kiviopart/stencils/Miscellaneous/ER/relationship.sml
index bd6c93ea..dbcad720 100644
--- a/kivio/kiviopart/stencils/Miscellaneous/ER/relationship.sml
+++ b/kivio/kiviopart/stencils/Miscellaneous/ER/relationship.sml
@@ -4,7 +4,7 @@
<Title data="Relationship"/>
<Id data="ER-Relationship"/>
<Version data="1.0"/>
- <Description data="Relationship shape used in ER diagrams"/>
+ <Description data="Relationship tqshape used in ER diagrams"/>
<Copyright data="Copyright (C) 2005 Peter Simonsson. Distributed under the BSD license."/>
<Author data="Peter Simonsson"/>
<Email data="psn@linux.se"/>
diff --git a/kivio/kiviopart/stencils/Miscellaneous/ER/weakentity.sml b/kivio/kiviopart/stencils/Miscellaneous/ER/weakentity.sml
index b81da1e9..02547ca0 100644
--- a/kivio/kiviopart/stencils/Miscellaneous/ER/weakentity.sml
+++ b/kivio/kiviopart/stencils/Miscellaneous/ER/weakentity.sml
@@ -4,7 +4,7 @@
<Title data="Weak Entity"/>
<Id data="ER-WeakEntity"/>
<Version data="1.0"/>
- <Description data="Weak Entity shape used in ER diagrams"/>
+ <Description data="Weak Entity tqshape used in ER diagrams"/>
<Copyright data="Copyright (C) 2005 Peter Simonsson. Distributed under the BSD license."/>
<Author data="Peter Simonsson"/>
<Email data="psn@linux.se"/>
diff --git a/kivio/kiviopart/stencils/Miscellaneous/ER/weakrelationship.sml b/kivio/kiviopart/stencils/Miscellaneous/ER/weakrelationship.sml
index ac102000..1e30e26d 100644
--- a/kivio/kiviopart/stencils/Miscellaneous/ER/weakrelationship.sml
+++ b/kivio/kiviopart/stencils/Miscellaneous/ER/weakrelationship.sml
@@ -4,7 +4,7 @@
<Title data="Relationship"/>
<Id data="ER-Relationship"/>
<Version data="1.0"/>
- <Description data="Relationship shape used in ER diagrams"/>
+ <Description data="Relationship tqshape used in ER diagrams"/>
<Copyright data="Copyright (C) 2005 Peter Simonsson. Distributed under the BSD license."/>
<Author data="Peter Simonsson"/>
<Email data="psn@linux.se"/>
diff --git a/kivio/kiviopart/stencils/Miscellaneous/People/Bad.sml b/kivio/kiviopart/stencils/Miscellaneous/People/Bad.sml
index eb1650e7..27c487ea 100755
--- a/kivio/kiviopart/stencils/Miscellaneous/People/Bad.sml
+++ b/kivio/kiviopart/stencils/Miscellaneous/People/Bad.sml
@@ -4,7 +4,7 @@
<Author data="Kristof Borrey"/>
<Title data="Bad"/>
<Id data="Bad"/>
- <Description data="Bad shape"/>
+ <Description data="Bad tqshape"/>
<Version data="0.1"/>
<Web data="www.koffice.org"/>
<Email data="borrey@kde.org"/>
diff --git a/kivio/kiviopart/stencils/Miscellaneous/People/Good.sml b/kivio/kiviopart/stencils/Miscellaneous/People/Good.sml
index 8cb5b46d..88ff54e8 100755
--- a/kivio/kiviopart/stencils/Miscellaneous/People/Good.sml
+++ b/kivio/kiviopart/stencils/Miscellaneous/People/Good.sml
@@ -4,7 +4,7 @@
<Author data="Kristof Borrey"/>
<Title data="Good"/>
<Id data="Good"/>
- <Description data="Good shape"/>
+ <Description data="Good tqshape"/>
<Version data="0.1"/>
<Web data="www.koffice.org"/>
<Email data="borrey@kde.org"/>
diff --git a/kivio/kiviopart/stencils/Miscellaneous/People/Man.sml b/kivio/kiviopart/stencils/Miscellaneous/People/Man.sml
index 13c5b46c..0656c2a7 100755
--- a/kivio/kiviopart/stencils/Miscellaneous/People/Man.sml
+++ b/kivio/kiviopart/stencils/Miscellaneous/People/Man.sml
@@ -4,7 +4,7 @@
<Author data="Kristof Borrey"/>
<Title data="Man"/>
<Id data="Man"/>
- <Description data="Man shape"/>
+ <Description data="Man tqshape"/>
<Version data="0.1"/>
<Web data="www.koffice.org"/>
<Email data="borrey@kde.org"/>
diff --git a/kivio/kiviopart/stencils/Miscellaneous/People/Woman.sml b/kivio/kiviopart/stencils/Miscellaneous/People/Woman.sml
index e1c4aabc..9f903a1f 100755
--- a/kivio/kiviopart/stencils/Miscellaneous/People/Woman.sml
+++ b/kivio/kiviopart/stencils/Miscellaneous/People/Woman.sml
@@ -4,7 +4,7 @@
<Author data="Kristof Borrey"/>
<Title data="Woman"/>
<Id data="Woman"/>
- <Description data="Woman shape"/>
+ <Description data="Woman tqshape"/>
<Version data="0.1"/>
<Web data="www.koffice.org"/>
<Email data="borrey@kde.org"/>
diff --git a/kivio/kiviopart/stencils/Miscellaneous/People/Woman_Shape.sml b/kivio/kiviopart/stencils/Miscellaneous/People/Woman_Shape.sml
index 36e87464..6bd7f849 100755
--- a/kivio/kiviopart/stencils/Miscellaneous/People/Woman_Shape.sml
+++ b/kivio/kiviopart/stencils/Miscellaneous/People/Woman_Shape.sml
@@ -4,7 +4,7 @@
<Author data="Kristof Borrey"/>
<Title data="Woman Shape"/>
<Id data="Woman Shape"/>
- <Description data="Woman shape"/>
+ <Description data="Woman tqshape"/>
<Version data="0.1"/>
<Web data="www.koffice.org"/>
<Email data="borrey@kde.org"/>
diff --git a/kivio/kiviopart/stencils/Miscellaneous/Transport/Truck.sml b/kivio/kiviopart/stencils/Miscellaneous/Transport/Truck.sml
index f7f6d666..d8e01658 100644
--- a/kivio/kiviopart/stencils/Miscellaneous/Transport/Truck.sml
+++ b/kivio/kiviopart/stencils/Miscellaneous/Transport/Truck.sml
@@ -4,7 +4,7 @@
<Author data="Kristof Borrey"/>
<Title data="Truck"/>
<Id data="Truck"/>
- <Description data="Truck shape"/>
+ <Description data="Truck tqshape"/>
<Version data="0.1"/>
<Web data="www.koffice.org"/>
<Email data="borrey@kde.org"/>
diff --git a/kivio/kiviopart/ui/aligndialog.ui b/kivio/kiviopart/ui/aligndialog.ui
index 1b1b607d..27f8c3b3 100644
--- a/kivio/kiviopart/ui/aligndialog.ui
+++ b/kivio/kiviopart/ui/aligndialog.ui
@@ -97,7 +97,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -114,7 +114,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -158,7 +158,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>41</width>
<height>20</height>
@@ -175,7 +175,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -200,7 +200,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>51</width>
<height>20</height>
@@ -243,7 +243,7 @@
<property name="pixmap">
<pixmap>image3</pixmap>
</property>
- <property name="alignment">
+ <property name="tqalignment">
<set>AlignTop|AlignLeft</set>
</property>
<property name="vAlign" stdset="0">
@@ -280,7 +280,7 @@
<property name="pixmap">
<pixmap>image5</pixmap>
</property>
- <property name="alignment">
+ <property name="tqalignment">
<set>AlignBottom|AlignLeft</set>
</property>
<property name="vAlign" stdset="0">
@@ -317,7 +317,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>16</height>
diff --git a/kivio/kiviopart/ui/kivio_birdeye_panel.cpp b/kivio/kiviopart/ui/kivio_birdeye_panel.cpp
index 30cf7f1f..8969ea82 100644
--- a/kivio/kiviopart/ui/kivio_birdeye_panel.cpp
+++ b/kivio/kiviopart/ui/kivio_birdeye_panel.cpp
@@ -151,7 +151,7 @@ void KivioBirdEyePanel::updateView()
KivioScreenPainter kpainter;
kpainter.start(TQT_TQPAINTDEVICE(m_buffer));
- kpainter.painter()->fillRect(rect, KApplication::palette().active().brush(TQColorGroup::Mid));
+ kpainter.painter()->fillRect(rect, KApplication::tqpalette().active().brush(TQColorGroup::Mid));
kpainter.painter()->fillRect(px0, py0, pw, ph, white);
diff --git a/kivio/kiviopart/ui/kivio_layer_panel.cpp b/kivio/kiviopart/ui/kivio_layer_panel.cpp
index 8070cca5..fadba0e3 100644
--- a/kivio/kiviopart/ui/kivio_layer_panel.cpp
+++ b/kivio/kiviopart/ui/kivio_layer_panel.cpp
@@ -27,7 +27,7 @@
#include "layerlisttooltip.h"
#include <tqheader.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <ktoolbar.h>
#include <klocale.h>
@@ -118,7 +118,7 @@ void KivioLayerPanel::addItem()
// Set the layer name to something a bit different. This isn't
// guaranteed to be unique, but it's better than "Untitled"
- layer->setName(i18n("Layer %1").arg(id));
+ layer->setName(i18n("Layer %1").tqarg(id));
page->addLayer(layer);
page->setCurLayer(layer);
diff --git a/kivio/kiviopart/ui/kivio_protection_panel_base.ui b/kivio/kiviopart/ui/kivio_protection_panel_base.ui
index e1774900..55fe9888 100644
--- a/kivio/kiviopart/ui/kivio_protection_panel_base.ui
+++ b/kivio/kiviopart/ui/kivio_protection_panel_base.ui
@@ -12,13 +12,13 @@
<height>147</height>
</rect>
</property>
- <property name="minimumSize">
+ <property name="tqminimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
- <property name="maximumSize">
+ <property name="tqmaximumSize">
<size>
<width>32767</width>
<height>32767</height>
@@ -107,7 +107,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>281</height>
diff --git a/kivio/kiviopart/ui/kivioaddstencilsetpanel.cpp b/kivio/kiviopart/ui/kivioaddstencilsetpanel.cpp
index d6ef9318..11c2cc28 100644
--- a/kivio/kiviopart/ui/kivioaddstencilsetpanel.cpp
+++ b/kivio/kiviopart/ui/kivioaddstencilsetpanel.cpp
@@ -24,7 +24,7 @@
#include <tqiconview.h>
#include <tqgroupbox.h>
#include <tqpushbutton.h>
-#include <textbrowser.h>
+#include <tqtextbrowser.h>
#include <tqsplitter.h>
#include <kstandarddirs.h>
diff --git a/kivio/kiviopart/ui/kivioarrowheadformatdlg.cpp b/kivio/kiviopart/ui/kivioarrowheadformatdlg.cpp
index d3a9a8d6..9237333e 100644
--- a/kivio/kiviopart/ui/kivioarrowheadformatdlg.cpp
+++ b/kivio/kiviopart/ui/kivioarrowheadformatdlg.cpp
@@ -21,7 +21,7 @@
#include <tqlabel.h>
#include <tqgroupbox.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqbitmap.h>
#include <tqpixmap.h>
#include <tqpainter.h>
diff --git a/kivio/kiviopart/ui/kiviooptionsdialog.cpp b/kivio/kiviopart/ui/kiviooptionsdialog.cpp
index 4bd6fd62..23900894 100644
--- a/kivio/kiviopart/ui/kiviooptionsdialog.cpp
+++ b/kivio/kiviopart/ui/kiviooptionsdialog.cpp
@@ -45,7 +45,7 @@
#include <tqcombobox.h>
#include <tqcheckbox.h>
#include <tqradiobutton.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqtabwidget.h>
// GuidesListViewItem::GuidesListViewItem(TQListView* parent, KivioGuideLineData *gd, KoUnit::Unit u)
@@ -111,23 +111,23 @@ void KivioOptionsDialog::initPage()
m_unitCombo->insertStringList(KoUnit::listOfUnitName());
m_unitCombo->setCurrentItem(unit);
unitLbl->setBuddy(m_unitCombo);
- TQLabel* layoutLbl = new TQLabel(i18n("Default layout:"), page);
+ TQLabel* layoutLbl = new TQLabel(i18n("Default tqlayout:"), page);
m_layoutTxtLbl = new TQLabel(page);
m_layoutTxtLbl->setFrameStyle(TQFrame::LineEditPanel | TQFrame::Sunken);
- m_layoutTxtLbl->setSizePolicy(TQSizePolicy(
+ m_layoutTxtLbl->tqsetSizePolicy(TQSizePolicy(
TQSizePolicy::Minimum, TQSizePolicy::Fixed));
setLayoutText(m_layout);
KPushButton* layoutBtn = new KPushButton(i18n("Change..."), page);
- layoutBtn->setSizePolicy(TQSizePolicy(
+ layoutBtn->tqsetSizePolicy(TQSizePolicy(
TQSizePolicy::Fixed, TQSizePolicy::Fixed));
TQLabel* fontLbl = new TQLabel(i18n("Default font:"), page);
m_fontTxtLbl = new TQLabel(page);
m_fontTxtLbl->setFrameStyle(TQFrame::LineEditPanel | TQFrame::Sunken);
- m_fontTxtLbl->setSizePolicy(TQSizePolicy(
+ m_fontTxtLbl->tqsetSizePolicy(TQSizePolicy(
TQSizePolicy::Minimum, TQSizePolicy::Fixed));
setFontText(m_font);
KPushButton* fontBtn = new KPushButton(i18n("Change..."), page);
- layoutBtn->setSizePolicy(TQSizePolicy(
+ layoutBtn->tqsetSizePolicy(TQSizePolicy(
TQSizePolicy::Fixed, TQSizePolicy::Fixed));
m_marginsChBox = new TQCheckBox(i18n("Show page &margins"), page);
m_marginsChBox->setChecked(view->isShowPageMargins());
@@ -260,9 +260,9 @@ void KivioOptionsDialog::defaultGrid()
void KivioOptionsDialog::setLayoutText(const KoPageLayout& l)
{
KoUnit::Unit unit = static_cast<KoUnit::Unit>(m_unitCombo->currentItem());
- TQString txt = i18n("Format: %1, Width: %2 %4, Height: %3 %5").arg(
- KoPageFormat::formatString(l.format)).arg(KoUnit::toUserValue(l.ptWidth, unit))
- .arg(KoUnit::toUserValue(l.ptHeight, unit)).arg(KoUnit::unitName(unit)).arg(
+ TQString txt = i18n("Format: %1, Width: %2 %4, Height: %3 %5").tqarg(
+ KoPageFormat::formatString(l.format)).tqarg(KoUnit::toUserValue(l.ptWidth, unit))
+ .tqarg(KoUnit::toUserValue(l.ptHeight, unit)).tqarg(KoUnit::unitName(unit)).tqarg(
KoUnit::unitName(unit));
m_layoutTxtLbl->setText(txt);
}
diff --git a/kivio/kiviopart/ui/kiviostencilformatdlg.cpp b/kivio/kiviopart/ui/kiviostencilformatdlg.cpp
index e682b7fd..3361ad23 100644
--- a/kivio/kiviopart/ui/kiviostencilformatdlg.cpp
+++ b/kivio/kiviopart/ui/kiviostencilformatdlg.cpp
@@ -20,7 +20,7 @@
#include "kiviostencilformatdlg.h"
#include <tqlabel.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqbitmap.h>
#include <tqpixmap.h>
#include <tqpainter.h>
diff --git a/kivio/kiviopart/ui/kiviotextformatdlg.cpp b/kivio/kiviopart/ui/kiviotextformatdlg.cpp
index 051bb90d..94dd995d 100644
--- a/kivio/kiviopart/ui/kiviotextformatdlg.cpp
+++ b/kivio/kiviopart/ui/kiviotextformatdlg.cpp
@@ -20,7 +20,7 @@
#include "kiviotextformatdlg.h"
#include <tqlabel.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqbuttongroup.h>
#include <tqradiobutton.h>
@@ -68,7 +68,7 @@ void KivioTextFormatDlg::initPositionTab()
m_halignBGrp->setButton(1);
m_preview = new TQLabel(i18n("Preview"), tab);
m_preview->setFrameStyle(TQFrame::Box | TQFrame::Sunken);
- m_preview->setAlignment(m_valign | m_halign);
+ m_preview->tqsetAlignment(m_valign | m_halign);
TQGridLayout* gl = new TQGridLayout(tab);
gl->setSpacing(KDialog::spacingHint());
gl->setRowStretch(0, 10);
@@ -95,7 +95,7 @@ void KivioTextFormatDlg::updateVAlign(int i)
break;
}
- m_preview->setAlignment(m_valign | m_halign);
+ m_preview->tqsetAlignment(m_valign | m_halign);
}
void KivioTextFormatDlg::updateHAlign(int i)
@@ -112,7 +112,7 @@ void KivioTextFormatDlg::updateHAlign(int i)
break;
}
- m_preview->setAlignment(m_valign | m_halign);
+ m_preview->tqsetAlignment(m_valign | m_halign);
}
int KivioTextFormatDlg::valign()
@@ -150,7 +150,7 @@ void KivioTextFormatDlg::setVAlign(int i)
}
m_valign = static_cast<TQt::AlignmentFlags>(i);
- m_preview->setAlignment(m_valign | m_halign);
+ m_preview->tqsetAlignment(m_valign | m_halign);
}
void KivioTextFormatDlg::setHAlign(int i)
@@ -168,7 +168,7 @@ void KivioTextFormatDlg::setHAlign(int i)
}
m_halign = static_cast<TQt::AlignmentFlags>(i);
- m_preview->setAlignment(m_valign | m_halign);
+ m_preview->tqsetAlignment(m_valign | m_halign);
}
void KivioTextFormatDlg::setFont(TQFont f)
diff --git a/kivio/kiviopart/ui/layerlisttooltip.cpp b/kivio/kiviopart/ui/layerlisttooltip.cpp
index 4a2d1fb5..ed32c284 100644
--- a/kivio/kiviopart/ui/layerlisttooltip.cpp
+++ b/kivio/kiviopart/ui/layerlisttooltip.cpp
@@ -49,13 +49,13 @@ void LayerListToolTip::maybeTip(const TQPoint& pos)
return;
}
- TQRect itemRect = m_listView->itemRect(item);
+ TQRect tqitemRect = m_listView->tqitemRect(item);
TQString toolTip = "<b>" + item->layer()->name() + "</b><br>";
toolTip += i18n("Visible: ") + (item->layer()->visible() ? i18n("Yes") : i18n("No")) + "<br>";
toolTip += i18n("Printable: ") + (item->layer()->printable() ? i18n("Yes") : i18n("No")) + "<br>";
toolTip += i18n("Editable: ") + (item->layer()->editable() ? i18n("Yes") : i18n("No")) + "<br>";
toolTip += i18n("Connectable: ") + (item->layer()->connectable() ? i18n("Yes") : i18n("No"));
- tip(itemRect, toolTip);
+ tip(tqitemRect, toolTip);
}
}
diff --git a/kivio/kiviopart/ui/objectlistpalette.cpp b/kivio/kiviopart/ui/objectlistpalette.cpp
index bd2d4392..7483e98d 100644
--- a/kivio/kiviopart/ui/objectlistpalette.cpp
+++ b/kivio/kiviopart/ui/objectlistpalette.cpp
@@ -18,7 +18,7 @@
*/
#include "objectlistpalette.h"
-#include <layout.h>
+#include <tqlayout.h>
#include <tqheader.h>
#include <tqptrlist.h>
@@ -85,7 +85,7 @@ ObjectListPalette::ObjectListPalette(KivioView* parent, const char* name)
{
m_blockUpdate = false;
- TQVBoxLayout* layout = new TQVBoxLayout(this, 0, 2);
+ TQVBoxLayout* tqlayout = new TQVBoxLayout(this, 0, 2);
m_objectList = new KListView(this);
m_objectList->setFullWidth(true);
@@ -95,7 +95,7 @@ ObjectListPalette::ObjectListPalette(KivioView* parent, const char* name)
m_objectList->addColumn(i18n("Name"));
m_objectList->addColumn(i18n("Type"));
- layout->addWidget(m_objectList);
+ tqlayout->addWidget(m_objectList);
connect(m_objectList, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(updateSelection()));
}
diff --git a/kivio/plugins/kivioconnectortool/tool_connector.cpp b/kivio/plugins/kivioconnectortool/tool_connector.cpp
index 26b8feb8..ca3ff402 100644
--- a/kivio/plugins/kivioconnectortool/tool_connector.cpp
+++ b/kivio/plugins/kivioconnectortool/tool_connector.cpp
@@ -122,7 +122,7 @@ void ConnectorTool::setActivated(bool a)
m_pStencil = 0;
m_pDragData = 0;
view()->canvasWidget()->setShowConnectorTargets(true);
- view()->canvasWidget()->repaint();
+ view()->canvasWidget()->tqrepaint();
emit activated(this);
} else {
if(m_pStencil && (m_mode == stmDrawRubber) && (m_type == PolyLineConnector)) {
@@ -150,7 +150,7 @@ void ConnectorTool::setActivated(bool a)
m_permanent = false;
view()->setStatusBarInfo("");
view()->canvasWidget()->setShowConnectorTargets(false);
- view()->canvasWidget()->repaint();
+ view()->canvasWidget()->tqrepaint();
}
}
@@ -278,7 +278,7 @@ bool ConnectorTool::startRubberBanding( TQMouseEvent *e )
m_pStencil->customDrag(m_pDragData);
- canvas->repaint();
+ canvas->tqrepaint();
canvas->setCursor(*m_pConnectorCursor2);
return true;
}
@@ -322,7 +322,7 @@ void ConnectorTool::continueRubberBanding( TQMouseEvent *e )
m_pStencil->customDrag(m_pDragData);
m_pStencil->updateGeometry();
- canvas->repaint();
+ canvas->tqrepaint();
}
void ConnectorTool::mouseRelease( TQMouseEvent *e )
diff --git a/kivio/plugins/kivioselecttool/tool_select.cpp b/kivio/plugins/kivioselecttool/tool_select.cpp
index 6117cf61..b6c24c57 100644
--- a/kivio/plugins/kivioselecttool/tool_select.cpp
+++ b/kivio/plugins/kivioselecttool/tool_select.cpp
@@ -247,7 +247,7 @@ bool SelectTool::startRubberBanding(const TQPoint &pos)
canvas->activePage()->unselectAllStencils();
canvas->startRectDraw( pos, KivioCanvas::Rubber );
- canvas->repaint();
+ canvas->tqrepaint();
return true;
}
@@ -299,7 +299,7 @@ bool SelectTool::startDragging(const TQPoint &pos, bool onlySelected)
// Create a new painter object
canvas->beginUnclippedSpawnerPainter();
- // Build the list of old geometry
+ // Build the list of old tqgeometry
KivioSelectDragData *pData;
m_lstOldGeometry.clear();
pStencil = canvas->activePage()->selectedStencils()->first();
@@ -365,7 +365,7 @@ bool SelectTool::startCustomDragging(const TQPoint &pos, bool selectedOnly )
m_customDragOrigPoint = pStencil->customIDPoint(m_customDragID);
view()->canvasWidget()->setShowConnectorTargets(true);
- view()->canvasWidget()->repaint();
+ view()->canvasWidget()->tqrepaint();
// Create a new painter object
canvas->beginUnclippedSpawnerPainter();
@@ -491,7 +491,7 @@ void SelectTool::continueRubberBanding(const TQPoint &pos)
* Continues the dragging process of a stencil (moving)
*
* How does this work? Initially we create a list of all the original
- * geometry of all the selected stencils. We use that to calculate delta
+ * tqgeometry of all the selected stencils. We use that to calculate delta
* movements and snap them to the grid.
*/
void SelectTool::continueDragging(const TQPoint &pos, bool ignoreGridGuides)
@@ -512,7 +512,7 @@ void SelectTool::continueDragging(const TQPoint &pos, bool ignoreGridGuides)
canvas->drawSelectedStencilsXOR();
} else {
canvas->activePage()->setPaintSelected(false);
- canvas->repaint();
+ canvas->tqrepaint();
m_firstTime = false;
}
@@ -628,7 +628,7 @@ void SelectTool::continueCustomDragging(const TQPoint &pos)
canvas->drawStencilXOR(m_pCustomDraggingStencil);
} else {
m_pCustomDraggingStencil->setHidden(true);
- canvas->repaint();
+ canvas->tqrepaint();
m_firstTime = false;
}
}
@@ -641,7 +641,7 @@ void SelectTool::continueCustomDragging(const TQPoint &pos)
if(m_pCustomDraggingStencil->type() != kstConnector){
canvas->drawStencilXOR(m_pCustomDraggingStencil);
} else {
- view()->canvasWidget()->repaint();
+ view()->canvasWidget()->tqrepaint();
}
view()->updateToolBars();
@@ -674,7 +674,7 @@ void SelectTool::continueResizing(const TQPoint &pos, bool ignoreGridGuides)
if( !pData )
{
- kdDebug(43000) << "SelectTool::continueResizing() - Original geometry not found" << endl;
+ kdDebug(43000) << "SelectTool::continueResizing() - Original tqgeometry not found" << endl;
return;
}
@@ -687,7 +687,7 @@ void SelectTool::continueResizing(const TQPoint &pos, bool ignoreGridGuides)
canvas->drawStencilXOR( m_pResizingStencil );
} else {
m_pResizingStencil->setHidden(true);
- canvas->repaint();
+ canvas->tqrepaint();
m_firstTime = false;
}
@@ -1050,7 +1050,7 @@ void SelectTool::endDragging(const TQPoint&)
canvas->drawSelectedStencilsXOR();
canvas->endUnclippedSpawnerPainter();
- // Clear the list of old geometry
+ // Clear the list of old tqgeometry
m_lstOldGeometry.clear();
}
@@ -1077,7 +1077,7 @@ void SelectTool::endCustomDragging(const TQPoint&)
canvas->endUnclippedSpawnerPainter();
canvas->setShowConnectorTargets(false);
- canvas->repaint();
+ canvas->tqrepaint();
}
void SelectTool::endResizing(const TQPoint&)
@@ -1200,7 +1200,7 @@ void SelectTool::keyPress(TQKeyEvent* e)
// Create a new painter object
canvas->beginUnclippedSpawnerPainter();
- // Build the list of old geometry
+ // Build the list of old tqgeometry
KivioSelectDragData *pData;
m_lstOldGeometry.clear();
KivioStencil* pStencil = canvas->activePage()->selectedStencils()->first();
diff --git a/kivio/plugins/kiviosmlconnector/sml_connector/sml_connector.cpp b/kivio/plugins/kiviosmlconnector/sml_connector/sml_connector.cpp
index 8617eb98..3745820c 100644
--- a/kivio/plugins/kiviosmlconnector/sml_connector/sml_connector.cpp
+++ b/kivio/plugins/kiviosmlconnector/sml_connector/sml_connector.cpp
@@ -32,7 +32,7 @@
#include "kivio_stencil_spawner_set.h"
#include "kivio_text_style.h"
#include "kivio_shape.h"
-#include "kivio_shape_data.h"
+#include "kivio_tqshape_data.h"
#include "kivio_point.h"
#include "tkmath.h"
@@ -96,9 +96,9 @@ KivioSMLConnector::KivioSMLConnector( const TQString &name )
// This is a stencil of type connector
setType( kstConnector );
- // We only have one shape, an open path.
- //m_shape = new KivioShape();
- //m_shape->shapeData() ->setShapeType( KivioShapeData::kstOpenPath );
+ // We only have one tqshape, an open path.
+ //m_tqshape = new KivioShape();
+ //m_tqshape->tqshapeData() ->setShapeType( KivioShapeData::kstOpenPath );
loadPath( name );
}
@@ -196,7 +196,7 @@ KivioStencil *KivioSMLConnector::duplicate()
void KivioSMLConnector::drawOpenPath( KivioShape *pShape, KivioIntraStencilData *pData )
{
KivioPainter * painter;
- KivioShapeData *pShapeData = pShape->shapeData();
+ KivioShapeData *pShapeData = pShape->tqshapeData();
KivioPoint *pPoint, *pNewPoint;
TQPtrList <KivioPoint> *pPointList = pShapeData->pointList();
@@ -262,7 +262,7 @@ void KivioSMLConnector::paint( KivioIntraStencilData *pData )
}
- // Build shape up from m_pConnectorPoints
+ // Build tqshape up from m_pConnectorPoints
TQPtrList <KivioPoint> *pNewPoints = new TQPtrList<KivioPoint>;
@@ -314,7 +314,7 @@ bool KivioSMLConnector::saveCustom( TQDomElement &e, TQDomDocument &doc )
kdDebug(43000) << "Save custom " << endl;
e.appendChild( saveArrowHeads( doc ) );
- //TQDomElement type = m_shape->saveXML(doc);
+ //TQDomElement type = m_tqshape->saveXML(doc);
KivioConnectorPoint *p = m_PointList.first();
while ( p )
{
@@ -341,7 +341,7 @@ bool KivioSMLConnector::loadCustom( const TQDomElement &e )
}
else if ( name == "KivioShape" )
{
- //m_shape->loadXML(node.toElement());
+ //m_tqshape->loadXML(node.toElement());
TQDomNode pts = node.firstChild();
while ( !pts.isNull() )
{
diff --git a/kivio/plugins/kiviosmlconnector/sml_connector/sml_connector.h b/kivio/plugins/kiviosmlconnector/sml_connector/sml_connector.h
index b631f84b..a50ec750 100644
--- a/kivio/plugins/kiviosmlconnector/sml_connector/sml_connector.h
+++ b/kivio/plugins/kiviosmlconnector/sml_connector/sml_connector.h
@@ -43,7 +43,7 @@ class KivioSMLConnector : public Kivio1DStencil
private:
bool loadPath(const TQString &file);
//void drawOpenPath( KivioShape *, KivioIntraStencilData * );
- KivioShape *m_shape;
+ KivioShape *m_tqshape;
TQPtrList<KivioConnectorPoint> m_PointList;
TQString m_name;
diff --git a/kivio/plugins/kiviosmlconnector/tool_connector.cpp b/kivio/plugins/kiviosmlconnector/tool_connector.cpp
index 5cef094e..4578f0a7 100644
--- a/kivio/plugins/kiviosmlconnector/tool_connector.cpp
+++ b/kivio/plugins/kiviosmlconnector/tool_connector.cpp
@@ -190,7 +190,7 @@ bool SMLConnector::startRubberBanding( TQMouseEvent *e )
m_pStencil->customDrag(m_pDragData);
- canvas->repaint();
+ canvas->tqrepaint();
canvas->setCursor(*m_pConnectorCursor2);
return true;
}
@@ -223,7 +223,7 @@ void SMLConnector::continueRubberBanding( TQMouseEvent *e )
m_pStencil->customDrag(m_pDragData);
m_pStencil->updateGeometry();
- canvas->repaint();
+ canvas->tqrepaint();
}
void SMLConnector::mouseRelease( TQMouseEvent *e )
diff --git a/kivio/plugins/kiviotexttool/kivio_stenciltexteditorui.ui b/kivio/plugins/kiviotexttool/kivio_stenciltexteditorui.ui
index 0e8aac77..cfa2f317 100644
--- a/kivio/plugins/kiviotexttool/kivio_stenciltexteditorui.ui
+++ b/kivio/plugins/kiviotexttool/kivio_stenciltexteditorui.ui
@@ -185,7 +185,7 @@ You should have received a copy of the GNU General Public License along with thi
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>110</width>
<height>20</height>
diff --git a/kivio/plugins/kiviotexttool/stenciltexteditor.cpp b/kivio/plugins/kiviotexttool/stenciltexteditor.cpp
index 062e329e..49a42589 100644
--- a/kivio/plugins/kiviotexttool/stenciltexteditor.cpp
+++ b/kivio/plugins/kiviotexttool/stenciltexteditor.cpp
@@ -108,7 +108,7 @@ void StencilTextEditor::setHorizontalAlign(int flag)
m_mainWidget->m_hAlignButton->popup()->setItemChecked(flag, true);
m_mainWidget->m_hAlignButton->setIconSet(*(m_mainWidget->m_hAlignButton->popup()->iconSet(flag)));
- m_mainWidget->m_textArea->setAlignment(flag|verticalAlignment());
+ m_mainWidget->m_textArea->tqsetAlignment(flag|verticalAlignment());
m_hAlign = flag;
}
@@ -120,7 +120,7 @@ void StencilTextEditor::setVerticalAlign(int flag)
m_mainWidget->m_vAlignButton->popup()->setItemChecked(flag, true);
m_mainWidget->m_vAlignButton->setIconSet(*(m_mainWidget->m_vAlignButton->popup()->iconSet(flag)));
- m_mainWidget->m_textArea->setAlignment(flag|horizontalAlignment());
+ m_mainWidget->m_textArea->tqsetAlignment(flag|horizontalAlignment());
m_vAlign = flag;
}
@@ -169,7 +169,7 @@ void StencilTextEditor::updateFormating()
m_mainWidget->m_textArea->selectAll(true);
- m_mainWidget->m_textArea->setAlignment(horizontalAlignment()|verticalAlignment());
+ m_mainWidget->m_textArea->tqsetAlignment(horizontalAlignment()|verticalAlignment());
m_mainWidget->m_textArea->selectAll(false);
m_mainWidget->m_textArea->setFocus();
diff --git a/kivio/plugins/kiviotexttool/tool_text.cpp b/kivio/plugins/kiviotexttool/tool_text.cpp
index 5b1ee4fc..7d449ae0 100644
--- a/kivio/plugins/kiviotexttool/tool_text.cpp
+++ b/kivio/plugins/kiviotexttool/tool_text.cpp
@@ -185,7 +185,7 @@ void TextTool::mousePress( TQMouseEvent *e )
bool TextTool::startRubberBanding( TQMouseEvent *e )
{
view()->canvasWidget()->startRectDraw( e->pos(), KivioCanvas::Rubber );
- view()->canvasWidget()->repaint();
+ view()->canvasWidget()->tqrepaint();
m_startPoint = e->pos();
return true;
@@ -222,7 +222,7 @@ void TextTool::mouseRelease( TQMouseEvent *e )
m_mode = stmNone;
- view()->canvasWidget()->repaint();
+ view()->canvasWidget()->tqrepaint();
}
void TextTool::endRubberBanding(TQMouseEvent */*e*/)
@@ -282,12 +282,12 @@ void TextTool::applyToolAction(TQPtrList<KivioStencil>* stencils)
TQString text = editor.text();
TQFont font = editor.font();
TQColor textColor = editor.fontColor();
- int halignment = editor.horizontalAlignment();
- int valignment = editor.verticalAlignment();
+ int htqalignment = editor.horizontalAlignment();
+ int vtqalignment = editor.verticalAlignment();
bool changeFont = (stencil->textFont() != font);
bool changeTextColor = (stencil->textColor() != textColor);
- bool changeHAlignment = (stencil->hTextAlign() != halignment);
- bool changeVAlignment = (stencil->vTextAlign() != valignment);
+ bool changeHAlignment = (stencil->hTextAlign() != htqalignment);
+ bool changeVAlignment = (stencil->vTextAlign() != vtqalignment);
while( stencil )
@@ -317,18 +317,18 @@ void TextTool::applyToolAction(TQPtrList<KivioStencil>* stencils)
changed = true;
}
- if(changeHAlignment && (stencil->hTextAlign() != halignment)) {
+ if(changeHAlignment && (stencil->hTextAlign() != htqalignment)) {
KivioChangeStencilHAlignmentCommand* cmd = new KivioChangeStencilHAlignmentCommand(
- i18n("Change StencilQt::Horizontal Alignment"), view()->activePage(), stencil, stencil->hTextAlign(), halignment);
- stencil->setHTextAlign(halignment);
+ i18n("Change StencilQt::Horizontal Alignment"), view()->activePage(), stencil, stencil->hTextAlign(), htqalignment);
+ stencil->setHTextAlign(htqalignment);
macroCmd->addCommand(cmd);
changed = true;
}
- if(changeVAlignment && (stencil->vTextAlign() != valignment)) {
+ if(changeVAlignment && (stencil->vTextAlign() != vtqalignment)) {
KivioChangeStencilVAlignmentCommand* cmd = new KivioChangeStencilVAlignmentCommand(
- i18n("Change StencilQt::Vertical Alignment"), view()->activePage(), stencil, stencil->vTextAlign(), valignment);
- stencil->setVTextAlign(valignment);
+ i18n("Change StencilQt::Vertical Alignment"), view()->activePage(), stencil, stencil->vTextAlign(), vtqalignment);
+ stencil->setVTextAlign(vtqalignment);
macroCmd->addCommand(cmd);
changed = true;
}
@@ -400,24 +400,24 @@ void TextTool::applyToolAction(KivioStencil* stencil, const KoPoint& pos)
changed = true;
}
- int halignment = editor.horizontalAlignment();
+ int htqalignment = editor.horizontalAlignment();
- if(stencil->hTextAlign(name) != halignment) {
+ if(stencil->hTextAlign(name) != htqalignment) {
KivioChangeStencilHAlignmentCommand* cmd = new KivioChangeStencilHAlignmentCommand(
i18n("Change StencilQt::Horizontal Alignment"), view()->activePage(), stencil,
- stencil->hTextAlign(name), halignment, name);
- stencil->setHTextAlign(name, halignment);
+ stencil->hTextAlign(name), htqalignment, name);
+ stencil->setHTextAlign(name, htqalignment);
macroCmd->addCommand(cmd);
changed = true;
}
- int valignment = editor.verticalAlignment();
+ int vtqalignment = editor.verticalAlignment();
- if(stencil->vTextAlign(name) != valignment) {
+ if(stencil->vTextAlign(name) != vtqalignment) {
KivioChangeStencilVAlignmentCommand* cmd = new KivioChangeStencilVAlignmentCommand(
i18n("Change StencilQt::Vertical Alignment"), view()->activePage(), stencil,
- stencil->vTextAlign(name), valignment, name);
- stencil->setVTextAlign(name, valignment);
+ stencil->vTextAlign(name), vtqalignment, name);
+ stencil->setVTextAlign(name, vtqalignment);
macroCmd->addCommand(cmd);
changed = true;
}