diff options
Diffstat (limited to 'kivio/kiviopart/ui')
-rw-r--r-- | kivio/kiviopart/ui/kivio_birdeye_panel.cpp | 4 | ||||
-rw-r--r-- | kivio/kiviopart/ui/kiviooptionsdialog.cpp | 10 | ||||
-rw-r--r-- | kivio/kiviopart/ui/kiviooptionsdialog.h | 2 | ||||
-rw-r--r-- | kivio/kiviopart/ui/kiviostencilformatdlg.cpp | 10 | ||||
-rw-r--r-- | kivio/kiviopart/ui/kiviotextformatdlg.cpp | 4 |
5 files changed, 15 insertions, 15 deletions
diff --git a/kivio/kiviopart/ui/kivio_birdeye_panel.cpp b/kivio/kiviopart/ui/kivio_birdeye_panel.cpp index ba1e9cd5..8cb18976 100644 --- a/kivio/kiviopart/ui/kivio_birdeye_panel.cpp +++ b/kivio/kiviopart/ui/kivio_birdeye_panel.cpp @@ -100,7 +100,7 @@ bool KivioBirdEyePanel::eventFilter(TQObject* o, TQEvent* ev) if (o == canvas && ev->type() == TQEvent::MouseMove) { TQMouseEvent* me = TQT_TQMOUSEEVENT(ev); - if (me->state() == Qt::LeftButton) + if (me->state() == TQt::LeftButton) handleMouseMoveAction(me->pos()); else handleMouseMove(me->pos()); @@ -111,7 +111,7 @@ bool KivioBirdEyePanel::eventFilter(TQObject* o, TQEvent* ev) if (o == canvas && ev->type() == TQEvent::MouseButtonPress) { TQMouseEvent* me = TQT_TQMOUSEEVENT(ev); - if (me->button() == Qt::LeftButton) + if (me->button() == TQt::LeftButton) handleMousePress(me->pos()); return true; 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); diff --git a/kivio/kiviopart/ui/kiviooptionsdialog.h b/kivio/kiviopart/ui/kiviooptionsdialog.h index bdd2138a..a70bbb04 100644 --- a/kivio/kiviopart/ui/kiviooptionsdialog.h +++ b/kivio/kiviopart/ui/kiviooptionsdialog.h @@ -45,7 +45,7 @@ class TQFont; // // void setUnit(KoUnit::Unit u); // void setPosition(double p, KoUnit::Unit u); -// void setOrientation(Qt::Orientation o); +// void setOrientation(TQt::Orientation o); // KivioGuideLineData* guideData() { return m_data; } // // private: diff --git a/kivio/kiviopart/ui/kiviostencilformatdlg.cpp b/kivio/kiviopart/ui/kiviostencilformatdlg.cpp index 26a62671..d16f6e89 100644 --- a/kivio/kiviopart/ui/kiviostencilformatdlg.cpp +++ b/kivio/kiviopart/ui/kiviostencilformatdlg.cpp @@ -92,7 +92,7 @@ void KivioStencilFormatDlg::initLinePatterns() for (int i = NoPen; i <= DashDotDotLine ; i++ ) { pix.fill(white); - pen.setStyle(static_cast<Qt::PenStyle>(i)); + pen.setStyle(static_cast<TQt::PenStyle>(i)); p.setPen(pen); p.drawLine(0, 8, pix.width(), 8); @@ -114,7 +114,7 @@ void KivioStencilFormatDlg::initFillPatterns() for (int i = NoBrush; i <= DiagCrossPattern; i++ ) { pix.fill(white); - brush.setStyle(static_cast<Qt::BrushStyle>(i)); + brush.setStyle(static_cast<TQt::BrushStyle>(i)); p.setBrush(brush); p.fillRect(0, 0, pix.width(), pix.height(), brush); @@ -132,13 +132,13 @@ void KivioStencilFormatDlg::initLineEndStyles() TQPen pen; pen.setColor(TQColor(0, 0, 0)); pen.setWidth(4); - pen.setStyle(Qt::SolidLine); - pen.setJoinStyle(Qt::RoundJoin); + pen.setStyle(TQt::SolidLine); + pen.setJoinStyle(TQt::RoundJoin); p.setBrush(white); for (int i = 0; i < 3; i++) { pix.fill(white); - pen.setCapStyle(static_cast<Qt::PenCapStyle>(i * 0x10)); + pen.setCapStyle(static_cast<TQt::PenCapStyle>(i * 0x10)); p.setPen(pen); p.drawLine(6, 8, pix.width() - 12, 8); diff --git a/kivio/kiviopart/ui/kiviotextformatdlg.cpp b/kivio/kiviopart/ui/kiviotextformatdlg.cpp index 3bf67805..536ab660 100644 --- a/kivio/kiviopart/ui/kiviotextformatdlg.cpp +++ b/kivio/kiviopart/ui/kiviotextformatdlg.cpp @@ -56,12 +56,12 @@ void KivioTextFormatDlg::initFontTab() void KivioTextFormatDlg::initPositionTab() { TQFrame* tab = addPage(i18n("Position")); - m_valignBGrp = new TQButtonGroup(1, Qt::Horizontal, i18n("Vertical"), tab); + m_valignBGrp = new TQButtonGroup(1, TQt::Horizontal, i18n("Vertical"), tab); (void) new TQRadioButton(i18n("&Top"), m_valignBGrp); (void) new TQRadioButton(i18n("&Center"), m_valignBGrp); (void) new TQRadioButton(i18n("&Bottom"), m_valignBGrp); m_valignBGrp->setButton(1); - m_halignBGrp = new TQButtonGroup(1, Qt::Vertical, i18n("Horizontal"), tab); + m_halignBGrp = new TQButtonGroup(1, TQt::Vertical, i18n("Horizontal"), tab); (void) new TQRadioButton(i18n("&Left"), m_halignBGrp); (void) new TQRadioButton(i18n("C&enter"), m_halignBGrp); (void) new TQRadioButton(i18n("&Right"), m_halignBGrp); |