diff options
Diffstat (limited to 'kuiviewer')
-rw-r--r-- | kuiviewer/kuiviewer.cpp | 4 | ||||
-rw-r--r-- | kuiviewer/kuiviewer_part.cpp | 4 |
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)); } |