~ubuntu-branches/ubuntu/intrepid/kdesdk/intrepid-updates

« back to all changes in this revision

Viewing changes to kate/plugins/helloworld/plugin_katehelloworld.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2008-05-28 10:11:43 UTC
  • mto: This revision was merged to the branch mainline in revision 37.
  • Revision ID: james.westby@ubuntu.com-20080528101143-gzc3styjz1b70zxu
Tags: upstream-4.0.80
ImportĀ upstreamĀ versionĀ 4.0.80

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
#ifndef _PLUGIN_KATE_HELLOWORLD_H_
 
3
#define _PLUGIN_KATE_HELLOWORLD_H_
 
4
 
 
5
#include <kate/mainwindow.h>
 
6
#include <kate/plugin.h>
 
7
#include <kxmlguiclient.h>
 
8
 
 
9
class KatePluginHelloWorld : public Kate::Plugin
 
10
{
 
11
  Q_OBJECT
 
12
 
 
13
  public:
 
14
    explicit KatePluginHelloWorld( QObject* parent = 0, const QStringList& = QStringList() );
 
15
    virtual ~KatePluginHelloWorld();
 
16
 
 
17
    Kate::PluginView *createView( Kate::MainWindow *mainWindow );
 
18
};
 
19
 
 
20
class KatePluginHelloWorldView : public Kate::PluginView, public KXMLGUIClient
 
21
{
 
22
    Q_OBJECT
 
23
 
 
24
  public:
 
25
    KatePluginHelloWorldView( Kate::MainWindow *mainWindow );
 
26
    ~KatePluginHelloWorldView();
 
27
 
 
28
    virtual void readSessionConfig( KConfigBase* config, const QString& groupPrefix );
 
29
    virtual void writeSessionConfig( KConfigBase* config, const QString& groupPrefix );
 
30
 
 
31
  public slots:
 
32
    void slotInsertHello();
 
33
};
 
34
 
 
35
#endif
 
36
 
 
37
// kate: space-indent on; indent-width 2; replace-tabs on;
 
38