summaryrefslogtreecommitdiffstats
path: root/quanta/project/membereditdlg.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
commite985f7e545f4739493965aad69bbecb136dc9346 (patch)
tree54afd409d8acd6202dd8ab611d24e78c28e4c0a0 /quanta/project/membereditdlg.cpp
parentf7670c198945adc3b95ad69a959fe5f8ae55b493 (diff)
downloadtdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.tar.gz
tdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.zip
TQt4 port kdewebdev
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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);
}