summaryrefslogtreecommitdiffstats
path: root/katapult/plugins/catalogs/spellcatalog
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
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')
-rw-r--r--katapult/plugins/catalogs/spellcatalog/actioncopyspelling.cpp2
-rw-r--r--katapult/plugins/catalogs/spellcatalog/settings.ui2
-rw-r--r--katapult/plugins/catalogs/spellcatalog/spellcatalog.cpp10
-rw-r--r--katapult/plugins/catalogs/spellcatalog/spelling.cpp4
4 files changed, 9 insertions, 9 deletions
diff --git a/katapult/plugins/catalogs/spellcatalog/actioncopyspelling.cpp b/katapult/plugins/catalogs/spellcatalog/actioncopyspelling.cpp
index 51f2068..5b19d69 100644
--- a/katapult/plugins/catalogs/spellcatalog/actioncopyspelling.cpp
+++ b/katapult/plugins/catalogs/spellcatalog/actioncopyspelling.cpp
@@ -26,7 +26,7 @@
#include <kiconloader.h>
#include <klocale.h>
-#include <tqclipboard.h>
+#include <clipboard.h>
#include "spellcatalog.h"
#include "spelling.h"
diff --git a/katapult/plugins/catalogs/spellcatalog/settings.ui b/katapult/plugins/catalogs/spellcatalog/settings.ui
index d1d6fa2..39a01e8 100644
--- a/katapult/plugins/catalogs/spellcatalog/settings.ui
+++ b/katapult/plugins/catalogs/spellcatalog/settings.ui
@@ -50,7 +50,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>150</height>
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;
}
diff --git a/katapult/plugins/catalogs/spellcatalog/spelling.cpp b/katapult/plugins/catalogs/spellcatalog/spelling.cpp
index edadc18..706d03e 100644
--- a/katapult/plugins/catalogs/spellcatalog/spelling.cpp
+++ b/katapult/plugins/catalogs/spellcatalog/spelling.cpp
@@ -26,7 +26,7 @@
#include <kiconloader.h>
#include <kapplication.h>
-#include <tqclipboard.h>
+#include <clipboard.h>
#include "spellcatalog.h"
#include "spelling.h"
@@ -125,7 +125,7 @@ void Spelling::evaluate() const
}
void Spelling::copyToClipboard() const {
- TQClipboard* clipBoard = TQApplication::tqclipboard();
+ TQClipboard* clipBoard = TQApplication::clipboard();
clipBoard->setText(suggestedWords, TQClipboard::Clipboard);
clipBoard->setText(suggestedWords, TQClipboard::Selection);
}