summaryrefslogtreecommitdiffstats
path: root/libkscan/previewer.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:59:00 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:59:00 -0600
commitec1fddcd0d6663ad273af85357f04abbc5689468 (patch)
tree6cb946ab8b4771868c6eee8d1aa5213d6ec246e2 /libkscan/previewer.cpp
parentc2637a0da6d9a1c8626ca39f8451ab3b7cda487a (diff)
downloadtdegraphics-ec1fddcd0d6663ad273af85357f04abbc5689468.tar.gz
tdegraphics-ec1fddcd0d6663ad273af85357f04abbc5689468.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit c2637a0da6d9a1c8626ca39f8451ab3b7cda487a.
Diffstat (limited to 'libkscan/previewer.cpp')
-rw-r--r--libkscan/previewer.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/libkscan/previewer.cpp b/libkscan/previewer.cpp
index aca235ae..0e6c8804 100644
--- a/libkscan/previewer.cpp
+++ b/libkscan/previewer.cpp
@@ -24,11 +24,11 @@
#include <tqtooltip.h>
#include <tqpopupmenu.h>
#include <tqfile.h>
-#include <textstream.h>
+#include <tqtextstream.h>
#include <tqcombobox.h>
#include <tqradiobutton.h>
#include <tqgroupbox.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <kdebug.h>
#include <klocale.h>
@@ -119,10 +119,10 @@ Previewer::Previewer(TQWidget *parent, const char *name )
htop->addWidget( frame );
TQVBoxLayout *top = new TQVBoxLayout( frame, KDialog::marginHint(), KDialog::spacingHint() );
- layout = new TQHBoxLayout( KDialog::spacingHint() );
- top->addLayout( layout, 9 );
+ tqlayout = new TQHBoxLayout( KDialog::spacingHint() );
+ top->addLayout( tqlayout, 9 );
TQVBoxLayout *left = new TQVBoxLayout( KDialog::spacingHint() );
- layout->addLayout( left, 2 );
+ tqlayout->addLayout( left, 2 );
/* Load autoselection values from Config file */
KConfig *cfg = KGlobal::config();
@@ -141,8 +141,8 @@ Previewer::Previewer(TQWidget *parent, const char *name )
img_canvas->setDefaultScaleKind( ImageCanvas::DYNAMIC );
img_canvas->enableContextMenu(true);
- img_canvas->repaint();
- layout->addWidget( img_canvas, 6 );
+ img_canvas->tqrepaint();
+ tqlayout->addWidget( img_canvas, 6 );
/* Actions for the previewer zoom */
KAction *act;
@@ -477,11 +477,11 @@ void Previewer::slNewDimen(TQRect r)
selectionHeightMm = (overallHeight / 1000 * r.height());
TQString s;
- s = i18n("width %1 mm").arg( int(selectionWidthMm));
+ s = i18n("width %1 mm").tqarg( int(selectionWidthMm));
emit(setScanWidth(s));
kdDebug(29000) << "Setting new Dimension " << s << endl;
- s = i18n("height %1 mm").arg(int(selectionHeightMm));
+ s = i18n("height %1 mm").tqarg(int(selectionHeightMm));
emit(setScanHeight(s));
recalcFileSize( );