summaryrefslogtreecommitdiffstats
path: root/kontact/interfaces/summary.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
commit9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (patch)
treeab537a329b9613e11dce8195761f93ffe82aed24 /kontact/interfaces/summary.cpp
parent3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (diff)
downloadtdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.tar.gz
tdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.
Diffstat (limited to 'kontact/interfaces/summary.cpp')
-rw-r--r--kontact/interfaces/summary.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kontact/interfaces/summary.cpp b/kontact/interfaces/summary.cpp
index 6192dd4c..08512522 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"