diff options
Diffstat (limited to 'kate/plugins/wordcompletion/docwordcompletion.cpp')
-rw-r--r-- | kate/plugins/wordcompletion/docwordcompletion.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kate/plugins/wordcompletion/docwordcompletion.cpp b/kate/plugins/wordcompletion/docwordcompletion.cpp index 81af51f08..435578d6d 100644 --- a/kate/plugins/wordcompletion/docwordcompletion.cpp +++ b/kate/plugins/wordcompletion/docwordcompletion.cpp @@ -48,7 +48,7 @@ #include <tqdict.h> #include <tqspinbox.h> #include <tqlabel.h> -#include <layout.h> +#include <tqlayout.h> #include <tqhbox.h> #include <tqwhatsthis.h> #include <tqcheckbox.h> @@ -91,9 +91,9 @@ void DocWordCompletionPlugin::addView(KTextEditor::View *view) void DocWordCompletionPlugin::removeView(KTextEditor::View *view) { for (uint z=0; z < m_views.count(); z++) - if (m_views.at(z)->parentClient() == view) + if (m_views.tqat(z)->parentClient() == view) { - DocWordCompletionPluginView *nview = m_views.at(z); + DocWordCompletionPluginView *nview = m_views.tqat(z); m_views.remove (nview); delete nview; } |