summaryrefslogtreecommitdiffstats
path: root/ksnapshot
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:31:39 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:31:39 -0600
commit45f529de247fc4b3662f6b474abe03fe904306ec (patch)
treed4b70147f7b0aeda4c1cb484553dc8ae048eb7ec /ksnapshot
parentec1fddcd0d6663ad273af85357f04abbc5689468 (diff)
downloadtdegraphics-45f529de247fc4b3662f6b474abe03fe904306ec.tar.gz
tdegraphics-45f529de247fc4b3662f6b474abe03fe904306ec.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'ksnapshot')
-rw-r--r--ksnapshot/ksnapshot.h2
-rw-r--r--ksnapshot/ksnapshotwidget.ui6
-rw-r--r--ksnapshot/regiongrabber.cpp4
3 files changed, 6 insertions, 6 deletions
diff --git a/ksnapshot/ksnapshot.h b/ksnapshot/ksnapshot.h
index c0d5becc..4850b314 100644
--- a/ksnapshot/ksnapshot.h
+++ b/ksnapshot/ksnapshot.h
@@ -29,7 +29,7 @@ class KSnapshotPreview : public TQLabel
KSnapshotPreview(TQWidget *parent, const char *name = 0)
: TQLabel(parent, name)
{
- tqsetAlignment(AlignHCenter | AlignVCenter);
+ setAlignment(AlignHCenter | AlignVCenter);
setCursor(TQCursor(TQt::PointingHandCursor));
}
virtual ~KSnapshotPreview() {}
diff --git a/ksnapshot/ksnapshotwidget.ui b/ksnapshot/ksnapshotwidget.ui
index 86e942f2..86a2e4e2 100644
--- a/ksnapshot/ksnapshotwidget.ui
+++ b/ksnapshot/ksnapshotwidget.ui
@@ -23,7 +23,7 @@
<property name="name">
<cstring>lblImage</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>200</width>
<height>130</height>
@@ -107,7 +107,7 @@ If &lt;i&gt;no delay&lt;/i&gt; is set, the program will wait for a mouse click b
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>156</width>
<height>16</height>
@@ -193,7 +193,7 @@ If &lt;i&gt;no delay&lt;/i&gt; is set, the program will wait for a mouse click b
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>16</width>
<height>16</height>
diff --git a/ksnapshot/regiongrabber.cpp b/ksnapshot/regiongrabber.cpp
index 74ac960a..bc243da4 100644
--- a/ksnapshot/regiongrabber.cpp
+++ b/ksnapshot/regiongrabber.cpp
@@ -168,8 +168,8 @@ void RegionGrabber::drawRubber()
p.setPen( TQPen( color0, 1 ) );
p.setBrush( NoBrush );
- tqstyle().tqdrawPrimitive( TQStyle::PE_FocusRect, &p, grabRect, tqcolorGroup(),
- TQStyle::Style_Default, TQStyleOption( tqcolorGroup().base() ) );
+ tqstyle().tqdrawPrimitive( TQStyle::PE_FocusRect, &p, grabRect, colorGroup(),
+ TQStyle::Style_Default, TQStyleOption( colorGroup().base() ) );
p.end();
}