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 | 03feb89582fc354acaeb1df65a687361a661486d (patch) | |
tree | 03a4187dca202e597505821cf81e2ec419b6e2ff /klipper | |
parent | 9a3f0aacd44fb866833ebcb852df3cd31475cb33 (diff) | |
download | tdebase-03feb89582fc354acaeb1df65a687361a661486d.tar.gz tdebase-03feb89582fc354acaeb1df65a687361a661486d.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'klipper')
-rw-r--r-- | klipper/configdialog.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/klipper/configdialog.cpp b/klipper/configdialog.cpp index 72473d300..92006e583 100644 --- a/klipper/configdialog.cpp +++ b/klipper/configdialog.cpp @@ -331,14 +331,14 @@ void ActionWidget::slotContextMenu( KListView *, TQListViewItem *item, KPopupMenu *menu = new KPopupMenu; addCmd = menu->insertItem( i18n("Add Command") ); rmCmd = menu->insertItem( i18n("Remove Command") ); - if ( !item->tqparent() ) {// no "command" item + if ( !item->parent() ) {// no "command" item menu->setItemEnabled( rmCmd, false ); item->setOpen( true ); } int id = menu->exec( pos ); if ( id == addCmd ) { - TQListViewItem *p = item->tqparent() ? item->tqparent() : item; + TQListViewItem *p = item->parent() ? item->parent() : item; TQListViewItem *cmdItem = new TQListViewItem( p, item, i18n("Click here to set the command to be executed"), i18n("<new command>") ); @@ -352,7 +352,7 @@ void ActionWidget::slotContextMenu( KListView *, TQListViewItem *item, void ActionWidget::slotItemChanged( TQListViewItem *item, const TQPoint&, int col ) { - if ( !item->tqparent() || col != 0 ) + if ( !item->parent() || col != 0 ) return; ClipCommand command( item->text(0), item->text(1) ); item->setPixmap( 0, SmallIcon( command.pixmap.isEmpty() ? @@ -371,8 +371,8 @@ void ActionWidget::slotAddAction() void ActionWidget::slotDeleteAction() { TQListViewItem *item = listView->currentItem(); - if ( item && item->tqparent() ) - item = item->tqparent(); + if ( item && item->parent() ) + item = item->parent(); delete item; } |