summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/tables/kexitabledesignercommands.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
commit94844816550ad672ccfcdc25659c625546239998 (patch)
treee35fc60fd736c645d59f6408af032774ad8023d3 /kexi/plugins/tables/kexitabledesignercommands.cpp
parent2a811c38c74c03648ecf857e566c44483cbad706 (diff)
downloadkoffice-94844816550ad672ccfcdc25659c625546239998.tar.gz
koffice-94844816550ad672ccfcdc25659c625546239998.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kexi/plugins/tables/kexitabledesignercommands.cpp')
-rw-r--r--kexi/plugins/tables/kexitabledesignercommands.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/kexi/plugins/tables/kexitabledesignercommands.cpp b/kexi/plugins/tables/kexitabledesignercommands.cpp
index 298363c4..a019eac2 100644
--- a/kexi/plugins/tables/kexitabledesignercommands.cpp
+++ b/kexi/plugins/tables/kexitabledesignercommands.cpp
@@ -18,7 +18,7 @@
*/
#include <tqdom.h>
#include <tqwidget.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlabel.h>
#include <tqsplitter.h>
#include <tqmetaobject.h>
@@ -72,8 +72,8 @@ ChangeFieldPropertyCommand::~ChangeFieldPropertyCommand()
TQString ChangeFieldPropertyCommand::name() const
{
return i18n("Change \"%1\" property for table field from \"%2\" to \"%3\"")
- .tqarg(m_alterTableAction.propertyName()).tqarg(m_oldValue.toString())
- .tqarg(m_alterTableAction.newValue().toString());
+ .arg(m_alterTableAction.propertyName()).arg(m_oldValue.toString())
+ .arg(m_alterTableAction.newValue().toString());
}
TQString ChangeFieldPropertyCommand::debugString()
@@ -81,15 +81,15 @@ TQString ChangeFieldPropertyCommand::debugString()
TQString s( name() );
if (m_oldListData || m_listData)
s += TQString("\nAnd list data from [%1]\n to [%2]")
- .tqarg( m_oldListData ?
+ .arg( m_oldListData ?
TQString("%1 -> %2")
- .tqarg(m_oldListData->keysAsStringList().join(",")).tqarg(m_oldListData->names.join(","))
+ .arg(m_oldListData->keysAsStringList().join(",")).arg(m_oldListData->names.join(","))
: TQString("<NONE>"))
- .tqarg( m_listData ?
+ .arg( m_listData ?
TQString("%1 -> %2")
- .tqarg(m_listData->keysAsStringList().join(",")).tqarg(m_listData->names.join(","))
+ .arg(m_listData->keysAsStringList().join(",")).arg(m_listData->names.join(","))
: TQString("<NONE>"));
- return s + TQString(" (UID=%1)").tqarg(m_alterTableAction.uid());
+ return s + TQString(" (UID=%1)").arg(m_alterTableAction.uid());
}
void ChangeFieldPropertyCommand::execute()
@@ -136,9 +136,9 @@ RemoveFieldCommand::~RemoveFieldCommand()
TQString RemoveFieldCommand::name() const
{
if (m_set)
- return i18n("Remove table field \"%1\"").tqarg(m_alterTableAction.fieldName());
+ return i18n("Remove table field \"%1\"").arg(m_alterTableAction.fieldName());
- return TQString("Remove empty row at position %1").tqarg(m_fieldIndex);
+ return TQString("Remove empty row at position %1").arg(m_fieldIndex);
}
void RemoveFieldCommand::execute()
@@ -161,7 +161,7 @@ TQString RemoveFieldCommand::debugString()
return name() + "\nAT ROW " + TQString::number(m_fieldIndex)
+ ", FIELD: " + (*m_set)["caption"].value().toString()
- + TQString(" (UID=%1)").tqarg(m_alterTableAction.uid());
+ + TQString(" (UID=%1)").arg(m_alterTableAction.uid());
}
KexiDB::AlterTableHandler::ActionBase* RemoveFieldCommand::createAction()
@@ -192,7 +192,7 @@ InsertFieldCommand::~InsertFieldCommand()
TQString InsertFieldCommand::name() const
{
- return i18n("Insert table field \"%1\"").tqarg(m_set["caption"].value().toString());
+ return i18n("Insert table field \"%1\"").arg(m_set["caption"].value().toString());
}
void InsertFieldCommand::execute()
@@ -229,9 +229,9 @@ ChangePropertyVisibilityCommand::~ChangePropertyVisibilityCommand()
TQString ChangePropertyVisibilityCommand::name() const
{
return TQString("[internal] Change \"%1\" visibility from \"%2\" to \"%3\"")
- .tqarg(m_alterTableAction.propertyName())
- .tqarg(m_oldVisibility ? "true" : "false")
- .tqarg(m_alterTableAction.newValue().toBool() ? "true" : "false");
+ .arg(m_alterTableAction.propertyName())
+ .arg(m_oldVisibility ? "true" : "false")
+ .arg(m_alterTableAction.newValue().toBool() ? "true" : "false");
}
void ChangePropertyVisibilityCommand::execute()
@@ -265,7 +265,7 @@ InsertEmptyRowCommand::~InsertEmptyRowCommand()
TQString InsertEmptyRowCommand::name() const
{
- return TQString("Insert empty row at position %1").tqarg(m_row);
+ return TQString("Insert empty row at position %1").arg(m_row);
}
void InsertEmptyRowCommand::execute()