diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:55:55 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:55:55 -0600 |
commit | 769d9f539ffa81925d11cf5480e396d26a43b86d (patch) | |
tree | f853cfe083f858b7492337c650eddf9383d332e8 /katapult/plugins/catalogs/documentcatalog/documentcatalog.cpp | |
parent | a3703745120ffe8f1beadd5fa58f9ab1470bc2f8 (diff) | |
download | katapult-769d9f539ffa81925d11cf5480e396d26a43b86d.tar.gz katapult-769d9f539ffa81925d11cf5480e396d26a43b86d.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit a3703745120ffe8f1beadd5fa58f9ab1470bc2f8.
Diffstat (limited to 'katapult/plugins/catalogs/documentcatalog/documentcatalog.cpp')
-rw-r--r-- | katapult/plugins/catalogs/documentcatalog/documentcatalog.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/katapult/plugins/catalogs/documentcatalog/documentcatalog.cpp b/katapult/plugins/catalogs/documentcatalog/documentcatalog.cpp index bdcc1c6..faa129c 100644 --- a/katapult/plugins/catalogs/documentcatalog/documentcatalog.cpp +++ b/katapult/plugins/catalogs/documentcatalog/documentcatalog.cpp @@ -98,7 +98,7 @@ void DocumentCatalog::refreshFiles() void DocumentCatalog::queryChanged() { - int newStatus = 0; + int newtqStatus = 0; if(query() == "") { // reset query @@ -169,21 +169,21 @@ void DocumentCatalog::queryChanged() if(currentDirDoc != 0 && path.isEmpty()) newBestMatch = Match(currentDirDoc, 100, currentPath.length()); - newStatus |= S_Active; + newtqStatus |= S_Active; if(files.count() > 0) { - newStatus |= S_HasResults; + newtqStatus |= S_HasResults; if(files.count() > 1 || files.at(0)->className() == "Directory") - newStatus |= S_Multiple; + newtqStatus |= S_Multiple; } else - newStatus |= S_NoResults; + newtqStatus |= S_NoResults; setBestMatch(newBestMatch); } else { setBestMatch(Match()); } } - setStatus(newStatus); + settqStatus(newtqStatus); } unsigned int DocumentCatalog::minQueryLen() const |