diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:32:48 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:32:48 -0600 |
commit | bab171b2a7d7f36e2d5dd510df80fc8cb4a6b06f (patch) | |
tree | ebcbd8371d791d7419485d11deec88587c36aa7e /src/gui/itemselector.cpp | |
parent | 393fa51a38771670ecb265a99ab592e03f4ecc5c (diff) | |
download | ktechlab-bab171b2a7d7f36e2d5dd510df80fc8cb4a6b06f.tar.gz ktechlab-bab171b2a7d7f36e2d5dd510df80fc8cb4a6b06f.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/gui/itemselector.cpp')
-rw-r--r-- | src/gui/itemselector.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/itemselector.cpp b/src/gui/itemselector.cpp index 539bc40..5b4ae41 100644 --- a/src/gui/itemselector.cpp +++ b/src/gui/itemselector.cpp @@ -24,7 +24,7 @@ #include <klocale.h> #include <tqdragobject.h> -#include <tqlayout.h> +#include <layout.h> #include <tqpopupmenu.h> #include <tqwhatsthis.h> @@ -163,7 +163,7 @@ void ItemSelector::slotContextMenuRequested( TQListViewItem* item, const TQPoint } TQPopupMenu *menu = new TQPopupMenu(this); - menu->insertItem( i18n("Remove %1").tqarg(item->text(0)), this, TQT_SLOT(slotRemoveSelectedItem()), TQt::Key_Delete ); + menu->insertItem( i18n("Remove %1").arg(item->text(0)), this, TQT_SLOT(slotRemoveSelectedItem()), TQt::Key_Delete ); menu->popup(pos); } @@ -177,7 +177,7 @@ void ItemSelector::slotRemoveSelectedItem() emit itemRemoved( item->key( 0, 0 ) ); ILVItem *parent = dynamic_cast<ILVItem*>(item->TQListViewItem::parent()); delete item; - // Get rid of the category as well if it has no tqchildren + // Get rid of the category as well if it has no children if ( parent && !parent->firstChild() ) { m_categories.remove(parent->text(0)); |