summaryrefslogtreecommitdiffstats
path: root/tdeui/kjanuswidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/kjanuswidget.cpp')
-rw-r--r--tdeui/kjanuswidget.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tdeui/kjanuswidget.cpp b/tdeui/kjanuswidget.cpp
index c3a8838e9..513ae2d8a 100644
--- a/tdeui/kjanuswidget.cpp
+++ b/tdeui/kjanuswidget.cpp
@@ -789,9 +789,9 @@ TQSize KJanusWidget::minimumSizeHint() const
// Select the tallest item. It has only effect in IconList mode
//
int h1 = s1.rheight() + s3.rheight() + s4.height();
- int h2 = QMAX( h1, s2.rheight() );
+ int h2 = TQMAX( h1, s2.rheight() );
- return TQSize( s1.width()+s2.width()+QMAX(s3.width(),s4.width()), h2 );
+ return TQSize( s1.width()+s2.width()+TQMAX(s3.width(),s4.width()), h2 );
}
else if( mFace == Tabbed )
{
@@ -968,7 +968,7 @@ void KJanusWidget::IconListBox::updateWidth()
for( TQListBoxItem *i = item(0); i; i = i->next() )
{
int w = ((IconListItem *)i)->width(this);
- maxWidth = QMAX( w, maxWidth );
+ maxWidth = TQMAX( w, maxWidth );
}
for( TQListBoxItem *i = item(0); i; i = i->next() )
@@ -1063,7 +1063,7 @@ KJanusWidget::IconListItem::IconListItem( TQListBox *listbox, const TQPixmap &pi
int KJanusWidget::IconListItem::expandMinimumWidth( int width )
{
- mMinimumWidth = QMAX( mMinimumWidth, width );
+ mMinimumWidth = TQMAX( mMinimumWidth, width );
return mMinimumWidth;
}
@@ -1178,8 +1178,8 @@ int KJanusWidget::IconListItem::width( const TQListBox *lb ) const
{
int wt = lb->fontMetrics().boundingRect( 0, 0, 0, 0, Qt::AlignCenter, text() ).width() + 10;
int wp = mPixmap.width() + 10;
- int w = QMAX( wt, wp );
- return QMAX( w, mMinimumWidth );
+ int w = TQMAX( wt, wp );
+ return TQMAX( w, mMinimumWidth );
}