diff options
author | Michele Calgaro <[email protected]> | 2023-11-05 11:54:26 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-16 23:37:57 +0900 |
commit | ef06f14f2475bd08d3ea2ceec54a7b2238f3554e (patch) | |
tree | 03df826633e4ba084d133ca977c4fc37c74f21ac /kivio/kiviopart/kivio_page.cpp | |
parent | 895081803a715ee89f4a90cfbf63d558ef2b2ebc (diff) | |
download | koffice-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.cpp | 10 |
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); |