summaryrefslogtreecommitdiffstats
path: root/quanta/project/membereditdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/project/membereditdlg.cpp')
-rw-r--r--quanta/project/membereditdlg.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/quanta/project/membereditdlg.cpp b/quanta/project/membereditdlg.cpp
index 1b27d354..047ff302 100644
--- a/quanta/project/membereditdlg.cpp
+++ b/quanta/project/membereditdlg.cpp
@@ -38,8 +38,8 @@ TQString teamLeaderStr = I18N_NOOP("Team Leader");
TQString subprojectLeaderStr = I18N_NOOP("Subproject Leader");
-MemberEditDlg::MemberEditDlg(TQWidget *parent, const char *name)
- : MemberEditDlgS(parent, name)
+MemberEditDlg::MemberEditDlg(TQWidget *tqparent, const char *name)
+ : MemberEditDlgS(tqparent, name)
{
TQValueList<SubProject> *subprojects = Project::ref()->subprojects();
for (TQValueList<SubProject>::ConstIterator it = subprojects->constBegin(); it != subprojects->constEnd(); ++it)
@@ -53,7 +53,7 @@ MemberEditDlg::MemberEditDlg(TQWidget *parent, const char *name)
{
nameCombo->insertItem(it.key());
}
- nameCombo->insertItem(TQString::null, 0);
+ nameCombo->insertItem(TQString(), 0);
roleCombo->insertItem(i18n(teamLeaderStr.utf8()));
roleCombo->insertItem(i18n(subprojectLeaderStr.utf8()));
@@ -123,7 +123,7 @@ void MemberEditDlg::slotMemberSelected()
{
TQString name = nameCombo->currentText();
TQMap<TQString, TeamMember> members = Project::ref()->allMembers();
- if (members.contains(name))
+ if (members.tqcontains(name))
{
emailEdit->setText(members[name].email);
}