summaryrefslogtreecommitdiffstats
path: root/katapult/plugins/catalogs/spellcatalog/spellcatalog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:30:03 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:30:03 -0600
commita3703745120ffe8f1beadd5fa58f9ab1470bc2f8 (patch)
tree387f9d7d55b7f6f99a9cd48699e3116000512e21 /katapult/plugins/catalogs/spellcatalog/spellcatalog.cpp
parent1a98207c22675fb23e0386982c5f73a33f5238d9 (diff)
downloadkatapult-a3703745120ffe8f1beadd5fa58f9ab1470bc2f8.tar.gz
katapult-a3703745120ffe8f1beadd5fa58f9ab1470bc2f8.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'katapult/plugins/catalogs/spellcatalog/spellcatalog.cpp')
-rw-r--r--katapult/plugins/catalogs/spellcatalog/spellcatalog.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/katapult/plugins/catalogs/spellcatalog/spellcatalog.cpp b/katapult/plugins/catalogs/spellcatalog/spellcatalog.cpp
index cbc3b8b..fce2495 100644
--- a/katapult/plugins/catalogs/spellcatalog/spellcatalog.cpp
+++ b/katapult/plugins/catalogs/spellcatalog/spellcatalog.cpp
@@ -52,7 +52,7 @@ SpellCatalog::~SpellCatalog()
void SpellCatalog::queryChanged()
{
- int newtqStatus = 0;
+ int newStatus = 0;
TQString cmd = query();
int origLength = cmd.length();
@@ -67,12 +67,12 @@ void SpellCatalog::queryChanged()
//set status.
//add S_Multiple to make sure katapult doesn't auto-exec and close the window
//add S_Active to make sure katapult doesn't start the hideTimer or clearTimer
- newtqStatus = S_HasResults | S_Multiple | S_Active;
+ newStatus = S_HasResults | S_Multiple | S_Active;
} else {
- newtqStatus = 0;
+ newStatus = 0;
}
}
- settqStatus(newtqStatus);
+ setStatus(newStatus);
}
bool SpellCatalog::accepts(const TQString& str) const
@@ -99,7 +99,7 @@ TQWidget * SpellCatalog::configure()
settings->triggerWordLE->setText(_triggerWord);
connect(settings->triggerWordLE, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(triggerWordChanged(const TQString&)));
- settings->introLabel->setText(i18n("Use with \"%1 myword\"").tqarg(_triggerWord));
+ settings->introLabel->setText(i18n("Use with \"%1 myword\"").arg(_triggerWord));
return settings;
}