summaryrefslogtreecommitdiffstats
path: root/kiconedit/knew.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/knew.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/knew.cpp')
-rw-r--r--kiconedit/knew.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kiconedit/knew.cpp b/kiconedit/knew.cpp
index 77f7ee99..b611a624 100644
--- a/kiconedit/knew.cpp
+++ b/kiconedit/knew.cpp
@@ -145,7 +145,7 @@ void KIconListBoxItem::paint( TQPainter *p )
int KIconListBoxItem::height(const TQListBox *lb ) const
{
- return QMAX( pm.height(), lb->fontMetrics().lineSpacing() + 1 );
+ return TQMAX( pm.height(), lb->fontMetrics().lineSpacing() + 1 );
}
int KIconListBoxItem::width(const TQListBox *lb ) const
@@ -153,9 +153,9 @@ int KIconListBoxItem::width(const TQListBox *lb ) const
return pm.width() + lb->fontMetrics().width( text() ) + 6;
}
-NewSelect::NewSelect(TQWidget *parent) : TQWidget( parent )
+NewSelect::NewSelect(TQWidget *tqparent) : TQWidget( tqparent )
{
- wiz = (KWizard*) parent;
+ wiz = (KWizard*) tqparent;
grp = new TQButtonGroup( this );
connect( grp, TQT_SIGNAL( clicked( int ) ), TQT_SLOT( buttonClicked( int ) ) );
grp->setExclusive( true );
@@ -173,7 +173,7 @@ NewSelect::NewSelect(TQWidget *parent) : TQWidget( parent )
l->addWidget( rbtempl, 1 );
//l->addWidget(rbtempl, 5, AlignLeft);
- //grp->setMinimumSize(grp->childrenRect().size());
+ //grp->setMinimumSize(grp->tqchildrenRect().size());
grp->setButton( 0 );
}
@@ -189,10 +189,10 @@ void NewSelect::buttonClicked(int id)
emit iconopenstyle(id);
}
-NewFromTemplate::NewFromTemplate( TQWidget* parent )
- : TQWidget( parent )
+NewFromTemplate::NewFromTemplate( TQWidget* tqparent )
+ : TQWidget( tqparent )
{
- wiz = (KWizard*) parent;
+ wiz = (KWizard*) tqparent;
TQVBoxLayout* ml = new TQVBoxLayout(this);
@@ -223,8 +223,8 @@ void NewFromTemplate::checkSelection( int )
wiz->finishButton()->setEnabled( false );
}
-KNewIcon::KNewIcon( TQWidget* parent )
- : KWizard( parent, 0, true )
+KNewIcon::KNewIcon( TQWidget* tqparent )
+ : KWizard( tqparent, 0, true )
{
//kdDebug(4640) << "KNewIcon" << endl;
setCaption( i18n( "Create New Icon" ) );