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

« back to all changes in this revision

Viewing changes to plugins/copyright_label/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.13 2004/11/21 00:45:07 timlinux Exp $ */
20
 
#ifndef PLUGIN
21
 
#define PLUGIN
 
19
 /*  $Id: plugin.h,v 1.15 2005/04/27 05:21:14 g_j_m Exp $ */
 
20
#ifndef QGSCOPYRIGHTLABELPLUGIN
 
21
#define QGSCOPYRIGHTLABELPLUGIN
22
22
#include "../qgisplugin.h"
23
23
#include "../../src/qgisapp.h"
24
24
#include <qwidget.h>
31
31
* \brief OpenModeller plugin for QGIS
32
32
*
33
33
*/
34
 
class Plugin:public QObject, public QgisPlugin
 
34
class QgsCopyrightLabelPlugin:public QObject, public QgisPlugin
35
35
{
36
36
  Q_OBJECT public:
37
37
      /**
40
40
       * @param qgis Pointer to the QgisApp object
41
41
       * @param qI Pointer to the QgisIface object.
42
42
       */
43
 
      Plugin(QgisApp * , QgisIface * );
 
43
      QgsCopyrightLabelPlugin(QgisApp * , QgisIface * );
44
44
  //! Destructor
45
 
  virtual ~ Plugin();
 
45
  virtual ~ QgsCopyrightLabelPlugin();
46
46
  void writeEntry(QString theScope, QString theProperty, QVariant theValue);
47
47
  public slots:
48
48
  //! init the gui
85
85
 
86
86
  int pluginType;
87
87
  //! Id of the plugin's menu. Used for unloading
88
 
  int menuIdInt;
89
 
  //! Pointer to our menu
90
 
  QMenuBar *menuBarPointer;
 
88
  int menuId;
91
89
  //! Pionter to QGIS main application object
92
90
  QgisApp *qgisMainWindowPointer;
93
91
  //! Pointer to the QGIS interface object