summaryrefslogtreecommitdiffstats
path: root/kuiviewer/kuiviewer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kuiviewer/kuiviewer.cpp')
-rw-r--r--kuiviewer/kuiviewer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kuiviewer/kuiviewer.cpp b/kuiviewer/kuiviewer.cpp
index b710ce95..f2ae01cb 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()->tqrepaint();
+ m_part->widget()->repaint();
// resize app to be as large as desired size
adjustSize();
// Disable the saving of the size
- setAutoSaveSettings(TQString::tqfromLatin1("MainWindow"), false);
+ setAutoSaveSettings(TQString::fromLatin1("MainWindow"), false);
}
TQPixmap pixmap = TQPixmap::grabWidget( m_part->widget() );
pixmap.save( filename, "PNG" );