summaryrefslogtreecommitdiffstats
path: root/src/gui/itemselector.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
commit6c86748feda6b6fb15ec2ce73b18838aa6a9a7f9 (patch)
tree31d759580e3bf977fd7fea7a451b535f3c0741a6 /src/gui/itemselector.cpp
parent87a016680e3677da3993f333561e79eb0cead7d5 (diff)
downloadktechlab-6c86748feda6b6fb15ec2ce73b18838aa6a9a7f9.tar.gz
ktechlab-6c86748feda6b6fb15ec2ce73b18838aa6a9a7f9.zip
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/itemselector.cpp')
-rw-r--r--src/gui/itemselector.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/gui/itemselector.cpp b/src/gui/itemselector.cpp
index c02fffd..32ff6da 100644
--- a/src/gui/itemselector.cpp
+++ b/src/gui/itemselector.cpp
@@ -77,7 +77,7 @@ void ItemSelector::clear()
void ItemSelector::addItem( const TQString & caption, const TQString & id, const TQString & _category, const TQPixmap & icon, bool removable )
{
- ILVItem *tqparentItem = 0L;
+ ILVItem *parentItem = 0L;
TQString category = _category;
if ( !category.startsWith("/") ) {
@@ -99,32 +99,32 @@ void ItemSelector::addItem( const TQString & caption, const TQString & id, const
{
m_categories.append(cat);
- if (tqparentItem) {
- tqparentItem = new ILVItem( tqparentItem, "" );
+ if (parentItem) {
+ parentItem = new ILVItem( parentItem, "" );
}
else {
- tqparentItem = new ILVItem( this, "" );
+ parentItem = new ILVItem( this, "" );
}
- tqparentItem->setOpen( readOpenState(cat) );
+ parentItem->setOpen( readOpenState(cat) );
- tqparentItem->setExpandable(true);
- tqparentItem->setText( 0, cat );
+ parentItem->setExpandable(true);
+ parentItem->setText( 0, cat );
}
else
{
- tqparentItem = (ILVItem*)tqfindItem( cat, 0 );
+ parentItem = (ILVItem*)tqfindItem( cat, 0 );
}
category.remove( 0, pos );
} while ( category.tqcontains('/') );
- if ( !tqparentItem )
+ if ( !parentItem )
{
kdError() << "Unexpected error in finding tqparent item for category list"<<endl;
return;
}
- ILVItem *item = new ILVItem( tqparentItem, id );
+ ILVItem *item = new ILVItem( parentItem, id );
item->setPixmap( 0, icon );
item->setText( 0, caption );
item->setRemovable(removable);