summaryrefslogtreecommitdiffstats
path: root/kexi/core/kexipart.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:38:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:38:41 -0600
commitf0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (patch)
tree1fc538e179833e62caec21956bfe47a252be5a72 /kexi/core/kexipart.cpp
parent11191ef0b9908604d1d7aaca382b011ef22c454c (diff)
downloadkoffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.tar.gz
koffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'kexi/core/kexipart.cpp')
-rw-r--r--kexi/core/kexipart.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kexi/core/kexipart.cpp b/kexi/core/kexipart.cpp
index 6671e168..49f1aeab 100644
--- a/kexi/core/kexipart.cpp
+++ b/kexi/core/kexipart.cpp
@@ -66,7 +66,7 @@ public:
singleStatusString.prepend(TQString("\n\n")+i18n("Details:")+" ");
if (KMessageBox::No==KMessageBox::questionYesNo(0,
((viewMode == Kexi::DesignViewMode)
- ? i18n("Object \"%1\" could not be opened in Design View.").tqarg(item.name())
+ ? i18n("Object \"%1\" could not be opened in Design View.").arg(item.name())
: i18n("Object could not be opened in Data View."))+"\n"
+ i18n("Do you want to open it in Text View?") + singleStatusString, 0,
KStdGuiItem::open(), KStdGuiItem::cancel()))
@@ -246,7 +246,7 @@ KexiDialogBase* Part::openInstance(KexiMainWindow *win, KexiPart::Item &item, in
// KexiDialogBase *dlg = createInstance(win,item,viewMode);
// if (!dlg)
// return 0;
-// TQString capt = TQString("%1 : %2").tqarg(item.name()).tqarg(instanceName());
+// TQString capt = TQString("%1 : %2").arg(item.name()).arg(instanceName());
KexiDialogBase *dlg = new KexiDialogBase(win);
dlg->m_supportedViewModes = m_supportedViewModes;
// dlg->m_neverSaved = item.neverSaved();
@@ -293,7 +293,7 @@ KexiDialogBase* Part::openInstance(KexiMainWindow *win, KexiPart::Item &item, in
i18n("Could not load object's definition."), i18n("Object design may be corrupted."));
m_status.append(
Kexi::ObjectStatus(i18n("You can delete \"%1\" object and create it again.")
- .tqarg(item.name()), TQString()) );
+ .arg(item.name()), TQString()) );
dlg->close();
delete dlg;
@@ -367,7 +367,7 @@ bool Part::loadDataBlock( KexiDialogBase *dlg, TQString &dataString, const TQStr
{
if (!dlg->mainWin()->project()->dbConnection()->loadDataBlock( dlg->id(), dataString, dataID )) {
m_status = Kexi::ObjectStatus( dlg->mainWin()->project()->dbConnection(),
- i18n("Could not load object's data."), i18n("Data identifier: \"%1\".").tqarg(dataID) );
+ i18n("Could not load object's data."), i18n("Data identifier: \"%1\".").arg(dataID) );
m_status.append( *dlg );
return false;
}
@@ -431,7 +431,7 @@ tristate Part::rename(KexiMainWindow *win, KexiPart::Item &item, const TQString&
GUIClient::GUIClient(KexiMainWindow *win, Part* part, bool partInstanceClient, const char* nameSuffix)
: TQObject(part,
(part->info()->objectName()
- + (nameSuffix ? TQString(":%1").tqarg(nameSuffix) : TQString())).latin1() )
+ + (nameSuffix ? TQString(":%1").arg(nameSuffix) : TQString())).latin1() )
, KXMLGUIClient(win)
{
if(!win->project()->data()->userMode())