Rename obsolete tq methods to standard names

pull/1/head
Timothy Pearson 13 years ago
parent 8b2f9e86eb
commit 8b42860dc0

@ -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">

@ -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);

Loading…
Cancel
Save