diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 2bc1d72869b62af05ae4feafd878203b526da8c5 (patch) | |
tree | 2676903bb600bd9646644856e354940471ad84e2 /kget/docking.cpp | |
parent | 937b2991d8e78166eea904c80ad04d34607017a4 (diff) | |
download | tdenetwork-2bc1d72869b62af05ae4feafd878203b526da8c5.tar.gz tdenetwork-2bc1d72869b62af05ae4feafd878203b526da8c5.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kget/docking.cpp')
-rw-r--r-- | kget/docking.cpp | 20 |
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 } |