diff options
Diffstat (limited to 'katapult/plugins/catalogs/spellcatalog')
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); } |