diff options
Diffstat (limited to 'kate/plugins/insertfile/insertfileplugin.cpp')
-rw-r--r-- | kate/plugins/insertfile/insertfileplugin.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kate/plugins/insertfile/insertfileplugin.cpp b/kate/plugins/insertfile/insertfileplugin.cpp index df8c31cad..2dd2eb5c2 100644 --- a/kate/plugins/insertfile/insertfileplugin.cpp +++ b/kate/plugins/insertfile/insertfileplugin.cpp @@ -35,7 +35,7 @@ #include <kurl.h> #include <tqfile.h> -#include <tqtextstream.h> +#include <textstream.h> K_EXPORT_COMPONENT_FACTORY( ktexteditor_insertfile, KGenericFactory<InsertFilePlugin>( "ktexteditor_insertfile" ) ) @@ -59,9 +59,9 @@ void InsertFilePlugin::addView(KTextEditor::View *view) void InsertFilePlugin::removeView(KTextEditor::View *view) { for (uint z=0; z < m_views.count(); z++) - if (m_views.tqat(z)->parentClient() == view) + if (m_views.at(z)->parentClient() == view) { - InsertFilePluginView *nview = m_views.tqat(z); + InsertFilePluginView *nview = m_views.at(z); m_views.remove (nview); delete nview; } |