summaryrefslogtreecommitdiffstats
path: root/kimagemapeditor
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-18 18:36:38 -0600
committerSlávek Banko <[email protected]>2012-06-19 19:42:51 +0200
commita177b05ccc4f6a94c52944e4015831d766058b0e (patch)
treeb5b19a92c4080c992565ef3e07b55322ae3df020 /kimagemapeditor
parent1e3f84a3c7f28cbd80c26f770055bca0dfebafbd (diff)
downloadtdewebdev-a177b05ccc4f6a94c52944e4015831d766058b0e.tar.gz
tdewebdev-a177b05ccc4f6a94c52944e4015831d766058b0e.zip
Rename old tq methods that no longer need a unique name
(cherry picked from commit 9445f97b426e97c6ce46de18fba4030da45d56df)
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 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<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 7d92e8fb..39c0ad56 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 & )));