summaryrefslogtreecommitdiffstats
path: root/kuiviewer
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 10:00:09 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 10:00:09 -0600
commit3b34e5cf56262c9f54a3bcf02ee5ad93ca0fb05b (patch)
tree4405f233f4b0eee7f4ad3d265a5584c9ce681011 /kuiviewer
parentd6331f1b56eb6dca7a1950658b2932f208015da0 (diff)
downloadtdesdk-3b34e5cf56262c9f54a3bcf02ee5ad93ca0fb05b.tar.gz
tdesdk-3b34e5cf56262c9f54a3bcf02ee5ad93ca0fb05b.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit d6331f1b56eb6dca7a1950658b2932f208015da0.
Diffstat (limited to 'kuiviewer')
-rw-r--r--kuiviewer/kuiviewer.cpp4
-rw-r--r--kuiviewer/kuiviewer_part.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/kuiviewer/kuiviewer.cpp b/kuiviewer/kuiviewer.cpp
index f2ae01cb..b710ce95 100644
--- a/kuiviewer/kuiviewer.cpp
+++ b/kuiviewer/kuiviewer.cpp
@@ -153,11 +153,11 @@ void KUIViewer::takeScreenshot(const TQCString &filename, int w, int h){
// resize widget to the desired size
m_part->widget()->setMinimumSize(w, h);
m_part->widget()->setMaximumSize(w, h);
- m_part->widget()->repaint();
+ m_part->widget()->tqrepaint();
// resize app to be as large as desired size
adjustSize();
// Disable the saving of the size
- setAutoSaveSettings(TQString::fromLatin1("MainWindow"), false);
+ setAutoSaveSettings(TQString::tqfromLatin1("MainWindow"), false);
}
TQPixmap pixmap = TQPixmap::grabWidget( m_part->widget() );
pixmap.save( filename, "PNG" );
diff --git a/kuiviewer/kuiviewer_part.cpp b/kuiviewer/kuiviewer_part.cpp
index 38b73f57..d4d3fc21 100644
--- a/kuiviewer/kuiviewer_part.cpp
+++ b/kuiviewer/kuiviewer_part.cpp
@@ -36,7 +36,7 @@
#include <kstyle.h>
#include <tqmetaobject.h>
-#include <clipboard.h>
+#include <tqclipboard.h>
#include <tqcursor.h>
#include <tqfile.h>
#include <tqobjectlist.h>
@@ -205,7 +205,7 @@ void KUIViewerPart::slotGrab()
return;
}
- TQClipboard *clipboard = TQApplication::clipboard();
+ TQClipboard *clipboard = TQApplication::tqclipboard();
clipboard->setPixmap(TQPixmap::grabWidget(m_widget));
}