22#ifndef _INSERT_FILE_PLUGIN_H_
23#define _INSERT_FILE_PLUGIN_H_
25#include <tdetexteditor/plugin.h>
26#include <tdetexteditor/view.h>
28#include <kxmlguiclient.h>
30#include <jobclasses.h>
33class InsertFilePlugin :
public KTextEditor::Plugin,
public KTextEditor::PluginViewInterface
38 InsertFilePlugin( TQObject *parent = 0,
40 const TQStringList &args = TQStringList() );
41 virtual ~InsertFilePlugin();
43 void addView (KTextEditor::View *view);
44 void removeView (KTextEditor::View *view);
48 TQPtrList<class InsertFilePluginView> m_views;
51class InsertFilePluginView :
public TQObject,
public KXMLGUIClient
55 InsertFilePluginView( KTextEditor::View *view,
const char *name=0 );
56 ~InsertFilePluginView() {};
59 void slotInsertFile();
61 void slotFinished( TDEIO::Job *job );
67 TDEIO::FileCopyJob *_job;