diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:09:16 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:09:16 -0600 |
commit | bccaa22a757e5e902640613540c32637b66e2575 (patch) | |
tree | f00d2f929aa7bfb41929483cbf8da3f7a7eb9daf /katapult/plugins/catalogs/documentcatalog | |
parent | 769d9f539ffa81925d11cf5480e396d26a43b86d (diff) | |
download | katapult-bccaa22a757e5e902640613540c32637b66e2575.tar.gz katapult-bccaa22a757e5e902640613540c32637b66e2575.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'katapult/plugins/catalogs/documentcatalog')
-rw-r--r-- | katapult/plugins/catalogs/documentcatalog/documentcatalog.cpp | 12 | ||||
-rw-r--r-- | katapult/plugins/catalogs/documentcatalog/settings.ui | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/katapult/plugins/catalogs/documentcatalog/documentcatalog.cpp b/katapult/plugins/catalogs/documentcatalog/documentcatalog.cpp index faa129c..bdcc1c6 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 newtqStatus = 0; + int newStatus = 0; if(query() == "") { // reset query @@ -169,21 +169,21 @@ void DocumentCatalog::queryChanged() if(currentDirDoc != 0 && path.isEmpty()) newBestMatch = Match(currentDirDoc, 100, currentPath.length()); - newtqStatus |= S_Active; + newStatus |= S_Active; if(files.count() > 0) { - newtqStatus |= S_HasResults; + newStatus |= S_HasResults; if(files.count() > 1 || files.at(0)->className() == "Directory") - newtqStatus |= S_Multiple; + newStatus |= S_Multiple; } else - newtqStatus |= S_NoResults; + newStatus |= S_NoResults; setBestMatch(newBestMatch); } else { setBestMatch(Match()); } } - settqStatus(newtqStatus); + setStatus(newStatus); } unsigned int DocumentCatalog::minQueryLen() const diff --git a/katapult/plugins/catalogs/documentcatalog/settings.ui b/katapult/plugins/catalogs/documentcatalog/settings.ui index 6f3c990..07353c8 100644 --- a/katapult/plugins/catalogs/documentcatalog/settings.ui +++ b/katapult/plugins/catalogs/documentcatalog/settings.ui @@ -66,7 +66,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>20</width> <height>410</height> |