diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-19 19:03:33 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-19 19:03:33 +0000 |
commit | e69e8b1d09fb579316595b4e6a850e717358a8b1 (patch) | |
tree | a24fc20865f65772f530d16177520190594ffdd2 /kview/kviewviewer/imagesettings.cpp | |
parent | eecec9afb81fdebb0f22e9da22635874c403f854 (diff) | |
download | tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.tar.gz tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.zip |
TQt4 port kdegraphics
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kview/kviewviewer/imagesettings.cpp')
-rw-r--r-- | kview/kviewviewer/imagesettings.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kview/kviewviewer/imagesettings.cpp b/kview/kviewviewer/imagesettings.cpp index 0ee58b78..10781565 100644 --- a/kview/kviewviewer/imagesettings.cpp +++ b/kview/kviewviewer/imagesettings.cpp @@ -24,20 +24,20 @@ #include <klocale.h> #include <kdialog.h> -ImageSettings::ImageSettings( TQWidget * parent, const char * name ) - : KPrintDialogPage( parent, name ) +ImageSettings::ImageSettings( TQWidget * tqparent, const char * name ) + : KPrintDialogPage( tqparent, name ) , m_pFitImage( 0 ) { setTitle( i18n( "Image Settings" ) ); - TQBoxLayout * layout = new TQVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint() ); + TQBoxLayout * tqlayout = new TQVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint() ); m_pFitImage = new TQCheckBox( i18n( "Fit image to page size" ), this ); m_pFitImage->setChecked( true ); - layout->addWidget( m_pFitImage ); + tqlayout->addWidget( m_pFitImage ); m_pCenter = new TQCheckBox( i18n( "Center image on page" ), this ); m_pCenter->setChecked( true ); - layout->addWidget( m_pCenter ); - layout->insertStretch( -1, 0 ); + tqlayout->addWidget( m_pCenter ); + tqlayout->insertStretch( -1, 0 ); } ImageSettings::~ImageSettings() |