diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:40:04 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:40:04 -0600 |
commit | f91149819be7e7f45e68f22876f3c0062a11d4b9 (patch) | |
tree | ea2e0b384a225b9fcedd5ec44e08d1ad2fc2570b /src/kvilib/tal/kvi_tal_listview.cpp | |
parent | 32a249baaef1b910bffd79734c78cac3671f00f2 (diff) | |
download | kvirc-f91149819be7e7f45e68f22876f3c0062a11d4b9.tar.gz kvirc-f91149819be7e7f45e68f22876f3c0062a11d4b9.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'src/kvilib/tal/kvi_tal_listview.cpp')
-rw-r--r-- | src/kvilib/tal/kvi_tal_listview.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/kvilib/tal/kvi_tal_listview.cpp b/src/kvilib/tal/kvi_tal_listview.cpp index 1a7f9754..68e69675 100644 --- a/src/kvilib/tal/kvi_tal_listview.cpp +++ b/src/kvilib/tal/kvi_tal_listview.cpp @@ -324,7 +324,7 @@ && d->exclusive && d->exclusive->d && d->exclusive->d->exclusive == this) d->exclusive->turnOffChild(); - d->exclusive = 0; // so the tqchildren won't try to access us. + d->exclusive = 0; // so the children won't try to access us. delete d; d = 0; } @@ -403,7 +403,7 @@ updateController(update, store); } else { - // if there are no tqchildren we simply set the CheckBoxController and update its parent + // if there are no children we simply set the CheckBoxController and update its parent setCurrentState(s); stateChange(state()); if (parent() && parent()->rtti() == 1 @@ -430,7 +430,7 @@ } stateChange(state()); } - tqrepaint(); + repaint(); } void KviTalCheckListItem::setCurrentState(ToggleState s) @@ -551,13 +551,13 @@ case CheckBox: setCurrentState(storedState(key)); stateChange(state()); - tqrepaint(); + repaint(); break; case CheckBoxController: { KviTalListViewItem *item = firstChild(); int childCount = 0; while (item) { - // recursively calling restoreState for tqchildren of type CheckBox and CheckBoxController + // recursively calling restoreState for children of type CheckBox and CheckBoxController if (item->rtti() == 1 && (((KviTalCheckListItem*)item)->type() == CheckBox || ((KviTalCheckListItem*)item)->type() == CheckBoxController)) { @@ -572,7 +572,7 @@ else updateController(false); } else { - // if there are no tqchildren we retrieve the CheckBoxController state directly. + // if there are no children we retrieve the CheckBoxController state directly. setState(storedState(key), true, false); } } @@ -622,7 +622,7 @@ if (update && controller) { controller->updateController(update, store); } - tqrepaint(); + repaint(); } } @@ -642,7 +642,7 @@ } item = item->nextSibling(); } - // this state is only needed if the CheckBoxController has no CheckBox / CheckBoxController tqchildren. + // this state is only needed if the CheckBoxController has no CheckBox / CheckBoxController children. setStoredState(internalState() , key); } @@ -1056,7 +1056,7 @@ && d->exclusive && d->exclusive->d && d->exclusive->d->exclusive == this ) d->exclusive->turnOffChild(); - d->exclusive = 0; // so the tqchildren won't try to access us. + d->exclusive = 0; // so the children won't try to access us. if ( d->statesDict ) delete d->statesDict; delete d; @@ -1137,7 +1137,7 @@ updateController( update, store ); } else { - // if there are no tqchildren we simply set the CheckBoxController and update its parent + // if there are no children we simply set the CheckBoxController and update its parent setCurrentState( s ); stateChange( state() ); if ( parent() && parent()->rtti() == 1 @@ -1164,7 +1164,7 @@ } stateChange( state() ); } - tqrepaint(); + repaint(); } void KviTalCheckListItem::setCurrentState( ToggleState s ) @@ -1287,13 +1287,13 @@ case CheckBox: setCurrentState( storedState( key ) ); stateChange( state() ); - tqrepaint(); + repaint(); break; case CheckBoxController: { KviTalListViewItem *item = firstChild(); int childCount = 0; while ( item ) { - // recursively calling restoreState for tqchildren of type CheckBox and CheckBoxController + // recursively calling restoreState for children of type CheckBox and CheckBoxController if ( item->rtti() == 1 && ( ((KviTalCheckListItem*)item)->type() == CheckBox || ((KviTalCheckListItem*)item)->type() == CheckBoxController ) ) { @@ -1308,7 +1308,7 @@ else updateController( FALSE ); } else { - // if there are no tqchildren we retrieve the CheckBoxController state directly. + // if there are no children we retrieve the CheckBoxController state directly. setState( storedState( key ), TRUE, FALSE ); } } @@ -1358,7 +1358,7 @@ if ( update && controller ) { controller->updateController( update, store ); } - tqrepaint(); + repaint(); } } @@ -1378,7 +1378,7 @@ } item = item->nextSibling(); } - // this state is only needed if the CheckBoxController has no CheckBox / CheckBoxController tqchildren. + // this state is only needed if the CheckBoxController has no CheckBox / CheckBoxController children. setStoredState( internalState() , key ); } |