summaryrefslogtreecommitdiffstats
path: root/kview/kviewviewer/imagesettings.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:47:59 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:47:59 -0600
commitc2637a0da6d9a1c8626ca39f8451ab3b7cda487a (patch)
treebe38034f085e8be24f14f329f87a611d319e6259 /kview/kviewviewer/imagesettings.cpp
parent3fd343f2c6b0545bd750b2939c74be3834b13274 (diff)
downloadtdegraphics-c2637a0da6d9a1c8626ca39f8451ab3b7cda487a.tar.gz
tdegraphics-c2637a0da6d9a1c8626ca39f8451ab3b7cda487a.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kview/kviewviewer/imagesettings.cpp')
-rw-r--r--kview/kviewviewer/imagesettings.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kview/kviewviewer/imagesettings.cpp b/kview/kviewviewer/imagesettings.cpp
index a4259b05..0a2e0dc3 100644
--- a/kview/kviewviewer/imagesettings.cpp
+++ b/kview/kviewviewer/imagesettings.cpp
@@ -19,7 +19,7 @@
#include "imagesettings.h"
#include <tqcheckbox.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <klocale.h>
#include <kdialog.h>
@@ -30,14 +30,14 @@ ImageSettings::ImageSettings( TQWidget * parent, const char * name )
{
setTitle( i18n( "Image Settings" ) );
- TQBoxLayout * tqlayout = new TQVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint() );
+ TQBoxLayout * layout = new TQVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint() );
m_pFitImage = new TQCheckBox( i18n( "Fit image to page size" ), this );
m_pFitImage->setChecked( true );
- tqlayout->addWidget( m_pFitImage );
+ layout->addWidget( m_pFitImage );
m_pCenter = new TQCheckBox( i18n( "Center image on page" ), this );
m_pCenter->setChecked( true );
- tqlayout->addWidget( m_pCenter );
- tqlayout->insertStretch( -1, 0 );
+ layout->addWidget( m_pCenter );
+ layout->insertStretch( -1, 0 );
}
ImageSettings::~ImageSettings()