From 8b42860dc028739f76f0e4827a545e171ad08c8e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:06:46 -0600 Subject: Rename obsolete tq methods to standard names --- src/MainWidgetBase.ui | 12 ++++++------ src/mainwidget.cpp | 8 ++++---- 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 @@ - tqlayout7 + layout7 @@ -588,7 +588,7 @@ PostScript - tqlayout3 + layout3 @@ -620,7 +620,7 @@ PostScript - tqlayout4 + layout4 @@ -2446,7 +2446,7 @@ pixels in the input - tqlayout6 + layout6 @@ -2541,7 +2541,7 @@ pixels in the input - tqlayout3 + layout3 @@ -2607,7 +2607,7 @@ pixels in the input - tqlayout2 + layout2 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); -- cgit v1.2.1