summaryrefslogtreecommitdiffstats
path: root/kontact/plugins/summary/dropwidget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kontact/plugins/summary/dropwidget.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kontact/plugins/summary/dropwidget.cpp')
-rw-r--r--kontact/plugins/summary/dropwidget.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kontact/plugins/summary/dropwidget.cpp b/kontact/plugins/summary/dropwidget.cpp
index 0d6aa5305..341c37d80 100644
--- a/kontact/plugins/summary/dropwidget.cpp
+++ b/kontact/plugins/summary/dropwidget.cpp
@@ -19,22 +19,22 @@
Boston, MA 02110-1301, USA.
*/
-#include <qdragobject.h>
+#include <tqdragobject.h>
#include "dropwidget.h"
-DropWidget::DropWidget( QWidget *parent, const char *name )
- : QWidget( parent, name )
+DropWidget::DropWidget( TQWidget *parent, const char *name )
+ : TQWidget( parent, name )
{
setAcceptDrops( true );
}
-void DropWidget::dragEnterEvent( QDragEnterEvent *event )
+void DropWidget::dragEnterEvent( TQDragEnterEvent *event )
{
- event->accept( QTextDrag::canDecode( event ) );
+ event->accept( TQTextDrag::canDecode( event ) );
}
-void DropWidget::dropEvent( QDropEvent *event )
+void DropWidget::dropEvent( TQDropEvent *event )
{
int alignment = ( event->pos().x() < (width() / 2) ? Qt::AlignLeft : Qt::AlignRight );
alignment |= ( event->pos().y() < (height() / 2) ? Qt::AlignTop : Qt::AlignBottom );