summaryrefslogtreecommitdiffstats
path: root/kiconedit/kresize.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
commite69e8b1d09fb579316595b4e6a850e717358a8b1 (patch)
treea24fc20865f65772f530d16177520190594ffdd2 /kiconedit/kresize.cpp
parenteecec9afb81fdebb0f22e9da22635874c403f854 (diff)
downloadtdegraphics-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 'kiconedit/kresize.cpp')
-rw-r--r--kiconedit/kresize.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kiconedit/kresize.cpp b/kiconedit/kresize.cpp
index b2af86b6..b290cce7 100644
--- a/kiconedit/kresize.cpp
+++ b/kiconedit/kresize.cpp
@@ -28,8 +28,8 @@
#include "kresize.h"
-KResizeWidget::KResizeWidget( TQWidget* parent, const char* name,
- const TQSize& size ) : TQWidget( parent, name )
+KResizeWidget::KResizeWidget( TQWidget* tqparent, const char* name,
+ const TQSize& size ) : TQWidget( tqparent, name )
{
TQHBoxLayout* genLayout = new TQHBoxLayout( this );
@@ -37,18 +37,18 @@ KResizeWidget::KResizeWidget( TQWidget* parent, const char* name,
group->setColumnLayout( 0, Qt::Horizontal );
genLayout->addWidget( group );
- TQHBoxLayout* layout = new TQHBoxLayout( group->layout(), 6 );
+ TQHBoxLayout* tqlayout = new TQHBoxLayout( group->tqlayout(), 6 );
m_width = new KIntSpinBox( 1, 200, 1, 1, 10, group );
m_width->setValue( size.width() );
- layout->addWidget( m_width, 1 );
+ tqlayout->addWidget( m_width, 1 );
TQLabel* label = new TQLabel( "X", group );
- layout->addWidget( label );
+ tqlayout->addWidget( label );
m_height = new KIntSpinBox( 1, 200, 1, 1, 10, group);
m_height->setValue( size.height() );
- layout->addWidget( m_height, 1 );
+ tqlayout->addWidget( m_height, 1 );
setMinimumSize( 200, 100 );
}
@@ -62,9 +62,9 @@ const TQSize KResizeWidget::getSize()
return TQSize( m_width->value(), m_height->value() );
}
-KResizeDialog::KResizeDialog( TQWidget* parent, const char* name,
+KResizeDialog::KResizeDialog( TQWidget* tqparent, const char* name,
const TQSize size )
- : KDialogBase( parent, name, true, i18n( "Select Size" ), Ok|Cancel )
+ : KDialogBase( tqparent, name, true, i18n( "Select Size" ), Ok|Cancel )
{
m_resize = new KResizeWidget( this, "resize widget", size );