summaryrefslogtreecommitdiffstats
path: root/src/sql/qsqlmanager_p.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sql/qsqlmanager_p.cpp')
-rw-r--r--src/sql/qsqlmanager_p.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/sql/qsqlmanager_p.cpp b/src/sql/qsqlmanager_p.cpp
index 0ed88cf8c..c7c3ec3c5 100644
--- a/src/sql/qsqlmanager_p.cpp
+++ b/src/sql/qsqlmanager_p.cpp
@@ -869,10 +869,10 @@ TQSql::Confirm TQDataManager::confirmEdit( TQWidget* parent, TQSql::Op m )
if ( m == TQSql::Delete ) {
#ifndef QT_NO_MESSAGEBOX
ans = TQMessageBox::information( parent,
- qApp->translate( "TQSql", "Delete" ),
- qApp->translate( "TQSql", "Delete this record?" ),
- qApp->translate( "TQSql", "Yes" ),
- qApp->translate( "TQSql", "No" ),
+ tqApp->translate( "TQSql", "Delete" ),
+ tqApp->translate( "TQSql", "Delete this record?" ),
+ tqApp->translate( "TQSql", "Yes" ),
+ tqApp->translate( "TQSql", "No" ),
TQString::null, 0, 1 );
#else
ans = TQSql::No;
@@ -880,16 +880,16 @@ TQSql::Confirm TQDataManager::confirmEdit( TQWidget* parent, TQSql::Op m )
} else if ( m != TQSql::None ) {
TQString caption;
if ( m == TQSql::Insert ) {
- caption = qApp->translate( "TQSql", "Insert" );
+ caption = tqApp->translate( "TQSql", "Insert" );
} else { // TQSql::Update
- caption = qApp->translate( "TQSql", "Update" );
+ caption = tqApp->translate( "TQSql", "Update" );
}
#ifndef QT_NO_MESSAGEBOX
ans = TQMessageBox::information( parent, caption,
- qApp->translate( "TQSql", "Save edits?" ),
- qApp->translate( "TQSql", "Yes" ),
- qApp->translate( "TQSql", "No" ),
- qApp->translate( "TQSql", "Cancel" ),
+ tqApp->translate( "TQSql", "Save edits?" ),
+ tqApp->translate( "TQSql", "Yes" ),
+ tqApp->translate( "TQSql", "No" ),
+ tqApp->translate( "TQSql", "Cancel" ),
0, 2 );
#else
ans = TQSql::No;
@@ -921,10 +921,10 @@ TQSql::Confirm TQDataManager::confirmCancel( TQWidget* parent, TQSql::Op )
{
#ifndef QT_NO_MESSAGEBOX
switch ( TQMessageBox::information( parent,
- qApp->translate( "TQSql", "Confirm" ),
- qApp->translate( "TQSql", "Cancel your edits?" ),
- qApp->translate( "TQSql", "Yes" ),
- qApp->translate( "TQSql", "No" ),
+ tqApp->translate( "TQSql", "Confirm" ),
+ tqApp->translate( "TQSql", "Cancel your edits?" ),
+ tqApp->translate( "TQSql", "Yes" ),
+ tqApp->translate( "TQSql", "No" ),
TQString::null, 0, 1 ) ) {
case 0:
return TQSql::Yes;