diff options
Diffstat (limited to 'kexi/migration/importwizard.cpp')
-rw-r--r-- | kexi/migration/importwizard.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kexi/migration/importwizard.cpp b/kexi/migration/importwizard.cpp index bf20fbfb..b97b6fcf 100644 --- a/kexi/migration/importwizard.cpp +++ b/kexi/migration/importwizard.cpp @@ -130,7 +130,7 @@ void ImportWizard::parseArguments() if (!(*m_args)["databaseName"].isEmpty() && !(*m_args)["mimeType"].isEmpty()) { m_predefinedDatabaseName = (*m_args)["databaseName"]; m_predefinedMimeType = (*m_args)["mimeType"]; - if (m_args->tqcontains("connectionData")) { + if (m_args->contains("connectionData")) { m_predefinedConnectionData = new KexiDB::ConnectionData(); KexiDB::fromMap( KexiUtils::deserializeMap((*m_args)["connectionData"]), *m_predefinedConnectionData @@ -429,13 +429,13 @@ void ImportWizard::arriveSrcConnPage() m_setupFileBasedSrcNeeded = false; TQStringList additionalMimeTypes; /* moved - if (m_srcTypeCombo->currentText().tqcontains("Access")) { + if (m_srcTypeCombo->currentText().contains("Access")) { //! @todo tmp: hardcoded! additionalMimeTypes << "application/x-msaccess"; }*/ m_srcConn->m_fileDlg->setMode(KexiStartupFileDialog::Opening); m_srcConn->m_fileDlg->setAdditionalFilters(additionalMimeTypes); -/*moved if (m_srcTypeCombo->currentText().tqcontains("Access")) { +/*moved if (m_srcTypeCombo->currentText().contains("Access")) { //! @todo tmp: hardcoded! #ifdef TQ_WS_WIN m_srcConn->m_fileDlg->setSelectedFilter("*.mdb"); @@ -639,7 +639,7 @@ void ImportWizard::accept() // cancelButton()->setEnabled(true); */ if (m_args) { - if ((!fileBasedDstSelected() && !m_args->tqcontains("destinationConnectionShortcut")) + if ((!fileBasedDstSelected() && !m_args->contains("destinationConnectionShortcut")) || !m_openImportedProjectCheckBox->isChecked()) { //do not open dest db if used didn't want it @@ -803,7 +803,7 @@ tristate ImportWizard::import() { if (!m_sourceDBEncoding.isEmpty()) { sourceDriver->setPropertyValue( "source_database_nontqunicode_encoding", - TQVariant(m_sourceDBEncoding.upper().tqreplace(' ',"")) // "CP1250", not "cp 1250" + TQVariant(m_sourceDBEncoding.upper().replace(' ',"")) // "CP1250", not "cp 1250" ); } |