summaryrefslogtreecommitdiffstats
path: root/src/kvilib/tal
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:40:04 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:40:04 -0600
commitf91149819be7e7f45e68f22876f3c0062a11d4b9 (patch)
treeea2e0b384a225b9fcedd5ec44e08d1ad2fc2570b /src/kvilib/tal
parent32a249baaef1b910bffd79734c78cac3671f00f2 (diff)
downloadkvirc-f91149819be7e7f45e68f22876f3c0062a11d4b9.tar.gz
kvirc-f91149819be7e7f45e68f22876f3c0062a11d4b9.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'src/kvilib/tal')
-rw-r--r--src/kvilib/tal/kvi_tal_listview.cpp32
-rw-r--r--src/kvilib/tal/kvi_tal_listview_qt3.h2
-rw-r--r--src/kvilib/tal/kvi_tal_listview_qt4.h2
-rw-r--r--src/kvilib/tal/kvi_tal_wizard.cpp2
4 files changed, 19 insertions, 19 deletions
diff --git a/src/kvilib/tal/kvi_tal_listview.cpp b/src/kvilib/tal/kvi_tal_listview.cpp
index 1a7f975..68e6967 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 );
}
diff --git a/src/kvilib/tal/kvi_tal_listview_qt3.h b/src/kvilib/tal/kvi_tal_listview_qt3.h
index cf72e9f..47d23fb 100644
--- a/src/kvilib/tal/kvi_tal_listview_qt3.h
+++ b/src/kvilib/tal/kvi_tal_listview_qt3.h
@@ -143,7 +143,7 @@ public:
KviTalCheckListItem( KviTalListView *parent, const TQString &text,const TQPixmap & );
~KviTalCheckListItem();
- void paintCell( TQPainter *,const TQColorGroup & cg,int column, int width, int tqalignment );
+ void paintCell( TQPainter *,const TQColorGroup & cg,int column, int width, int alignment );
virtual void paintFocus( TQPainter *, const TQColorGroup & cg,
const TQRect & r );
int width( const TQFontMetrics&, const KviTalListView*, int column) const;
diff --git a/src/kvilib/tal/kvi_tal_listview_qt4.h b/src/kvilib/tal/kvi_tal_listview_qt4.h
index 83e4686..15acac6 100644
--- a/src/kvilib/tal/kvi_tal_listview_qt4.h
+++ b/src/kvilib/tal/kvi_tal_listview_qt4.h
@@ -152,7 +152,7 @@ public:
~KviTalCheckListItem();
void paintCell(TQPainter *, const TQColorGroup & cg,
- int column, int width, int tqalignment);
+ int column, int width, int alignment);
virtual void paintFocus(TQPainter *, const TQColorGroup &cg,
const TQRect & r);
int width(const TQFontMetrics&, const KviTalListView*, int column) const;
diff --git a/src/kvilib/tal/kvi_tal_wizard.cpp b/src/kvilib/tal/kvi_tal_wizard.cpp
index a0aee30..396aa65 100644
--- a/src/kvilib/tal/kvi_tal_wizard.cpp
+++ b/src/kvilib/tal/kvi_tal_wizard.cpp
@@ -413,7 +413,7 @@ void KviTalWizard::setCurrentPage(KviTalWizardPageData * pData)
szSteps = "<nobr><font color=\"";
szSteps += clrMid.name();
szSteps += "\"><b>[";
- szSteps += TQString("Step %1 of %2").tqarg(pData->iVisibleIndex).tqarg(m_p->iEnabledPageCount);
+ szSteps += TQString("Step %1 of %2").arg(pData->iVisibleIndex).arg(m_p->iEnabledPageCount);
szSteps += "]</b></font></nobr>";
}