summaryrefslogtreecommitdiffstats
path: root/src/profileengine/lib/profileengine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/profileengine/lib/profileengine.h')
-rw-r--r--src/profileengine/lib/profileengine.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/profileengine/lib/profileengine.h b/src/profileengine/lib/profileengine.h
index 9184df62..90908afe 100644
--- a/src/profileengine/lib/profileengine.h
+++ b/src/profileengine/lib/profileengine.h
@@ -189,7 +189,7 @@ public:
but the operation in this case returns a result of type defined by
"Result" template parameter.
- When iterating the tree, the result of operation applied to the tqparent profile
+ When iterating the tree, the result of operation applied to the parent profile
is passed as @p result parameter to the recursive call for child profiles.
For example, this function can be used to build another hierarcy of profiles
@@ -199,24 +199,24 @@ public:
@code
class ProfileListBuilding {
public:
- ProfileItem * operator() (ProfileItem *tqparent, Profile *profile)
+ ProfileItem * operator() (ProfileItem *parent, Profile *profile)
{
- tqparent->setOpen(true);
- return new ProfileItem(tqparent, profile);
+ parent->setOpen(true);
+ return new ProfileItem(parent, profile);
}
};
class ProfileItem: public KListViewItem {
public:
- ProfileItem(KListView *tqparent, Profile *profile)
- :KListViewItem(tqparent), m_profile(profile)
+ ProfileItem(KListView *parent, Profile *profile)
+ :KListViewItem(parent), m_profile(profile)
{
setText(0, profile->genericName());
setText(1, profile->description());
}
- ProfileItem(KListViewItem *tqparent, Profile *profile)
- : KListViewItem(tqparent), m_profile(profile)
+ ProfileItem(KListViewItem *parent, Profile *profile)
+ : KListViewItem(parent), m_profile(profile)
{
setText(0, profile->genericName());
setText(1, profile->description());