summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/kivio_page.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-05 11:54:26 +0900
committerMichele Calgaro <[email protected]>2023-11-16 23:37:57 +0900
commitef06f14f2475bd08d3ea2ceec54a7b2238f3554e (patch)
tree03df826633e4ba084d133ca977c4fc37c74f21ac /kivio/kiviopart/kivio_page.cpp
parent895081803a715ee89f4a90cfbf63d558ef2b2ebc (diff)
downloadkoffice-ef06f14f2475bd08d3ea2ceec54a7b2238f3554e.tar.gz
koffice-ef06f14f2475bd08d3ea2ceec54a7b2238f3554e.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kivio/kiviopart/kivio_page.cpp')
-rw-r--r--kivio/kiviopart/kivio_page.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kivio/kiviopart/kivio_page.cpp b/kivio/kiviopart/kivio_page.cpp
index a4836352..c3bdb865 100644
--- a/kivio/kiviopart/kivio_page.cpp
+++ b/kivio/kiviopart/kivio_page.cpp
@@ -1639,7 +1639,7 @@ void KivioPage::saveGuideLines(TQDomElement& element)
TQDomElement e = element.ownerDocument().createElement("Guideline");
element.appendChild(e);
XmlWriteDouble(e, "pos", *it);
- XmlWriteInt(e, "orient", (int)Qt::Horizontal);
+ XmlWriteInt(e, "orient", (int)TQt::Horizontal);
}
itEnd = m_vGuideLines.end();
@@ -1648,7 +1648,7 @@ void KivioPage::saveGuideLines(TQDomElement& element)
TQDomElement e = element.ownerDocument().createElement("Guideline");
element.appendChild(e);
XmlWriteDouble(e, "pos", *it);
- XmlWriteInt(e, "orient", (int)Qt::Vertical);
+ XmlWriteInt(e, "orient", (int)TQt::Vertical);
}
}
@@ -1662,14 +1662,14 @@ void KivioPage::loadGuideLines(const TQDomElement& element)
for( ; !e.isNull(); e = e.nextSibling().toElement() )
{
double pos = XmlReadDouble(e, "pos", 0.0);
- Qt::Orientation orient = (Qt::Orientation)XmlReadInt(e, "orient", 0);
+ TQt::Orientation orient = (TQt::Orientation)XmlReadInt(e, "orient", 0);
addGuideLine(orient, pos);
}
}
-void KivioPage::addGuideLine(Qt::Orientation orientation, double position)
+void KivioPage::addGuideLine(TQt::Orientation orientation, double position)
{
- if(orientation == Qt::Horizontal) {
+ if(orientation == TQt::Horizontal) {
m_hGuideLines.append(position);
} else {
m_vGuideLines.append(position);