summaryrefslogtreecommitdiffstats
path: root/kimagemapeditor
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:36:38 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:36:38 -0600
commit9445f97b426e97c6ce46de18fba4030da45d56df (patch)
tree5199825600092081f3256a8202f035b92612b109 /kimagemapeditor
parent1fffbdafa12271a1a635caf46777fb8acfb6f31b (diff)
downloadtdewebdev-9445f97b426e97c6ce46de18fba4030da45d56df.tar.gz
tdewebdev-9445f97b426e97c6ce46de18fba4030da45d56df.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kimagemapeditor')
-rw-r--r--kimagemapeditor/kimearea.cpp16
-rw-r--r--kimagemapeditor/kimedialogs.cpp4
-rw-r--r--kimagemapeditor/kimeshell.cpp2
3 files changed, 11 insertions, 11 deletions
diff --git a/kimagemapeditor/kimearea.cpp b/kimagemapeditor/kimearea.cpp
index 52cccf9..93254d0 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 c2e50c7..096f224 100644
--- a/kimagemapeditor/kimedialogs.cpp
+++ b/kimagemapeditor/kimedialogs.cpp
@@ -602,7 +602,7 @@ ImageMapChooseDialog::ImageMapChooseDialog(TQWidget* parent,TQPtrList<MapTag> *_
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<MapTag> *_
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 70e9775..25c0ada 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 & )));