summaryrefslogtreecommitdiffstats
path: root/kget/docking.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kget/docking.cpp')
-rw-r--r--kget/docking.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kget/docking.cpp b/kget/docking.cpp
index cc5a8044..c637303d 100644
--- a/kget/docking.cpp
+++ b/kget/docking.cpp
@@ -40,17 +40,17 @@
DockWidget::DockWidget(KMainWidget * _parent):KSystemTray(_parent)
{
- tqparent = _parent;
+ parent = _parent;
setPixmap( loadIcon( "kget_dock" ));
// popup menu for right mouse button
KPopupMenu *popupMenu = contextMenu();
- tqparent->action("paste_transfer")->plug(popupMenu);
- tqparent->action("drop_target")->plug(popupMenu);
- tqparent->action("konqueror_integration")->plug(popupMenu);
+ parent->action("paste_transfer")->plug(popupMenu);
+ parent->action("drop_target")->plug(popupMenu);
+ parent->action("konqueror_integration")->plug(popupMenu);
popupMenu->insertSeparator();
- tqparent->m_paPreferences->plug(popupMenu);
+ parent->m_paPreferences->plug(popupMenu);
// Enable dropping
setAcceptDrops(true);
@@ -81,9 +81,9 @@ void DockWidget::dropEvent(TQDropEvent * event)
TQString str;
if (KURLDrag::decode(event, list)) {
- tqparent->addTransfers(list);
+ parent->addTransfers(list);
} else if (TQTextDrag::decode(event, str)) {
- tqparent->addTransfer(str);
+ parent->addTransfer(str);
}
}
@@ -91,7 +91,7 @@ void DockWidget::dropEvent(TQDropEvent * event)
void DockWidget::mousePressEvent(TQMouseEvent * e)
{
if (e->button() == Qt::MidButton) {
- tqparent->slotPasteTransfer();
+ parent->slotPasteTransfer();
} else {
KSystemTray::mousePressEvent(e);
}
@@ -110,8 +110,8 @@ void DockWidget::changeIcon( const TQString& icon )
}
-DynamicTip::DynamicTip( TQWidget * tqparent )
- : TQToolTip( tqparent )
+DynamicTip::DynamicTip( TQWidget * parent )
+ : TQToolTip( parent )
{
// no explicit initialization needed
}