summaryrefslogtreecommitdiffstats
path: root/kget/docking.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kget/docking.cpp
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kget/docking.cpp')
-rw-r--r--kget/docking.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kget/docking.cpp b/kget/docking.cpp
index cd3309c3..eba2e8ad 100644
--- a/kget/docking.cpp
+++ b/kget/docking.cpp
@@ -24,7 +24,7 @@
*
***************************************************************************/
-#include <qtooltip.h>
+#include <tqtooltip.h>
#include <kaboutdata.h>
#include <kapplication.h>
@@ -68,27 +68,27 @@ DockWidget::~DockWidget()
}
-void DockWidget::dragEnterEvent(QDragEnterEvent * event)
+void DockWidget::dragEnterEvent(TQDragEnterEvent * event)
{
event->accept(KURLDrag::canDecode(event)
- || QTextDrag::canDecode(event));
+ || TQTextDrag::canDecode(event));
}
-void DockWidget::dropEvent(QDropEvent * event)
+void DockWidget::dropEvent(TQDropEvent * event)
{
KURL::List list;
- QString str;
+ TQString str;
if (KURLDrag::decode(event, list)) {
parent->addTransfers(list);
- } else if (QTextDrag::decode(event, str)) {
+ } else if (TQTextDrag::decode(event, str)) {
parent->addTransfer(str);
}
}
-void DockWidget::mousePressEvent(QMouseEvent * e)
+void DockWidget::mousePressEvent(TQMouseEvent * e)
{
if (e->button() == MidButton) {
parent->slotPasteTransfer();
@@ -98,33 +98,33 @@ void DockWidget::mousePressEvent(QMouseEvent * e)
}
-void DockWidget::updateToolTip( const QString& _status )
+void DockWidget::updateToolTip( const TQString& _status )
{
dtip->setStatus( _status );
}
-void DockWidget::changeIcon( const QString& icon )
+void DockWidget::changeIcon( const TQString& icon )
{
setPixmap( loadIcon( icon ));
}
-DynamicTip::DynamicTip( QWidget * parent )
- : QToolTip( parent )
+DynamicTip::DynamicTip( TQWidget * parent )
+ : TQToolTip( parent )
{
// no explicit initialization needed
}
-void DynamicTip::setStatus( const QString & _status )
+void DynamicTip::setStatus( const TQString & _status )
{
status = _status;
}
-void DynamicTip::maybeTip( const QPoint & _pos )
+void DynamicTip::maybeTip( const TQPoint & _pos )
{
- QRect r( parentWidget()->rect() );
+ TQRect r( parentWidget()->rect() );
tip( r, status );
}