libkdepim Library API Documentation

plugin.h

00001 // -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
00022 #ifndef KOMPOSER_PLUGIN_H
00023 #define KOMPOSER_PLUGIN_H
00024 
00025 #include <qobject.h>
00026 #include <kxmlguiclient.h>
00027 
00028 namespace Komposer
00029 {
00030   class Core;
00031 
00032   class Plugin : public QObject,
00033                  virtual public KXMLGUIClient
00034   {
00035     Q_OBJECT
00036   public:
00037     virtual ~Plugin();
00038 
00039   signals:
00040     void statusMessage( const QString& );
00041 
00042   protected slots:
00046     virtual void startedComposing();
00047 
00052     virtual void sendClicked();
00053 
00057     virtual void quitClicked();
00058 
00059     virtual void aboutToUnload();
00060 
00061   protected:
00062     Core* core() const;
00063   protected:
00064     friend class PluginManager;
00065     Plugin( Core* core, QObject* parent, const char* name );
00066 
00067   private:
00068     class Private;
00069     Private* d;
00070   };
00071 
00072 }
00073 
00074 #endif
KDE Logo
This file is part of the documentation for libkdepim Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Aug 2 09:53:36 2007 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003