diff options
Diffstat (limited to 'kexi/main/startup/KexiStartupFileDialog.cpp')
-rw-r--r-- | kexi/main/startup/KexiStartupFileDialog.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kexi/main/startup/KexiStartupFileDialog.cpp b/kexi/main/startup/KexiStartupFileDialog.cpp index 667c5288..ed4dcd40 100644 --- a/kexi/main/startup/KexiStartupFileDialog.cpp +++ b/kexi/main/startup/KexiStartupFileDialog.cpp @@ -142,21 +142,21 @@ void KexiStartupFileDialog::updateFilters() if (normalOpeningMode || normalSavingMode) { mime = KMimeType::mimeType( KexiDB::Driver::defaultFileBasedDriverMimeType() ); - if (mime && m_excludedMimeTypes.tqfind(mime->name())==m_excludedMimeTypes.end()) { + if (mime && m_excludedMimeTypes.find(mime->name())==m_excludedMimeTypes.end()) { filter += KexiUtils::fileDialogFilterString(mime); allfilters += mime->patterns(); } } if (normalOpeningMode || m_mode & SavingServerBasedDB) { mime = KMimeType::mimeType("application/x-kexiproject-shortcut"); - if (mime && m_excludedMimeTypes.tqfind(mime->name())==m_excludedMimeTypes.end()) { + if (mime && m_excludedMimeTypes.find(mime->name())==m_excludedMimeTypes.end()) { filter += KexiUtils::fileDialogFilterString(mime); allfilters += mime->patterns(); } } if (normalOpeningMode || m_mode & SavingServerBasedDB) { mime = KMimeType::mimeType("application/x-kexi-connectiondata"); - if (mime && m_excludedMimeTypes.tqfind(mime->name())==m_excludedMimeTypes.end()) { + if (mime && m_excludedMimeTypes.find(mime->name())==m_excludedMimeTypes.end()) { filter += KexiUtils::fileDialogFilterString(mime); allfilters += mime->patterns(); } @@ -165,7 +165,7 @@ void KexiStartupFileDialog::updateFilters() //! @todo hardcoded for MSA: if (normalOpeningMode) { mime = KMimeType::mimeType("application/x-msaccess"); - if (mime && m_excludedMimeTypes.tqfind(mime->name())==m_excludedMimeTypes.end()) { + if (mime && m_excludedMimeTypes.find(mime->name())==m_excludedMimeTypes.end()) { filter += KexiUtils::fileDialogFilterString(mime); allfilters += mime->patterns(); } @@ -174,14 +174,14 @@ void KexiStartupFileDialog::updateFilters() foreach (TQStringList::ConstIterator, it, m_additionalMimeTypes) { if (*it == "all/allfiles") continue; - if (m_excludedMimeTypes.tqfind(*it)!=m_excludedMimeTypes.end()) + if (m_excludedMimeTypes.find(*it)!=m_excludedMimeTypes.end()) continue; filter += KexiUtils::fileDialogFilterString(*it); mime = KMimeType::mimeType(*it); allfilters += mime->patterns(); } - if (m_excludedMimeTypes.tqfind("all/allfiles")==m_excludedMimeTypes.end()) + if (m_excludedMimeTypes.find("all/allfiles")==m_excludedMimeTypes.end()) filter += KexiUtils::fileDialogFilterString("all/allfiles"); // mime = KMimeType::mimeType("all/allfiles"); // if (mime) { |