diff options
Diffstat (limited to 'kate/plugins/insertfile')
-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 2dd2eb5c2..df8c31cad 100644 --- a/kate/plugins/insertfile/insertfileplugin.cpp +++ b/kate/plugins/insertfile/insertfileplugin.cpp @@ -35,7 +35,7 @@ #include <kurl.h> #include <tqfile.h> -#include <textstream.h> +#include <tqtextstream.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.at(z)->parentClient() == view) + if (m_views.tqat(z)->parentClient() == view) { - InsertFilePluginView *nview = m_views.at(z); + InsertFilePluginView *nview = m_views.tqat(z); m_views.remove (nview); delete nview; } |