summaryrefslogtreecommitdiffstats
path: root/src/mainwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwidget.cpp')
-rw-r--r--src/mainwidget.cpp8
1 files changed, 4 insertions, 4 deletions
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);