summaryrefslogtreecommitdiffstats
path: root/katapult/plugins/catalogs/documentcatalog
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:09:16 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:09:16 -0600
commitbccaa22a757e5e902640613540c32637b66e2575 (patch)
treef00d2f929aa7bfb41929483cbf8da3f7a7eb9daf /katapult/plugins/catalogs/documentcatalog
parent769d9f539ffa81925d11cf5480e396d26a43b86d (diff)
downloadkatapult-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.cpp12
-rw-r--r--katapult/plugins/catalogs/documentcatalog/settings.ui2
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>