summaryrefslogtreecommitdiffstats
path: root/kexi/main/startup/KexiStartupFileDialog.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commitb6edfe41c9395f2e20784cbf0e630af6426950a3 (patch)
tree56ed9b871d4296e6c15949c24e16420be1b28697 /kexi/main/startup/KexiStartupFileDialog.cpp
parentef39e8e4178a8f98cf5f154916ba0f03e4855206 (diff)
downloadkoffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.tar.gz
koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kexi/main/startup/KexiStartupFileDialog.cpp')
-rw-r--r--kexi/main/startup/KexiStartupFileDialog.cpp12
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) {