From 9445f97b426e97c6ce46de18fba4030da45d56df Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 18 Dec 2011 18:36:38 -0600 Subject: Rename old tq methods that no longer need a unique name --- kimagemapeditor/kimearea.cpp | 16 ++++++++-------- kimagemapeditor/kimedialogs.cpp | 4 ++-- kimagemapeditor/kimeshell.cpp | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) (limited to 'kimagemapeditor') diff --git a/kimagemapeditor/kimearea.cpp b/kimagemapeditor/kimearea.cpp index 52cccf9f..93254d0a 100644 --- a/kimagemapeditor/kimearea.cpp +++ b/kimagemapeditor/kimearea.cpp @@ -336,10 +336,10 @@ void Area::drawAlt(TQPainter & p) { double x,y; - double scalex = p.tqworldMatrix().m11(); -// double scaley = p.tqworldMatrix().m12(); + double scalex = p.worldMatrix().m11(); +// double scaley = p.worldMatrix().m12(); - TQWMatrix oldMatrix = p.tqworldMatrix(); + TQWMatrix oldMatrix = p.worldMatrix(); p.setWorldMatrix(TQWMatrix(1,oldMatrix.m12(), oldMatrix.m21(), 1, oldMatrix.dx(), oldMatrix.dy() )); @@ -379,10 +379,10 @@ void Area::draw(TQPainter & p) { int i=0; - double scalex = p.tqworldMatrix().m11(); -// double scaley = p.tqworldMatrix().m12(); + double scalex = p.worldMatrix().m11(); +// double scaley = p.worldMatrix().m12(); - TQWMatrix oldMatrix = p.tqworldMatrix(); + TQWMatrix oldMatrix = p.worldMatrix(); p.setWorldMatrix(TQWMatrix(1,oldMatrix.m12(), oldMatrix.m21(), 1, oldMatrix.dx(), oldMatrix.dy() )); @@ -992,9 +992,9 @@ void PolyArea::draw(TQPainter & p) if (_finished) - p.tqdrawPolygon ( *_coords,false,0,_coords->count()); + p.drawPolygon ( *_coords,false,0,_coords->count()); else - p.tqdrawPolyline ( *_coords,0,_coords->count()); + p.drawPolyline ( *_coords,0,_coords->count()); /* p.moveTo(_coords->point(0)); diff --git a/kimagemapeditor/kimedialogs.cpp b/kimagemapeditor/kimedialogs.cpp index c2e50c7c..096f224f 100644 --- a/kimagemapeditor/kimedialogs.cpp +++ b/kimagemapeditor/kimedialogs.cpp @@ -602,7 +602,7 @@ ImageMapChooseDialog::ImageMapChooseDialog(TQWidget* parent,TQPtrList *_ line= new TQFrame(page); line->setFrameStyle(TQFrame::VLine | TQFrame::Sunken); line->setFixedWidth(10); -// line->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Expanding)); +// line->setSizePolicy(TQSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Expanding)); gridLayout->addWidget(line,1,1); lbl=new TQLabel(i18n("Image Preview"),page); @@ -610,7 +610,7 @@ ImageMapChooseDialog::ImageMapChooseDialog(TQWidget* parent,TQPtrList *_ imagePreview= new TQLabel(page); imagePreview->setFixedSize(310,210); - imagePreview->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Expanding)); + imagePreview->setSizePolicy(TQSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Expanding)); imagePreview->setFrameStyle(TQLabel::Panel | TQLabel::Sunken); imagePreview->setIndent(5); imagePreview->setBackgroundColor(TQColor("white")); diff --git a/kimagemapeditor/kimeshell.cpp b/kimagemapeditor/kimeshell.cpp index 70e97757..25c0ada7 100644 --- a/kimagemapeditor/kimeshell.cpp +++ b/kimagemapeditor/kimeshell.cpp @@ -71,7 +71,7 @@ KimeShell::KimeShell(const char *name ) //setCentralWidget(part->widget()); if (!initialGeometrySet()) - resize( TQSize(725, 525).expandedTo(tqminimumSizeHint())); + resize( TQSize(725, 525).expandedTo(minimumSizeHint())); connect( m_part, TQT_SIGNAL(setStatusBarText(const TQString &)), this, TQT_SLOT(slotSetStatusBarText ( const TQString & ))); -- cgit v1.2.1