summaryrefslogtreecommitdiffstats
path: root/src/commands/fieldcommand.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-02 06:40:27 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-02 06:40:27 +0000
commit2595a15ebeb6fc46b7cb241d01ec0c2460ec2111 (patch)
tree18a8f0f4ac5a86dacfa74c3537551ec39bc85e75 /src/commands/fieldcommand.cpp
parent1d90725a4001fab9d3922b2cbcceeee5e2d1686f (diff)
downloadtellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.tar.gz
tellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.zip
TQt4 port tellico
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/tellico@1239054 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/commands/fieldcommand.cpp')
-rw-r--r--src/commands/fieldcommand.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/commands/fieldcommand.cpp b/src/commands/fieldcommand.cpp
index 6902e15..5ba080b 100644
--- a/src/commands/fieldcommand.cpp
+++ b/src/commands/fieldcommand.cpp
@@ -98,15 +98,15 @@ void FieldCommand::unexecute() {
}
}
-QString FieldCommand::name() const {
+TQString FieldCommand::name() const {
switch(m_mode) {
case FieldAdd:
- return i18n("Add %1 Field").arg(m_activeField->title());
+ return i18n("Add %1 Field").tqarg(m_activeField->title());
case FieldModify:
- return i18n("Modify %1 Field").arg(m_activeField->title());
+ return i18n("Modify %1 Field").tqarg(m_activeField->title());
case FieldRemove:
- return i18n("Delete %1 Field").arg(m_activeField->title());
+ return i18n("Delete %1 Field").tqarg(m_activeField->title());
}
// hush warnings
- return QString::null;
+ return TQString();
}