From eba47f8f0637f451e21348187591e1f1fd58ac74 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:23:46 +0000 Subject: TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kiconedit/kresize.cpp | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'kiconedit/kresize.cpp') diff --git a/kiconedit/kresize.cpp b/kiconedit/kresize.cpp index 82a86ee3..b2af86b6 100644 --- a/kiconedit/kresize.cpp +++ b/kiconedit/kresize.cpp @@ -19,31 +19,31 @@ Boston, MA 02110-1301, USA. */ -#include -#include -#include +#include +#include +#include #include #include #include "kresize.h" -KResizeWidget::KResizeWidget( QWidget* parent, const char* name, - const QSize& size ) : QWidget( parent, name ) +KResizeWidget::KResizeWidget( TQWidget* parent, const char* name, + const TQSize& size ) : TQWidget( parent, name ) { - QHBoxLayout* genLayout = new QHBoxLayout( this ); + TQHBoxLayout* genLayout = new TQHBoxLayout( this ); - QGroupBox* group = new QGroupBox( i18n( "Size" ), this ); + TQGroupBox* group = new TQGroupBox( i18n( "Size" ), this ); group->setColumnLayout( 0, Qt::Horizontal ); genLayout->addWidget( group ); - QHBoxLayout* layout = new QHBoxLayout( group->layout(), 6 ); + TQHBoxLayout* layout = new TQHBoxLayout( group->layout(), 6 ); m_width = new KIntSpinBox( 1, 200, 1, 1, 10, group ); m_width->setValue( size.width() ); layout->addWidget( m_width, 1 ); - QLabel* label = new QLabel( "X", group ); + TQLabel* label = new TQLabel( "X", group ); layout->addWidget( label ); m_height = new KIntSpinBox( 1, 200, 1, 1, 10, group); @@ -57,13 +57,13 @@ KResizeWidget::~KResizeWidget() { } -const QSize KResizeWidget::getSize() +const TQSize KResizeWidget::getSize() { - return QSize( m_width->value(), m_height->value() ); + return TQSize( m_width->value(), m_height->value() ); } -KResizeDialog::KResizeDialog( QWidget* parent, const char* name, - const QSize size ) +KResizeDialog::KResizeDialog( TQWidget* parent, const char* name, + const TQSize size ) : KDialogBase( parent, name, true, i18n( "Select Size" ), Ok|Cancel ) { m_resize = new KResizeWidget( this, "resize widget", size ); @@ -75,7 +75,7 @@ KResizeDialog::~KResizeDialog() { } -const QSize KResizeDialog::getSize() +const TQSize KResizeDialog::getSize() { return m_resize->getSize(); } -- cgit v1.2.1