From c663b6440964f6ac48027143ac9e63298991f9d0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:33:34 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kpager/windowdrag.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kpager/windowdrag.cpp') diff --git a/kpager/windowdrag.cpp b/kpager/windowdrag.cpp index 2f9c59cbd..fc854b8a9 100644 --- a/kpager/windowdrag.cpp +++ b/kpager/windowdrag.cpp @@ -25,12 +25,12 @@ #include "windowdrag.h" -PagerWindowDrag::PagerWindowDrag(WId w,int deltax,int deltay, int origdesk,QWidget *parent) - : QStoredDrag("application/x-kpager",parent,"windowdrag") +PagerWindowDrag::PagerWindowDrag(WId w,int deltax,int deltay, int origdesk,TQWidget *parent) + : TQStoredDrag("application/x-kpager",parent,"windowdrag") { - QString tmp; + TQString tmp; tmp.sprintf("%d %d %d %d", static_cast(w), deltax, deltay, origdesk); - QByteArray data; + TQByteArray data; data.setRawData(tmp.latin1(),tmp.length()+1); setEncodedData(data); @@ -41,14 +41,14 @@ PagerWindowDrag::~PagerWindowDrag() { } -bool PagerWindowDrag::canDecode (QDragMoveEvent *e) +bool PagerWindowDrag::canDecode (TQDragMoveEvent *e) { return e->provides("application/x-kpager"); } -bool PagerWindowDrag::decode( QDropEvent *e, WId &w,int &deltax,int &deltay,int &origdesk) +bool PagerWindowDrag::decode( TQDropEvent *e, WId &w,int &deltax,int &deltay,int &origdesk) { - QByteArray data=e->data("application/x-kpager"); + TQByteArray data=e->data("application/x-kpager"); if (data.size()) { char *tmp=data.data(); -- cgit v1.2.1