summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/kivio_page.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-05 11:54:26 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-16 23:40:13 +0900
commitc8c5e11f05f023849896d09cf06917e9a2c016ca (patch)
treea62f00b0249b967528e115e2123b56d40633c17a /kivio/kiviopart/kivio_page.cpp
parentc9973bfbf1091ef91f30b5ab456015676123aa47 (diff)
downloadkoffice-c8c5e11f.tar.gz
koffice-c8c5e11f.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit ef06f14f2475bd08d3ea2ceec54a7b2238f3554e)
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 6bf6a3aab..cd09d54cc 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);