diff options
Diffstat (limited to 'kontact/interfaces/summary.cpp')
-rw-r--r-- | kontact/interfaces/summary.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kontact/interfaces/summary.cpp b/kontact/interfaces/summary.cpp index 6192dd4c4..085125222 100644 --- a/kontact/interfaces/summary.cpp +++ b/kontact/interfaces/summary.cpp @@ -55,20 +55,20 @@ TQWidget* Summary::createHeader(TQWidget *parent, const TQPixmap& icon, const TQ TQLabel *label = new TQLabel( hbox ); label->setPixmap( icon ); - label->setFixedSize( label->sizeHint() ); - label->setPaletteBackgroundColor( colorGroup().mid() ); + label->setFixedSize( label->tqsizeHint() ); + label->setPaletteBackgroundColor( tqcolorGroup().mid() ); label->setAcceptDrops( true ); label = new TQLabel( heading, hbox ); - label->setAlignment( AlignLeft|AlignVCenter ); + label->tqsetAlignment( AlignLeft|AlignVCenter ); label->setIndent( KDialog::spacingHint() ); label->setFont( boldFont ); - label->setPaletteForegroundColor( colorGroup().light() ); - label->setPaletteBackgroundColor( colorGroup().mid() ); + label->setPaletteForegroundColor( tqcolorGroup().light() ); + label->setPaletteBackgroundColor( tqcolorGroup().mid() ); - hbox->setPaletteBackgroundColor( colorGroup().mid() ); + hbox->setPaletteBackgroundColor( tqcolorGroup().mid() ); - hbox->setMaximumHeight( hbox->minimumSizeHint().height() ); + hbox->setMaximumHeight( hbox->tqminimumSizeHint().height() ); return hbox; } @@ -109,8 +109,8 @@ void Summary::dragEnterEvent( TQDragEnterEvent *event ) void Summary::dropEvent( TQDropEvent *event ) { - int alignment = (event->pos().y() < (height() / 2) ? TQt::AlignTop : TQt::AlignBottom); - emit summaryWidgetDropped( this, event->source(), alignment ); + int tqalignment = (event->pos().y() < (height() / 2) ? TQt::AlignTop : TQt::AlignBottom); + emit summaryWidgetDropped( this, event->source(), tqalignment ); } #include "summary.moc" |