~ubuntu-branches/ubuntu/quantal/qgis/quantal

« back to all changes in this revision

Viewing changes to plugins/grid_maker/plugin.h

  • Committer: Bazaar Package Importer
  • Author(s): Steve Halasz
  • Date: 2005-11-05 16:04:45 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20051105160445-l0g4isz5bc9yehet
Tags: 0.7.4-1
* New upstream release
* Build GRASS support in qgis-plugin-grass package (Closes: #248649)

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 *   (at your option) any later version.                                   *
17
17
 *                                                                         *
18
18
 ***************************************************************************/
19
 
 /*  $Id: plugin.h,v 1.4 2004/11/12 13:55:17 timlinux Exp $ */
20
 
#ifndef PLUGIN
21
 
#define PLUGIN
 
19
 /*  $Id: plugin.h,v 1.6 2005/04/27 05:21:16 g_j_m Exp $ */
 
20
#ifndef QGSGRIDMAKERPLUGIN
 
21
#define QGSGRIDMAKERPLUGIN
22
22
#include "../qgisplugin.h"
23
23
#include <qwidget.h>
24
24
#include <qgisapp.h>
28
28
* \brief OpenModeller plugin for QGIS
29
29
*
30
30
*/
31
 
class Plugin:public QObject, public QgisPlugin
 
31
class QgsGridMakerPlugin:public QObject, public QgisPlugin
32
32
{
33
33
  Q_OBJECT public:
34
34
      /** 
37
37
       * @param qgis Pointer to the QgisApp object
38
38
       * @param qI Pointer to the QgisIface object. 
39
39
       */
40
 
      Plugin(QgisApp * , QgisIface * );
 
40
    QgsGridMakerPlugin(QgisApp * , QgisIface * );
41
41
  /**
42
42
   * Virtual function to return the name of the plugin. The name will be used when presenting a list 
43
43
   * of installable plugins to the user
56
56
   */
57
57
  virtual int type();
58
58
  //! Destructor
59
 
  virtual ~ Plugin();
 
59
  virtual ~ QgsGridMakerPlugin();
60
60
  public slots:
61
61
  //! init the gui
62
62
  virtual void initGui();
82
82
  //! Plugin type as defined in QgisPlugin::PLUGINTYPE
83
83
  int pluginType;
84
84
  //! Id of the plugin's menu. Used for unloading
85
 
  int menuIdInt;
86
 
  //! Pointer to our menu
87
 
  QMenuBar *menuBarPointer;
 
85
  int menuId;
88
86
  //! Pionter to QGIS main application object
89
87
  QgisApp *qgisMainWindowPointer;
90
88
  //! Pointer to the QGIS interface object