summaryrefslogtreecommitdiffstats
path: root/kget/docking.cpp
diff options
context:
space:
mode:
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 );
}