You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#ifndef _PLUGIN_KATE_HELLOWORLD_H_
|
|
|
|
#define _PLUGIN_KATE_HELLOWORLD_H_
|
|
|
|
|
|
|
|
#include <kate/application.h>
|
|
|
|
#include <kate/documentmanager.h>
|
|
|
|
#include <kate/document.h>
|
|
|
|
#include <kate/mainwindow.h>
|
|
|
|
#include <kate/plugin.h>
|
|
|
|
#include <kate/view.h>
|
|
|
|
#include <kate/viewmanager.h>
|
|
|
|
|
|
|
|
class KatePluginHelloWorld : public Kate::Plugin, Kate::PluginViewInterface
|
|
|
|
{
|
|
|
|
TQ_OBJECT
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
KatePluginHelloWorld( TQObject* parent = 0, const char* name = 0, const TQStringList& = TQStringList() );
|
|
|
|
virtual ~KatePluginHelloWorld();
|
|
|
|
|
|
|
|
void addView (Kate::MainWindow *win);
|
|
|
|
void removeView (Kate::MainWindow *win);
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
void slotInsertHello();
|
|
|
|
|
|
|
|
private:
|
|
|
|
TQPtrList<class PluginView> m_views;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|