summaryrefslogtreecommitdiffstats
path: root/korn/boxcontaineritem.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /korn/boxcontaineritem.cpp
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'korn/boxcontaineritem.cpp')
-rw-r--r--korn/boxcontaineritem.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/korn/boxcontaineritem.cpp b/korn/boxcontaineritem.cpp
index 4dec01904..c4976f232 100644
--- a/korn/boxcontaineritem.cpp
+++ b/korn/boxcontaineritem.cpp
@@ -216,23 +216,23 @@ void BoxContainerItem::showPassivePopup( TQWidget* parent, TQPtrList< KornMailSu
{
KPassivePopup *popup = new KPassivePopup( parent, "Passive popup" );
- TQVBox *mainvlayout = popup->standardView( i18n( "KOrn - %1/%2 (total: %3)" ).arg( objId() ).arg( accountName )
+ TQVBox *mainvtqlayout = popup->standardView( i18n( "KOrn - %1/%2 (total: %3)" ).arg( objId() ).arg( accountName )
.arg( total ), "", TQPixmap(), 0 );
- TQGrid *mainglayout = new TQGrid( date ? 3 : 2 ,mainvlayout, "Grid-Layout" );
+ TQGrid *maingtqlayout = new TQGrid( date ? 3 : 2 ,mainvtqlayout, "Grid-Layout" );
- TQLabel *title = new TQLabel( i18n("From"), mainglayout, "from_label" );
+ TQLabel *title = new TQLabel( i18n("From"), maingtqlayout, "from_label" );
TQFont font = title->font();
font.setBold( true );
title->setFont( font );
- title = new TQLabel( i18n("Subject"), mainglayout, "subject_label" );
+ title = new TQLabel( i18n("Subject"), maingtqlayout, "subject_label" );
font = title->font();
font.setBold( true );
title->setFont( font );
if( date )
{
- title = new TQLabel( i18n("Date"), mainglayout, "date_label" );
+ title = new TQLabel( i18n("Date"), maingtqlayout, "date_label" );
font = title->font();
font.setBold( true );
title->setFont( font );
@@ -240,19 +240,19 @@ void BoxContainerItem::showPassivePopup( TQWidget* parent, TQPtrList< KornMailSu
for( KornMailSubject* subject = list->first(); subject; subject = list->next() )
{
- new TQLabel( subject->getSender(), mainglayout, "from-value" );
- new TQLabel( subject->getSubject(), mainglayout, "subject-value" );
+ new TQLabel( subject->getSender(), maingtqlayout, "from-value" );
+ new TQLabel( subject->getSubject(), maingtqlayout, "subject-value" );
if( date )
{
TQDateTime tijd;
tijd.setTime_t( subject->getDate() );
- new TQLabel( tijd.toString(), mainglayout, "date-value" );
+ new TQLabel( tijd.toString(), maingtqlayout, "date-value" );
}
}
popup->setAutoDelete( true ); //Now, now care for deleting these pointers.
- popup->setView( mainvlayout );
+ popup->setView( mainvtqlayout );
popup->show(); //Display it
}
@@ -316,7 +316,7 @@ void BoxContainerItem::drawLabel( TQLabel *label, const int count, const bool ne
if( _fonts[ index ] )
label->setFont( *_fonts[ index ] );
label->setPaletteForegroundColor( *_fgColour[ index ] );
- label->setAlignment( Qt::AlignHCenter | Qt::AlignVCenter );
+ label->tqsetAlignment( Qt::AlignHCenter | Qt::AlignVCenter );
label->setText( TQString::number( count ) );
}
@@ -358,7 +358,7 @@ TQPixmap BoxContainerItem::calcComplexPixmap( const TQPixmap &icon, const TQColo
for( int yy = 0; yy < numberImage.width(); ++yy )
{
//Set colour and alpha channel
- rgbline[ yy ] = qRgba( fgColour.red(), fgColour.green(), fgColour.blue(), qRed( rgbline[ yy ] ) );
+ rgbline[ yy ] = tqRgba( fgColour.red(), fgColour.green(), fgColour.blue(), tqRed( rgbline[ yy ] ) );
}
}
@@ -371,7 +371,7 @@ TQPixmap BoxContainerItem::calcComplexPixmap( const TQPixmap &icon, const TQColo
void BoxContainerItem::setAnimIcon( TQLabel* label, const TQString& anim )
{
- label->setAlignment( Qt::AlignHCenter | Qt::AlignVCenter );
+ label->tqsetAlignment( Qt::AlignHCenter | Qt::AlignVCenter );
label->setMovie( TQMovie( anim ) );
label->show();
}