summaryrefslogtreecommitdiffstats
path: root/quanta/treeviews/uploadtreeview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 12:01:04 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 12:01:04 -0600
commit84c989c19db5daab602a67f47ca0f5fd7a2b53d2 (patch)
treedc5875bd392dce2d636a94bebcf5c44a270fac6d /quanta/treeviews/uploadtreeview.cpp
parent9445f97b426e97c6ce46de18fba4030da45d56df (diff)
downloadtdewebdev-84c989c19db5daab602a67f47ca0f5fd7a2b53d2.tar.gz
tdewebdev-84c989c19db5daab602a67f47ca0f5fd7a2b53d2.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'quanta/treeviews/uploadtreeview.cpp')
-rw-r--r--quanta/treeviews/uploadtreeview.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/quanta/treeviews/uploadtreeview.cpp b/quanta/treeviews/uploadtreeview.cpp
index 8f5457e2..259b81dc 100644
--- a/quanta/treeviews/uploadtreeview.cpp
+++ b/quanta/treeviews/uploadtreeview.cpp
@@ -56,8 +56,8 @@ int UploadTreeView::checkboxTree( TQListViewItem *it )
TQListViewItem *itIter = it ? it->firstChild() : firstChild();
- // bitFlag structure: (0/1)all tqchildren exist (0/1)no tqchildren exist.
- // We don't need some tqchildren as a bit flag, because that's implied if the bits are "00".
+ // bitFlag structure: (0/1)all children exist (0/1)no children exist.
+ // We don't need some children as a bit flag, because that's implied if the bits are "00".
int bitFlags = 3;
int retVal = 1;
@@ -73,17 +73,17 @@ int UploadTreeView::checkboxTree( TQListViewItem *it )
UploadTreeFolder *itF = static_cast<UploadTreeFolder *>(itIter);
if (hadCheckFlags == 2) {
- // All tqchildren exist.
+ // All children exist.
itF->setWhichPixmap( "check" );
itF->setSelected( true );
}
else if (hadCheckFlags == 1) {
- // No tqchildren exist.
+ // No children exist.
itF->setWhichPixmap( "check_clear" );
itF->setSelected( false );
}
else {
- // Some tqchildren exist.
+ // Some children exist.
itF->setWhichPixmap( "check_grey" );
itF->setSelected( true );
}
@@ -95,13 +95,13 @@ int UploadTreeView::checkboxTree( TQListViewItem *it )
if ( itF->isSelected() )
{
itF->setWhichPixmap("check");
- // Turn off "no tqchildren"
+ // Turn off "no children"
if ( bitFlags % 2 == 1 ) bitFlags -= 1;
}
else
{
itF->setWhichPixmap("check_clear");
- // Turn off "all tqchildren".
+ // Turn off "all children".
if (bitFlags >> 1 == 1) bitFlags -= 2;
}
@@ -162,17 +162,17 @@ void UploadTreeView::slotSelectFile( TQListViewItem *it )
if ( itF )
{
if (hadCheckFlags == 2) {
- // All tqchildren exist.
+ // All children exist.
itF->setWhichPixmap( "check" );
itF->setSelected( true );
}
else if (hadCheckFlags == 1) {
- // No tqchildren exist.
+ // No children exist.
itF->setWhichPixmap( "check_clear" );
itF->setSelected( false );
}
else {
- // Some tqchildren exist.
+ // Some children exist.
itF->setWhichPixmap( "check_grey" );
itF->setSelected( true );
}
@@ -199,7 +199,7 @@ void UploadTreeView::slotSelectFile( TQListViewItem *it )
{
bool hasSelected = false;
bool allSelected = true;
- //check if the item has any tqchildren's selected
+ //check if the item has any children's selected
TQListViewItemIterator iter(itF->firstChild());
while ( iter.current() && iter.current() != itF->nextSibling())
{