From 79e5d6be76392920c148aa615d9e3504f3388996 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:21:13 -0600 Subject: Rename obsolete tq methods to standard names (cherry picked from commit ebbee358abafa1b5166404c6fe5cc44ae2837a57) --- libkscan/previewer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libkscan/previewer.cpp') diff --git a/libkscan/previewer.cpp b/libkscan/previewer.cpp index 0da2140c..93538e34 100644 --- a/libkscan/previewer.cpp +++ b/libkscan/previewer.cpp @@ -119,10 +119,10 @@ Previewer::Previewer(TQWidget *parent, const char *name ) htop->addWidget( frame ); TQVBoxLayout *top = new TQVBoxLayout( frame, KDialog::marginHint(), KDialog::spacingHint() ); - tqlayout = new TQHBoxLayout( KDialog::spacingHint() ); - top->addLayout( tqlayout, 9 ); + layout = new TQHBoxLayout( KDialog::spacingHint() ); + top->addLayout( layout, 9 ); TQVBoxLayout *left = new TQVBoxLayout( KDialog::spacingHint() ); - tqlayout->addLayout( left, 2 ); + layout->addLayout( left, 2 ); /* Load autoselection values from Config file */ KConfig *cfg = KGlobal::config(); @@ -142,7 +142,7 @@ Previewer::Previewer(TQWidget *parent, const char *name ) img_canvas->setDefaultScaleKind( ImageCanvas::DYNAMIC ); img_canvas->enableContextMenu(true); img_canvas->repaint(); - tqlayout->addWidget( img_canvas, 6 ); + layout->addWidget( img_canvas, 6 ); /* Actions for the previewer zoom */ KAction *act; -- cgit v1.2.1