summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:06:46 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:06:46 -0600
commit8b42860dc028739f76f0e4827a545e171ad08c8e (patch)
tree8416564ac7af1549e937dc33cc46ccad0718764e
parent8b2f9e86eb95ded106bc2bf1c0c55cd4602bd789 (diff)
downloadpotracegui-8b42860dc028739f76f0e4827a545e171ad08c8e.tar.gz
potracegui-8b42860dc028739f76f0e4827a545e171ad08c8e.zip
Rename obsolete tq methods to standard names
-rw-r--r--src/MainWidgetBase.ui12
-rw-r--r--src/mainwidget.cpp8
2 files changed, 10 insertions, 10 deletions
diff --git a/src/MainWidgetBase.ui b/src/MainWidgetBase.ui
index fa5732b..93cf508 100644
--- a/src/MainWidgetBase.ui
+++ b/src/MainWidgetBase.ui
@@ -59,7 +59,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout7</cstring>
+ <cstring>layout7</cstring>
</property>
<vbox>
<property name="name">
@@ -588,7 +588,7 @@ PostScript</string>
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
- <cstring>tqlayout3</cstring>
+ <cstring>layout3</cstring>
</property>
<vbox>
<property name="name">
@@ -620,7 +620,7 @@ PostScript</string>
</widget>
<widget class="TQLayoutWidget" row="0" column="1">
<property name="name">
- <cstring>tqlayout4</cstring>
+ <cstring>layout4</cstring>
</property>
<grid>
<property name="name">
@@ -2446,7 +2446,7 @@ pixels in the input</string>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout6</cstring>
+ <cstring>layout6</cstring>
</property>
<hbox>
<property name="name">
@@ -2541,7 +2541,7 @@ pixels in the input</string>
</spacer>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout3</cstring>
+ <cstring>layout3</cstring>
</property>
<hbox>
<property name="name">
@@ -2607,7 +2607,7 @@ pixels in the input</string>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout2</cstring>
+ <cstring>layout2</cstring>
</property>
<hbox>
<property name="name">
diff --git a/src/mainwidget.cpp b/src/mainwidget.cpp
index a813fd3..351dbb7 100644
--- a/src/mainwidget.cpp
+++ b/src/mainwidget.cpp
@@ -286,7 +286,7 @@ void MainWidget::fileClose() {
void MainWidget::cut() {
if(originalLabel->pixmap()!=0)
{
- TQApplication::tqclipboard()->setPixmap(TQPixmap(*(originalLabel->pixmap())));
+ TQApplication::clipboard()->setPixmap(TQPixmap(*(originalLabel->pixmap())));
fileClose();
}
}
@@ -294,12 +294,12 @@ void MainWidget::cut() {
void MainWidget::copy() {
if(originalLabel->pixmap()!=0)
{
- TQApplication::tqclipboard()->setPixmap(TQPixmap(*(originalLabel->pixmap())));
+ TQApplication::clipboard()->setPixmap(TQPixmap(*(originalLabel->pixmap())));
}
}
void MainWidget::paste() {
- TQPixmap clip=TQApplication::tqclipboard()->pixmap();
+ TQPixmap clip=TQApplication::clipboard()->pixmap();
if(!clip.isNull())
{
if(!createTmpFilename())
@@ -309,7 +309,7 @@ void MainWidget::paste() {
}
m_outputFilename="";
- TQPixmap pix(TQApplication::tqclipboard()->pixmap());
+ TQPixmap pix(TQApplication::clipboard()->pixmap());
originalLabel->clear();
originalLabel->setGeometry(0,0,pix.width(),pix.height());
originalLabel->setPixmap(pix);