diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:21:13 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-03 19:30:04 +0200 |
commit | 79e5d6be76392920c148aa615d9e3504f3388996 (patch) | |
tree | bc713fbfa18e2c962f2f1ea8adf9ec5c1ac187ee /libkscan/previewer.cpp | |
parent | 5027dfec5092217f70492dd6712059e46b21d003 (diff) | |
download | tdegraphics-79e5d6be76392920c148aa615d9e3504f3388996.tar.gz tdegraphics-79e5d6be76392920c148aa615d9e3504f3388996.zip |
Rename obsolete tq methods to standard names
(cherry picked from commit ebbee358abafa1b5166404c6fe5cc44ae2837a57)
Diffstat (limited to 'libkscan/previewer.cpp')
-rw-r--r-- | libkscan/previewer.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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; |