summaryrefslogtreecommitdiffstats
path: root/kontact/interfaces/summary.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kontact/interfaces/summary.cpp')
-rw-r--r--kontact/interfaces/summary.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kontact/interfaces/summary.cpp b/kontact/interfaces/summary.cpp
index 86902ca0..0f4c048c 100644
--- a/kontact/interfaces/summary.cpp
+++ b/kontact/interfaces/summary.cpp
@@ -34,8 +34,8 @@
using namespace Kontact;
-Summary::Summary( TQWidget *parent, const char *name )
- : TQWidget( parent, name )
+Summary::Summary( TQWidget *tqparent, const char *name )
+ : TQWidget( tqparent, name )
{
setAcceptDrops( true );
}
@@ -44,9 +44,9 @@ Summary::~Summary()
{
}
-TQWidget* Summary::createHeader(TQWidget *parent, const TQPixmap& icon, const TQString& heading)
+TQWidget* Summary::createHeader(TQWidget *tqparent, const TQPixmap& icon, const TQString& heading)
{
- TQHBox* hbox = new TQHBox( parent );
+ TQHBox* hbox = new TQHBox( tqparent );
hbox->setMargin( 2 );
TQFont boldFont;
@@ -93,7 +93,7 @@ void Summary::mouseMoveEvent( TQMouseEvent *event )
TQPainter painter;
painter.begin( &pm );
- painter.setPen( Qt::gray );
+ painter.setPen( TQt::gray );
painter.drawRect( 0, 0, pm.width(), pm.height() );
painter.end();
drag->setPixmap( pm );
@@ -109,7 +109,7 @@ void Summary::dragEnterEvent( TQDragEnterEvent *event )
void Summary::dropEvent( TQDropEvent *event )
{
- int tqalignment = (event->pos().y() < (height() / 2) ? Qt::AlignTop : Qt::AlignBottom);
+ int tqalignment = (event->pos().y() < (height() / 2) ? TQt::AlignTop : TQt::AlignBottom);
emit summaryWidgetDropped( this, event->source(), tqalignment );
}