summaryrefslogtreecommitdiffstats
path: root/src/profileengine/editor
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit32b67ac0690de411b26b1d5e715b188c27442248 (patch)
tree43167816a3df6b3a877d71c9a7963ed270dcc8c9 /src/profileengine/editor
parent330c33ab6f97b279737bf9527c9add7bb1475450 (diff)
downloadtdevelop-32b67ac0690de411b26b1d5e715b188c27442248.tar.gz
tdevelop-32b67ac0690de411b26b1d5e715b188c27442248.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/profileengine/editor')
-rw-r--r--src/profileengine/editor/profileeditor.cpp24
-rw-r--r--src/profileengine/editor/profileeditor.h2
2 files changed, 13 insertions, 13 deletions
diff --git a/src/profileengine/editor/profileeditor.cpp b/src/profileengine/editor/profileeditor.cpp
index ca6b6633..a80be429 100644
--- a/src/profileengine/editor/profileeditor.cpp
+++ b/src/profileengine/editor/profileeditor.cpp
@@ -40,15 +40,15 @@
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());
@@ -62,8 +62,8 @@ private:
class EDListItem: public KListViewItem{
public:
- EDListItem(KListView *tqparent, const TQString &text, bool derived)
- : KListViewItem(tqparent, text), m_derived(derived)
+ EDListItem(KListView *parent, const TQString &text, bool derived)
+ : KListViewItem(parent, text), m_derived(derived)
{
}
@@ -84,16 +84,16 @@ private:
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);
}
};
-ProfileEditor::ProfileEditor(TQWidget *tqparent, const char *name)
- :ProfileEditorBase(tqparent, name)
+ProfileEditor::ProfileEditor(TQWidget *parent, const char *name)
+ :ProfileEditorBase(parent, name)
{
refresh();
}
@@ -258,7 +258,7 @@ void ProfileEditor::removeProfile()
if (profile->remove())
{
TQListViewItem *item = profilesList->currentItem();
- profilesList->setCurrentItem(item->tqparent());
+ profilesList->setCurrentItem(item->parent());
profile->detachFromParent();
delete profile;
delete item;
diff --git a/src/profileengine/editor/profileeditor.h b/src/profileengine/editor/profileeditor.h
index aae785b1..b3c97215 100644
--- a/src/profileengine/editor/profileeditor.h
+++ b/src/profileengine/editor/profileeditor.h
@@ -31,7 +31,7 @@ class ProfileEditor : public ProfileEditorBase {
Q_OBJECT
TQ_OBJECT
public:
- ProfileEditor(TQWidget *tqparent = 0, const char *name = 0);
+ ProfileEditor(TQWidget *parent = 0, const char *name = 0);
public slots:
virtual void removeProperty();