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/ui/kiviooptionsdialog.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/ui/kiviooptionsdialog.cpp')
-rw-r--r-- | kivio/kiviopart/ui/kiviooptionsdialog.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kivio/kiviopart/ui/kiviooptionsdialog.cpp b/kivio/kiviopart/ui/kiviooptionsdialog.cpp index f2784d7a..e1623d9c 100644 --- a/kivio/kiviopart/ui/kiviooptionsdialog.cpp +++ b/kivio/kiviopart/ui/kiviooptionsdialog.cpp @@ -51,7 +51,7 @@ // GuidesListViewItem::GuidesListViewItem(TQListView* parent, KivioGuideLineData *gd, KoUnit::Unit u) // : TDEListViewItem(parent), m_data(gd) // { -// setPixmap(0, BarIcon(m_data->orientation() == Qt::Vertical ? +// setPixmap(0, BarIcon(m_data->orientation() == TQt::Vertical ? // "guides_vertical":"guides_horizontal")); // TQString s = TDEGlobal::_locale->formatNumber(KoUnit::toUserValue(m_data->position(), u), 2); // s += " " + KoUnit::unitName(u); @@ -78,10 +78,10 @@ // setText(1, s); // } // -// void GuidesListViewItem::setOrientation(Qt::Orientation o) +// void GuidesListViewItem::setOrientation(TQt::Orientation o) // { // m_data->setOrientation(o); -// setPixmap(0, BarIcon(m_data->orientation() == Qt::Vertical ? +// setPixmap(0, BarIcon(m_data->orientation() == TQt::Vertical ? // "guides_vertical":"guides_horizontal")); // } @@ -174,7 +174,7 @@ void KivioOptionsDialog::initGrid() TQLabel* gridColorLbl = new TQLabel(i18n("Grid &color:"), page); m_gridColorBtn = new KColorButton(Kivio::Config::gridColor(), page); gridColorLbl->setBuddy(m_gridColorBtn); - TQGroupBox* spacingGrp = new TQGroupBox(2, Qt::Horizontal, i18n("Spacing"), page); + TQGroupBox* spacingGrp = new TQGroupBox(2, TQt::Horizontal, i18n("Spacing"), page); TQLabel* spaceHorizLbl = new TQLabel(i18n("&Horizontal:"), spacingGrp); m_spaceHorizUSpin = new KoUnitDoubleSpinBox(spacingGrp, 0.0, pgw, 0.1, fw, unit); @@ -183,7 +183,7 @@ void KivioOptionsDialog::initGrid() m_spaceVertUSpin = new KoUnitDoubleSpinBox(spacingGrp, 0.0, pgh, 0.1, fh, unit); spaceVertLbl->setBuddy(m_spaceVertUSpin); - TQGroupBox* snapGrp = new TQGroupBox(2, Qt::Horizontal, i18n("Snap Distance"), page); + TQGroupBox* snapGrp = new TQGroupBox(2, TQt::Horizontal, i18n("Snap Distance"), page); TQLabel* snapHorizLbl = new TQLabel(i18n("H&orizontal:"), snapGrp); m_snapHorizUSpin = new KoUnitDoubleSpinBox(snapGrp, 0.0, fw, 0.1, sw, unit); |