summaryrefslogtreecommitdiffstats
path: root/kiconedit/kresize.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kiconedit/kresize.cpp
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz
tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kiconedit/kresize.cpp')
-rw-r--r--kiconedit/kresize.cpp28
1 files changed, 14 insertions, 14 deletions
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 <qlabel.h>
-#include <qlayout.h>
-#include <qgroupbox.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
+#include <tqgroupbox.h>
#include <klocale.h>
#include <knuminput.h>
#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();
}