~ubuntu-branches/ubuntu/wily/qgis/wily

« back to all changes in this revision

Viewing changes to src/gui/qgspluginmetadata.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Johan Van de Wauw
  • Date: 2010-07-11 20:23:24 UTC
  • mfrom: (3.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100711202324-5ktghxa7hracohmr
Tags: 1.4.0+12730-3ubuntu1
* Merge from Debian unstable (LP: #540941).
* Fix compilation issues with QT 4.7
* Add build-depends on libqt4-webkit-dev 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/***************************************************************************
2
 
                    qgspluginmetadata.cpp  -  Metadata class for
3
 
                    describing a loaded plugin.
4
 
                             -------------------
5
 
    begin                : Fri Feb 6 2004
6
 
    copyright            : (C) 2004 by Gary E.Sherman
7
 
    email                : sherman at mrcc.com
8
 
 ***************************************************************************/
9
 
 
10
 
/***************************************************************************
11
 
 *                                                                         *
12
 
 *   This program is free software; you can redistribute it and/or modify  *
13
 
 *   it under the terms of the GNU General Public License as published by  *
14
 
 *   the Free Software Foundation; either version 2 of the License, or     *
15
 
 *   (at your option) any later version.                                   *
16
 
 *                                                                         *
17
 
 ***************************************************************************/
18
 
 /* $Id: qgspluginmetadata.cpp 4619 2006-01-08 23:18:32Z timlinux $ */
19
 
 
20
 
#include <qstring.h>
21
 
#include "../plugins/qgisplugin.h"
22
 
#include "qgspluginmetadata.h"
23
 
QgsPluginMetadata::QgsPluginMetadata(QString _libraryPath, 
24
 
                                     QString _name,
25
 
                                     QgisPlugin * _plugin):
26
 
        m_name(_name),
27
 
        libraryPath(_libraryPath),
28
 
        m_plugin(_plugin)
29
 
{
30
 
 
31
 
}
32
 
 
33
 
QString QgsPluginMetadata::name()
34
 
{
35
 
  return m_name;
36
 
}
37
 
 
38
 
QString QgsPluginMetadata::library()
39
 
{
40
 
  return libraryPath;
41
 
}
42
 
 
43
 
QgisPlugin *QgsPluginMetadata::plugin()
44
 
{
45
 
  return m_plugin;
46
 
}