diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kpager/windowdrag.cpp | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpager/windowdrag.cpp')
-rw-r--r-- | kpager/windowdrag.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
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<int>(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(); |